sm6250-common: Initial variant handler libinit

* This libinit has been made to commonize device variants props handling

[dereference23: Adapt for Xiaomi SM6250]
Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
Change-Id: Iab68ff451ab1d6e861fb4cda4ef07fad3123ecde
This commit is contained in:
Sebastiano Barezzi
2021-06-23 19:34:32 +02:00
committed by Alexander Winkowski
parent 223d20e8cd
commit 27c7899680
9 changed files with 260 additions and 0 deletions

View File

@ -0,0 +1,23 @@
/*
* Copyright (C) 2021 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef LIBINIT_DALVIK_HEAP_H
#define LIBINIT_DALVIK_HEAP_H
#include <string>
typedef struct dalvik_heap_info {
std::string heapstartsize;
std::string heapgrowthlimit;
std::string heapsize;
std::string heapminfree;
std::string heapmaxfree;
std::string heaptargetutilization;
} dalvik_heap_info_t;
void set_dalvik_heap(void);
#endif // LIBINIT_DALVIK_HEAP_H