diff options
author | Marat Dukhan <marat@fb.com> | 2017-11-27 14:57:02 -0800 |
---|---|---|
committer | Marat Dukhan <marat@fb.com> | 2017-11-27 14:57:02 -0800 |
commit | 7be11405295dec9ea6335808f6a693fe68f94995 (patch) | |
tree | 99588b410eefa11836e5d65a2294b3be0b5ec5a3 | |
parent | 166ce4c078beba4eaf9d4a4f84a29c10196ecc12 (diff) | |
download | cpuinfo-7be11405295dec9ea6335808f6a693fe68f94995.tar.gz |
Huawei Mate 10 mock test
-rw-r--r-- | CMakeLists.txt | 5 | ||||
-rw-r--r-- | jni/Android.mk | 7 | ||||
-rwxr-xr-x | scripts/android-arm64-mock.sh | 2 | ||||
-rwxr-xr-x | scripts/android-armv7-mock.sh | 2 | ||||
-rw-r--r-- | test/cpuinfo/huawei-mate-10.log | 72 | ||||
-rw-r--r-- | test/mock/huawei-mate-10.cc | 605 | ||||
-rw-r--r-- | test/mock/huawei-mate-10.h | 4293 |
7 files changed, 4986 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 54f94ea..006c981 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -330,6 +330,11 @@ IF(CPUINFO_BUILD_MOCK_TESTS) TARGET_LINK_LIBRARIES(huawei-mate-9-test PRIVATE cpuinfo_mock gtest) ADD_TEST(huawei-mate-9-test huawei-mate-9-test) + ADD_EXECUTABLE(huawei-mate-10-test test/mock/huawei-mate-10.cc) + TARGET_INCLUDE_DIRECTORIES(huawei-mate-10-test PRIVATE test/mock) + TARGET_LINK_LIBRARIES(huawei-mate-10-test PRIVATE cpuinfo_mock gtest) + ADD_TEST(huawei-mate-10-test huawei-mate-10-test) + ADD_EXECUTABLE(meizu-pro-6-test test/mock/meizu-pro-6.cc) TARGET_INCLUDE_DIRECTORIES(meizu-pro-6-test PRIVATE test/mock) TARGET_LINK_LIBRARIES(meizu-pro-6-test PRIVATE cpuinfo_mock gtest) diff --git a/jni/Android.mk b/jni/Android.mk index 17a7c0d..bad8c43 100644 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -435,6 +435,13 @@ LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest include $(BUILD_EXECUTABLE) include $(CLEAR_VARS) +LOCAL_MODULE := huawei-mate-10-test +LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/huawei-mate-10.cc +LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock +LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest +include $(BUILD_EXECUTABLE) + +include $(CLEAR_VARS) LOCAL_MODULE := meizu-pro-6-test LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/meizu-pro-6.cc LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock diff --git a/scripts/android-arm64-mock.sh b/scripts/android-arm64-mock.sh index ee72263..d6a1dc2 100755 --- a/scripts/android-arm64-mock.sh +++ b/scripts/android-arm64-mock.sh @@ -12,6 +12,7 @@ adb push libs/arm64-v8a/galaxy-s8-global-test /data/local/tmp/galaxy-s8-global-t adb push libs/arm64-v8a/galaxy-s8-us-test /data/local/tmp/galaxy-s8-us-test adb push libs/arm64-v8a/huawei-mate-8-test /data/local/tmp/huawei-mate-8-test adb push libs/arm64-v8a/huawei-mate-9-test /data/local/tmp/huawei-mate-9-test +adb push libs/arm64-v8a/huawei-mate-10-test /data/local/tmp/huawei-mate-10-test adb push libs/arm64-v8a/huawei-p9-lite-test /data/local/tmp/huawei-p9-lite-test adb push libs/arm64-v8a/meizu-pro-6-test /data/local/tmp/meizu-pro-6-test adb push libs/arm64-v8a/meizu-pro-6s-test /data/local/tmp/meizu-pro-6s-test @@ -37,6 +38,7 @@ adb shell "/data/local/tmp/galaxy-s8-global-test --gtest_color=yes" adb shell "/data/local/tmp/galaxy-s8-us-test --gtest_color=yes" adb shell "/data/local/tmp/huawei-mate-8-test --gtest_color=yes" adb shell "/data/local/tmp/huawei-mate-9-test --gtest_color=yes" +adb shell "/data/local/tmp/huawei-mate-10-test --gtest_color=yes" adb shell "/data/local/tmp/huawei-p9-lite-test --gtest_color=yes" adb shell "/data/local/tmp/meizu-pro-6-test --gtest_color=yes" adb shell "/data/local/tmp/meizu-pro-6s-test --gtest_color=yes" diff --git a/scripts/android-armv7-mock.sh b/scripts/android-armv7-mock.sh index 1a71540..5460ee9 100755 --- a/scripts/android-armv7-mock.sh +++ b/scripts/android-armv7-mock.sh @@ -22,6 +22,7 @@ adb push libs/armeabi-v7a/galaxy-win-duos-test /data/local/tmp/galaxy-win-duos-t adb push libs/armeabi-v7a/huawei-ascend-p7-test /data/local/tmp/huawei-ascend-p7-test adb push libs/armeabi-v7a/huawei-mate-8-test /data/local/tmp/huawei-mate-8-test adb push libs/armeabi-v7a/huawei-mate-9-test /data/local/tmp/huawei-mate-9-test +adb push libs/armeabi-v7a/huawei-mate-10-test /data/local/tmp/huawei-mate-10-test adb push libs/armeabi-v7a/huawei-p9-lite-test /data/local/tmp/huawei-p9-lite-test adb push libs/armeabi-v7a/lenovo-a6600-plus-test /data/local/tmp/lenovo-a6600-plus-test adb push libs/armeabi-v7a/lenovo-vibe-x2-test /data/local/tmp/lenovo-vibe-x2-test @@ -67,6 +68,7 @@ adb shell "/data/local/tmp/galaxy-win-duos-test --gtest_color=yes" adb shell "/data/local/tmp/huawei-ascend-p7-test --gtest_color=yes" adb shell "/data/local/tmp/huawei-mate-8-test --gtest_color=yes" adb shell "/data/local/tmp/huawei-mate-9-test --gtest_color=yes" +adb shell "/data/local/tmp/huawei-mate-10-test --gtest_color=yes" adb shell "/data/local/tmp/huawei-p9-lite-test --gtest_color=yes" adb shell "/data/local/tmp/lenovo-a6600-plus-test --gtest_color=yes" adb shell "/data/local/tmp/lenovo-vibe-x2-test --gtest_color=yes" diff --git a/test/cpuinfo/huawei-mate-10.log b/test/cpuinfo/huawei-mate-10.log new file mode 100644 index 0000000..9869ef2 --- /dev/null +++ b/test/cpuinfo/huawei-mate-10.log @@ -0,0 +1,72 @@ +processor : 0 +BogoMIPS : 3.84 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x0 +CPU part : 0xd03 +CPU revision : 4 + +processor : 1 +BogoMIPS : 3.84 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x0 +CPU part : 0xd03 +CPU revision : 4 + +processor : 2 +BogoMIPS : 3.84 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x0 +CPU part : 0xd03 +CPU revision : 4 + +processor : 3 +BogoMIPS : 3.84 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x0 +CPU part : 0xd03 +CPU revision : 4 + +processor : 4 +BogoMIPS : 3.84 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x0 +CPU part : 0xd09 +CPU revision : 2 + +processor : 5 +BogoMIPS : 3.84 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x0 +CPU part : 0xd09 +CPU revision : 2 + +processor : 6 +BogoMIPS : 3.84 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x0 +CPU part : 0xd09 +CPU revision : 2 + +processor : 7 +BogoMIPS : 3.84 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x0 +CPU part : 0xd09 +CPU revision : 2 + diff --git a/test/mock/huawei-mate-10.cc b/test/mock/huawei-mate-10.cc new file mode 100644 index 0000000..94305d7 --- /dev/null +++ b/test/mock/huawei-mate-10.cc @@ -0,0 +1,605 @@ +#include <gtest/gtest.h> + +#include <cpuinfo.h> +#include <cpuinfo-mock.h> + + +TEST(PROCESSORS, count) { + ASSERT_EQ(8, cpuinfo_get_processors_count()); +} + +TEST(PROCESSORS, non_null) { + ASSERT_TRUE(cpuinfo_get_processors()); +} + +TEST(PROCESSORS, smt_id) { + for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) { + ASSERT_EQ(0, cpuinfo_get_processor(i)->smt_id); + } +} + +TEST(PROCESSORS, core) { + for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) { + ASSERT_EQ(cpuinfo_get_core(i), cpuinfo_get_processor(i)->core); + } +} + +TEST(PROCESSORS, package) { + for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) { + ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_processor(i)->package); + } +} + +TEST(PROCESSORS, linux_id) { + for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) { + switch (i) { + case 0: + case 1: + case 2: + case 3: + ASSERT_EQ(i + 4, cpuinfo_get_processor(i)->linux_id); + break; + case 4: + case 5: + case 6: + case 7: + ASSERT_EQ(i - 4, cpuinfo_get_processor(i)->linux_id); + break; + } + } +} + +TEST(PROCESSORS, l1i) { + for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) { + ASSERT_EQ(cpuinfo_get_l1i_cache(i), cpuinfo_get_processor(i)->cache.l1i); + } +} + +TEST(PROCESSORS, l1d) { + for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) { + ASSERT_EQ(cpuinfo_get_l1d_cache(i), cpuinfo_get_processor(i)->cache.l1d); + } +} + +TEST(PROCESSORS, l2) { + for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) { + switch (i) { + case 0: + case 1: + case 2: + case 3: + ASSERT_EQ(cpuinfo_get_l2_cache(0), cpuinfo_get_processor(i)->cache.l2); + break; + case 4: + case 5: + case 6: + case 7: + ASSERT_EQ(cpuinfo_get_l2_cache(1), cpuinfo_get_processor(i)->cache.l2); + break; + } + } +} + +TEST(PROCESSORS, l3) { + for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) { + ASSERT_FALSE(cpuinfo_get_processor(i)->cache.l3); + } +} + +TEST(PROCESSORS, l4) { + for (uint32_t i = 0; i < cpuinfo_get_processors_count(); i++) { + ASSERT_FALSE(cpuinfo_get_processor(i)->cache.l4); + } +} + +TEST(CORES, count) { + ASSERT_EQ(8, cpuinfo_get_cores_count()); +} + +TEST(CORES, non_null) { + ASSERT_TRUE(cpuinfo_get_cores()); +} + +TEST(CORES, processor_start) { + for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) { + ASSERT_EQ(i, cpuinfo_get_core(i)->processor_start); + } +} + +TEST(CORES, processor_count) { + for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) { + ASSERT_EQ(1, cpuinfo_get_core(i)->processor_count); + } +} + +TEST(CORES, core_id) { + for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) { + ASSERT_EQ(i, cpuinfo_get_core(i)->core_id); + } +} + +TEST(CORES, package) { + for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) { + ASSERT_EQ(cpuinfo_get_package(0), cpuinfo_get_core(i)->package); + } +} + +TEST(CORES, vendor) { + for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) { + ASSERT_EQ(cpuinfo_vendor_arm, cpuinfo_get_core(i)->vendor); + } +} + +TEST(CORES, uarch) { + for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) { + switch (i) { + case 0: + case 1: + case 2: + case 3: + ASSERT_EQ(cpuinfo_uarch_cortex_a73, cpuinfo_get_core(i)->uarch); + break; + case 4: + case 5: + case 6: + case 7: + ASSERT_EQ(cpuinfo_uarch_cortex_a53, cpuinfo_get_core(i)->uarch); + break; + } + } +} + +TEST(CORES, midr) { + for (uint32_t i = 0; i < cpuinfo_get_cores_count(); i++) { + switch (i) { + case 0: + case 1: + case 2: + case 3: + ASSERT_EQ(UINT32_C(0x410FD092), cpuinfo_get_core(i)->midr); + break; + case 4: + case 5: + case 6: + case 7: + ASSERT_EQ(UINT32_C(0x410FD034), cpuinfo_get_core(i)->midr); + break; + } + } +} + +TEST(PACKAGES, count) { + ASSERT_EQ(1, cpuinfo_get_packages_count()); +} + +TEST(PACKAGES, name) { + for (uint32_t i = 0; i < cpuinfo_get_packages_count(); i++) { + ASSERT_EQ("HiSilicon Kirin 970", + std::string(cpuinfo_get_package(i)->name, + strnlen(cpuinfo_get_package(i)->name, CPUINFO_PACKAGE_NAME_MAX))); + } +} + +TEST(PACKAGES, processor_start) { + for (uint32_t i = 0; i < cpuinfo_get_packages_count(); i++) { + ASSERT_EQ(0, cpuinfo_get_package(i)->processor_start); + } +} + +TEST(PACKAGES, processor_count) { + for (uint32_t i = 0; i < cpuinfo_get_packages_count(); i++) { + ASSERT_EQ(8, cpuinfo_get_package(i)->processor_count); + } +} + +TEST(PACKAGES, core_start) { + for (uint32_t i = 0; i < cpuinfo_get_packages_count(); i++) { + ASSERT_EQ(0, cpuinfo_get_package(i)->core_start); + } +} + +TEST(PACKAGES, core_count) { + for (uint32_t i = 0; i < cpuinfo_get_packages_count(); i++) { + ASSERT_EQ(8, cpuinfo_get_package(i)->core_count); + } +} + +TEST(ISA, thumb) { + #if CPUINFO_ARCH_ARM + ASSERT_TRUE(cpuinfo_has_arm_thumb()); + #elif CPUINFO_ARCH_ARM64 + ASSERT_FALSE(cpuinfo_has_arm_thumb()); + #endif +} + +TEST(ISA, thumb2) { + #if CPUINFO_ARCH_ARM + ASSERT_TRUE(cpuinfo_has_arm_thumb2()); + #elif CPUINFO_ARCH_ARM64 + ASSERT_FALSE(cpuinfo_has_arm_thumb2()); + #endif +} + +TEST(ISA, armv5e) { + #if CPUINFO_ARCH_ARM + ASSERT_TRUE(cpuinfo_has_arm_v5e()); + #elif CPUINFO_ARCH_ARM64 + ASSERT_FALSE(cpuinfo_has_arm_v5e()); + #endif +} + +TEST(ISA, armv6) { + #if CPUINFO_ARCH_ARM + ASSERT_TRUE(cpuinfo_has_arm_v6()); + #elif CPUINFO_ARCH_ARM64 + ASSERT_FALSE(cpuinfo_has_arm_v6()); + #endif +} + +TEST(ISA, armv6k) { + #if CPUINFO_ARCH_ARM + ASSERT_TRUE(cpuinfo_has_arm_v6k()); + #elif CPUINFO_ARCH_ARM64 + ASSERT_FALSE(cpuinfo_has_arm_v6k()); + #endif +} + +TEST(ISA, armv7) { + #if CPUINFO_ARCH_ARM + ASSERT_TRUE(cpuinfo_has_arm_v7()); + #elif CPUINFO_ARCH_ARM64 + ASSERT_FALSE(cpuinfo_has_arm_v7()); + #endif +} + +TEST(ISA, armv7mp) { + #if CPUINFO_ARCH_ARM + ASSERT_TRUE(cpuinfo_has_arm_v7mp()); + #elif CPUINFO_ARCH_ARM64 + ASSERT_FALSE(cpuinfo_has_arm_v7mp()); + #endif +} + +TEST(ISA, idiv) { + ASSERT_TRUE(cpuinfo_has_arm_idiv()); +} + +TEST(ISA, vfpv2) { + ASSERT_FALSE(cpuinfo_has_arm_vfpv2()); +} + +TEST(ISA, vfpv3) { + ASSERT_TRUE(cpuinfo_has_arm_vfpv3()); +} + +TEST(ISA, vfpv3_d32) { + ASSERT_TRUE(cpuinfo_has_arm_vfpv3_d32()); +} + +TEST(ISA, vfpv3_fp16) { + ASSERT_TRUE(cpuinfo_has_arm_vfpv3_fp16()); +} + +TEST(ISA, vfpv3_fp16_d32) { + ASSERT_TRUE(cpuinfo_has_arm_vfpv3_fp16_d32()); +} + +TEST(ISA, vfpv4) { + ASSERT_TRUE(cpuinfo_has_arm_vfpv4()); +} + +TEST(ISA, vfpv4_d32) { + ASSERT_TRUE(cpuinfo_has_arm_vfpv4_d32()); +} + +TEST(ISA, wmmx) { + ASSERT_FALSE(cpuinfo_has_arm_wmmx()); +} + +TEST(ISA, wmmx2) { + ASSERT_FALSE(cpuinfo_has_arm_wmmx2()); +} + +TEST(ISA, neon) { + ASSERT_TRUE(cpuinfo_has_arm_neon()); +} + +TEST(ISA, neon_fp16) { + ASSERT_TRUE(cpuinfo_has_arm_neon_fp16()); +} + +TEST(ISA, neon_fma) { + ASSERT_TRUE(cpuinfo_has_arm_neon_fma()); +} + +TEST(ISA, atomics) { + ASSERT_FALSE(cpuinfo_has_arm_atomics()); +} + +TEST(ISA, neon_rdm) { + ASSERT_FALSE(cpuinfo_has_arm_neon_rdm()); +} + +TEST(ISA, fp16_arith) { + ASSERT_FALSE(cpuinfo_has_arm_fp16_arith()); +} + +TEST(ISA, jscvt) { + ASSERT_FALSE(cpuinfo_has_arm_jscvt()); +} + +TEST(ISA, fcma) { + ASSERT_FALSE(cpuinfo_has_arm_fcma()); +} + +TEST(ISA, aes) { + ASSERT_TRUE(cpuinfo_has_arm_aes()); +} + +TEST(ISA, sha1) { + ASSERT_TRUE(cpuinfo_has_arm_sha1()); +} + +TEST(ISA, sha2) { + ASSERT_TRUE(cpuinfo_has_arm_sha2()); +} + +TEST(ISA, pmull) { + ASSERT_TRUE(cpuinfo_has_arm_pmull()); +} + +TEST(ISA, crc32) { + ASSERT_TRUE(cpuinfo_has_arm_crc32()); +} + +TEST(L1I, count) { + ASSERT_EQ(8, cpuinfo_get_l1i_caches_count()); +} + +TEST(L1I, non_null) { + ASSERT_TRUE(cpuinfo_get_l1i_caches()); +} + +TEST(L1I, size) { + for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) { + switch (i) { + case 0: + case 1: + case 2: + case 3: + ASSERT_EQ(64 * 1024, cpuinfo_get_l1i_cache(i)->size); + break; + case 4: + case 5: + case 6: + case 7: + ASSERT_EQ(32 * 1024, cpuinfo_get_l1i_cache(i)->size); + break; + } + } +} + +TEST(L1I, associativity) { + for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) { + switch (i) { + case 0: + case 1: + case 2: + case 3: + ASSERT_EQ(4, cpuinfo_get_l1i_cache(i)->associativity); + break; + case 4: + case 5: + case 6: + case 7: + ASSERT_EQ(2, cpuinfo_get_l1i_cache(i)->associativity); + break; + } + } +} + +TEST(L1I, sets) { + for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) { + ASSERT_EQ(cpuinfo_get_l1i_cache(i)->size, + cpuinfo_get_l1i_cache(i)->sets * cpuinfo_get_l1i_cache(i)->line_size * cpuinfo_get_l1i_cache(i)->partitions * cpuinfo_get_l1i_cache(i)->associativity); + } +} + +TEST(L1I, partitions) { + for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) { + ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->partitions); + } +} + +TEST(L1I, line_size) { + for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) { + ASSERT_EQ(64, cpuinfo_get_l1i_cache(i)->line_size); + } +} + +TEST(L1I, flags) { + for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) { + ASSERT_EQ(0, cpuinfo_get_l1i_cache(i)->flags); + } +} + +TEST(L1I, processors) { + for (uint32_t i = 0; i < cpuinfo_get_l1i_caches_count(); i++) { + ASSERT_EQ(i, cpuinfo_get_l1i_cache(i)->processor_start); + ASSERT_EQ(1, cpuinfo_get_l1i_cache(i)->processor_count); + } +} + +TEST(L1D, count) { + ASSERT_EQ(8, cpuinfo_get_l1d_caches_count()); +} + +TEST(L1D, non_null) { + ASSERT_TRUE(cpuinfo_get_l1d_caches()); +} + +TEST(L1D, size) { + for (uint32_t i = 0; i < cpuinfo_get_l1d_caches_count(); i++) { + switch (i) { + case 0: + case 1: + case 2: + case 3: + ASSERT_EQ(64 * 1024, cpuinfo_get_l1d_cache(i)->size); + break; + case 4: + case 5: + case 6: + case 7: + ASSERT_EQ(32 * 1024, cpuinfo_get_l1d_cache(i)->size); + break; + } + } +} + +TEST(L1D, associativity) { + for (uint32_t i = 0; i < cpuinfo_get_l1d_caches_count(); i++) { + switch (i) { + case 0: + case 1: + case 2: + case 3: + ASSERT_EQ(16, cpuinfo_get_l1d_cache(i)->associativity); + break; + case 4: + case 5: + case 6: + case 7: + ASSERT_EQ(4, cpuinfo_get_l1d_cache(i)->associativity); + break; + } + } +} + +TEST(L1D, sets) { + for (uint32_t i = 0; i < cpuinfo_get_l1d_caches_count(); i++) { + ASSERT_EQ(cpuinfo_get_l1d_cache(i)->size, + cpuinfo_get_l1d_cache(i)->sets * cpuinfo_get_l1d_cache(i)->line_size * cpuinfo_get_l1d_cache(i)->partitions * cpuinfo_get_l1d_cache(i)->associativity); + } +} + +TEST(L1D, partitions) { + for (uint32_t i = 0; i < cpuinfo_get_l1d_caches_count(); i++) { + ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->partitions); + } +} + +TEST(L1D, line_size) { + for (uint32_t i = 0; i < cpuinfo_get_l1d_caches_count(); i++) { + ASSERT_EQ(64, cpuinfo_get_l1d_cache(i)->line_size); + } +} + +TEST(L1D, flags) { + for (uint32_t i = 0; i < cpuinfo_get_l1d_caches_count(); i++) { + ASSERT_EQ(0, cpuinfo_get_l1d_cache(i)->flags); + } +} + +TEST(L1D, processors) { + for (uint32_t i = 0; i < cpuinfo_get_l1d_caches_count(); i++) { + ASSERT_EQ(i, cpuinfo_get_l1d_cache(i)->processor_start); + ASSERT_EQ(1, cpuinfo_get_l1d_cache(i)->processor_count); + } +} + +TEST(L2, count) { + ASSERT_EQ(2, cpuinfo_get_l2_caches_count()); +} + +TEST(L2, non_null) { + ASSERT_TRUE(cpuinfo_get_l2_caches()); +} + +TEST(L2, size) { + for (uint32_t i = 0; i < cpuinfo_get_l2_caches_count(); i++) { + switch (i) { + case 0: + ASSERT_EQ(2 * 1024 * 1024, cpuinfo_get_l2_cache(i)->size); + break; + case 1: + ASSERT_EQ(1024 * 1024, cpuinfo_get_l2_cache(i)->size); + break; + } + } +} + +TEST(L2, associativity) { + for (uint32_t i = 0; i < cpuinfo_get_l2_caches_count(); i++) { + ASSERT_EQ(16, cpuinfo_get_l2_cache(i)->associativity); + } +} + +TEST(L2, sets) { + for (uint32_t i = 0; i < cpuinfo_get_l2_caches_count(); i++) { + ASSERT_EQ(cpuinfo_get_l2_cache(i)->size, + cpuinfo_get_l2_cache(i)->sets * cpuinfo_get_l2_cache(i)->line_size * cpuinfo_get_l2_cache(i)->partitions * cpuinfo_get_l2_cache(i)->associativity); + } +} + +TEST(L2, partitions) { + for (uint32_t i = 0; i < cpuinfo_get_l2_caches_count(); i++) { + ASSERT_EQ(1, cpuinfo_get_l2_cache(i)->partitions); + } +} + +TEST(L2, line_size) { + for (uint32_t i = 0; i < cpuinfo_get_l2_caches_count(); i++) { + ASSERT_EQ(64, cpuinfo_get_l2_cache(i)->line_size); + } +} + +TEST(L2, flags) { + for (uint32_t i = 0; i < cpuinfo_get_l2_caches_count(); i++) { + switch (i) { + case 0: + ASSERT_EQ(CPUINFO_CACHE_INCLUSIVE, cpuinfo_get_l2_cache(i)->flags); + break; + case 1: + ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->flags); + break; + } + } +} + +TEST(L2, processors) { + for (uint32_t i = 0; i < cpuinfo_get_l2_caches_count(); i++) { + switch (i) { + case 0: + ASSERT_EQ(0, cpuinfo_get_l2_cache(i)->processor_start); + ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); + break; + case 1: + ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_start); + ASSERT_EQ(4, cpuinfo_get_l2_cache(i)->processor_count); + break; + } + } +} + +TEST(L3, none) { + ASSERT_EQ(0, cpuinfo_get_l3_caches_count()); + ASSERT_FALSE(cpuinfo_get_l3_caches()); +} + +TEST(L4, none) { + ASSERT_EQ(0, cpuinfo_get_l4_caches_count()); + ASSERT_FALSE(cpuinfo_get_l4_caches()); +} + +#include <huawei-mate-10.h> + +int main(int argc, char* argv[]) { + cpuinfo_mock_filesystem(filesystem); +#ifdef __ANDROID__ + cpuinfo_mock_android_properties(properties); +#endif + cpuinfo_initialize(); + ::testing::InitGoogleTest(&argc, argv); + return RUN_ALL_TESTS(); +} diff --git a/test/mock/huawei-mate-10.h b/test/mock/huawei-mate-10.h new file mode 100644 index 0000000..b84ad2b --- /dev/null +++ b/test/mock/huawei-mate-10.h @@ -0,0 +1,4293 @@ +struct cpuinfo_mock_file filesystem[] = { + { + .path = "/proc/cpuinfo", + .size = 1440, + .content = + "processor\t: 0\n" + "BogoMIPS\t: 3.84\n" + "Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n" + "CPU implementer\t: 0x41\n" + "CPU architecture: 8\n" + "CPU variant\t: 0x0\n" + "CPU part\t: 0xd03\n" + "CPU revision\t: 4\n" + "\n" + "processor\t: 1\n" + "BogoMIPS\t: 3.84\n" + "Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n" + "CPU implementer\t: 0x41\n" + "CPU architecture: 8\n" + "CPU variant\t: 0x0\n" + "CPU part\t: 0xd03\n" + "CPU revision\t: 4\n" + "\n" + "processor\t: 2\n" + "BogoMIPS\t: 3.84\n" + "Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n" + "CPU implementer\t: 0x41\n" + "CPU architecture: 8\n" + "CPU variant\t: 0x0\n" + "CPU part\t: 0xd03\n" + "CPU revision\t: 4\n" + "\n" + "processor\t: 3\n" + "BogoMIPS\t: 3.84\n" + "Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n" + "CPU implementer\t: 0x41\n" + "CPU architecture: 8\n" + "CPU variant\t: 0x0\n" + "CPU part\t: 0xd03\n" + "CPU revision\t: 4\n" + "\n" + "processor\t: 4\n" + "BogoMIPS\t: 3.84\n" + "Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n" + "CPU implementer\t: 0x41\n" + "CPU architecture: 8\n" + "CPU variant\t: 0x0\n" + "CPU part\t: 0xd09\n" + "CPU revision\t: 2\n" + "\n" + "processor\t: 5\n" + "BogoMIPS\t: 3.84\n" + "Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n" + "CPU implementer\t: 0x41\n" + "CPU architecture: 8\n" + "CPU variant\t: 0x0\n" + "CPU part\t: 0xd09\n" + "CPU revision\t: 2\n" + "\n" + "processor\t: 6\n" + "BogoMIPS\t: 3.84\n" + "Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n" + "CPU implementer\t: 0x41\n" + "CPU architecture: 8\n" + "CPU variant\t: 0x0\n" + "CPU part\t: 0xd09\n" + "CPU revision\t: 2\n" + "\n" + "processor\t: 7\n" + "BogoMIPS\t: 3.84\n" + "Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n" + "CPU implementer\t: 0x41\n" + "CPU architecture: 8\n" + "CPU variant\t: 0x0\n" + "CPU part\t: 0xd09\n" + "CPU revision\t: 2\n" + "\n", + }, + { + .path = "/sys/devices/system/cpu/kernel_max", + .size = 2, + .content = "7\n", + }, + { + .path = "/sys/devices/system/cpu/possible", + .size = 4, + .content = "0-7\n", + }, + { + .path = "/sys/devices/system/cpu/present", + .size = 4, + .content = "0-7\n", + }, + { + .path = "/sys/devices/system/cpu/online", + .size = 4, + .content = "0-7\n", + }, + { + .path = "/sys/devices/system/cpu/offline", + .size = 1, + .content = "\n", + }, + { + .path = "/sys/devices/system/cpu/modalias", + .size = 66, + .content = "cpu:type:aarch64:feature:,0000,0001,0002,0003,0004,0005,0006,0007\n", + }, + { + .path = "/sys/devices/system/cpu/cpuidle/current_driver", + .size = 25, + .content = "hisi_little_cluster_idle\n", + }, + { + .path = "/sys/devices/system/cpu/cpuidle/current_governor_ro", + .size = 5, + .content = "menu\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpuidle/driver/name", + .size = 25, + .content = "hisi_little_cluster_idle\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpufreq/affected_cpus", + .size = 8, + .content = "0 1 2 3\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", + .size = 8, + .content = "1844000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq", + .size = 7, + .content = "509000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency", + .size = 8, + .content = "2000000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpufreq/related_cpus", + .size = 8, + .content = "0 1 2 3\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies", + .size = 56, + .content = "509000 1018000 1210000 1402000 1556000 1690000 1844000 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors", + .size = 67, + .content = "interactive conservative ondemand userspace powersave performance \n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq", + .size = 7, + .content = "509000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver", + .size = 11, + .content = "cpufreq-dt\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor", + .size = 12, + .content = "interactive\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq", + .size = 8, + .content = "1844000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq", + .size = 7, + .content = "509000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state", + .size = 92, + .content = + "509000 56221\n" + "1018000 5261\n" + "1210000 1234\n" + "1402000 4484\n" + "1556000 1805\n" + "1690000 3159\n" + "1844000 16970\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpufreq/stats/total_trans", + .size = 5, + .content = "1905\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/cpufreq/stats/trans_table", + .size = 673, + .content = + " From : To\n" + " : 509000 1018000 1210000 1402000 1556000 1690000 1844000 \n" + " 509000: 0 151 0 214 1 2 0 \n" + " 1018000: 86 0 81 154 0 5 0 \n" + " 1210000: 14 37 0 68 0 0 0 \n" + " 1402000: 123 52 2 0 129 157 0 \n" + " 1556000: 23 22 12 9 0 33 66 \n" + " 1690000: 48 22 9 4 7 0 154 \n" + " 1844000: 75 42 15 14 28 46 0 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/topology/core_id", + .size = 2, + .content = "0\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/topology/core_siblings", + .size = 3, + .content = "0f\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/topology/core_siblings_list", + .size = 4, + .content = "0-3\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/topology/physical_package_id", + .size = 2, + .content = "0\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/topology/thread_siblings", + .size = 3, + .content = "01\n", + }, + { + .path = "/sys/devices/system/cpu/cpu0/topology/thread_siblings_list", + .size = 2, + .content = "0\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpuidle/driver/name", + .size = 25, + .content = "hisi_little_cluster_idle\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpufreq/affected_cpus", + .size = 8, + .content = "0 1 2 3\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq", + .size = 8, + .content = "1844000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq", + .size = 7, + .content = "509000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_transition_latency", + .size = 8, + .content = "2000000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpufreq/related_cpus", + .size = 8, + .content = "0 1 2 3\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies", + .size = 56, + .content = "509000 1018000 1210000 1402000 1556000 1690000 1844000 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors", + .size = 67, + .content = "interactive conservative ondemand userspace powersave performance \n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq", + .size = 7, + .content = "509000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver", + .size = 11, + .content = "cpufreq-dt\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor", + .size = 12, + .content = "interactive\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq", + .size = 8, + .content = "1844000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq", + .size = 7, + .content = "509000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpufreq/stats/time_in_state", + .size = 92, + .content = + "509000 56410\n" + "1018000 5261\n" + "1210000 1234\n" + "1402000 4484\n" + "1556000 1805\n" + "1690000 3159\n" + "1844000 16970\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpufreq/stats/total_trans", + .size = 5, + .content = "1905\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/cpufreq/stats/trans_table", + .size = 673, + .content = + " From : To\n" + " : 509000 1018000 1210000 1402000 1556000 1690000 1844000 \n" + " 509000: 0 151 0 214 1 2 0 \n" + " 1018000: 86 0 81 154 0 5 0 \n" + " 1210000: 14 37 0 68 0 0 0 \n" + " 1402000: 123 52 2 0 129 157 0 \n" + " 1556000: 23 22 12 9 0 33 66 \n" + " 1690000: 48 22 9 4 7 0 154 \n" + " 1844000: 75 42 15 14 28 46 0 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/topology/core_id", + .size = 2, + .content = "1\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/topology/core_siblings", + .size = 3, + .content = "0f\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/topology/core_siblings_list", + .size = 4, + .content = "0-3\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/topology/physical_package_id", + .size = 2, + .content = "0\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/topology/thread_siblings", + .size = 3, + .content = "02\n", + }, + { + .path = "/sys/devices/system/cpu/cpu1/topology/thread_siblings_list", + .size = 2, + .content = "1\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpuidle/driver/name", + .size = 25, + .content = "hisi_little_cluster_idle\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpufreq/affected_cpus", + .size = 8, + .content = "0 1 2 3\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_max_freq", + .size = 8, + .content = "1844000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_min_freq", + .size = 7, + .content = "509000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_transition_latency", + .size = 8, + .content = "2000000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpufreq/related_cpus", + .size = 8, + .content = "0 1 2 3\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies", + .size = 56, + .content = "509000 1018000 1210000 1402000 1556000 1690000 1844000 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors", + .size = 67, + .content = "interactive conservative ondemand userspace powersave performance \n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpufreq/scaling_cur_freq", + .size = 7, + .content = "509000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver", + .size = 11, + .content = "cpufreq-dt\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor", + .size = 12, + .content = "interactive\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq", + .size = 8, + .content = "1844000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq", + .size = 7, + .content = "509000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpufreq/stats/time_in_state", + .size = 92, + .content = + "509000 56593\n" + "1018000 5261\n" + "1210000 1234\n" + "1402000 4484\n" + "1556000 1805\n" + "1690000 3159\n" + "1844000 16970\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpufreq/stats/total_trans", + .size = 5, + .content = "1905\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/cpufreq/stats/trans_table", + .size = 673, + .content = + " From : To\n" + " : 509000 1018000 1210000 1402000 1556000 1690000 1844000 \n" + " 509000: 0 151 0 214 1 2 0 \n" + " 1018000: 86 0 81 154 0 5 0 \n" + " 1210000: 14 37 0 68 0 0 0 \n" + " 1402000: 123 52 2 0 129 157 0 \n" + " 1556000: 23 22 12 9 0 33 66 \n" + " 1690000: 48 22 9 4 7 0 154 \n" + " 1844000: 75 42 15 14 28 46 0 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/topology/core_id", + .size = 2, + .content = "2\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/topology/core_siblings", + .size = 3, + .content = "0f\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/topology/core_siblings_list", + .size = 4, + .content = "0-3\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/topology/physical_package_id", + .size = 2, + .content = "0\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/topology/thread_siblings", + .size = 3, + .content = "04\n", + }, + { + .path = "/sys/devices/system/cpu/cpu2/topology/thread_siblings_list", + .size = 2, + .content = "2\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpuidle/driver/name", + .size = 25, + .content = "hisi_little_cluster_idle\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpufreq/affected_cpus", + .size = 8, + .content = "0 1 2 3\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_max_freq", + .size = 8, + .content = "1844000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_min_freq", + .size = 7, + .content = "509000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_transition_latency", + .size = 8, + .content = "2000000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpufreq/related_cpus", + .size = 8, + .content = "0 1 2 3\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies", + .size = 56, + .content = "509000 1018000 1210000 1402000 1556000 1690000 1844000 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors", + .size = 67, + .content = "interactive conservative ondemand userspace powersave performance \n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpufreq/scaling_cur_freq", + .size = 7, + .content = "509000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver", + .size = 11, + .content = "cpufreq-dt\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor", + .size = 12, + .content = "interactive\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq", + .size = 8, + .content = "1844000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq", + .size = 7, + .content = "509000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpufreq/stats/time_in_state", + .size = 92, + .content = + "509000 56779\n" + "1018000 5261\n" + "1210000 1234\n" + "1402000 4484\n" + "1556000 1805\n" + "1690000 3159\n" + "1844000 16970\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpufreq/stats/total_trans", + .size = 5, + .content = "1905\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/cpufreq/stats/trans_table", + .size = 673, + .content = + " From : To\n" + " : 509000 1018000 1210000 1402000 1556000 1690000 1844000 \n" + " 509000: 0 151 0 214 1 2 0 \n" + " 1018000: 86 0 81 154 0 5 0 \n" + " 1210000: 14 37 0 68 0 0 0 \n" + " 1402000: 123 52 2 0 129 157 0 \n" + " 1556000: 23 22 12 9 0 33 66 \n" + " 1690000: 48 22 9 4 7 0 154 \n" + " 1844000: 75 42 15 14 28 46 0 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/topology/core_id", + .size = 2, + .content = "3\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/topology/core_siblings", + .size = 3, + .content = "0f\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/topology/core_siblings_list", + .size = 4, + .content = "0-3\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/topology/physical_package_id", + .size = 2, + .content = "0\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/topology/thread_siblings", + .size = 3, + .content = "08\n", + }, + { + .path = "/sys/devices/system/cpu/cpu3/topology/thread_siblings_list", + .size = 2, + .content = "3\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpuidle/driver/name", + .size = 22, + .content = "hisi_big_cluster_idle\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpufreq/affected_cpus", + .size = 8, + .content = "4 5 6 7\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_max_freq", + .size = 8, + .content = "2362000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_min_freq", + .size = 7, + .content = "682000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_transition_latency", + .size = 8, + .content = "2000000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpufreq/related_cpus", + .size = 8, + .content = "4 5 6 7\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_frequencies", + .size = 72, + .content = "682000 1018000 1210000 1364000 1498000 1652000 1863000 2093000 2362000 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_governors", + .size = 67, + .content = "interactive conservative ondemand userspace powersave performance \n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpufreq/scaling_cur_freq", + .size = 7, + .content = "682000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver", + .size = 11, + .content = "cpufreq-dt\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor", + .size = 12, + .content = "interactive\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq", + .size = 8, + .content = "2362000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq", + .size = 7, + .content = "682000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpufreq/stats/time_in_state", + .size = 114, + .content = + "682000 73909\n" + "1018000 861\n" + "1210000 181\n" + "1364000 1871\n" + "1498000 3157\n" + "1652000 986\n" + "1863000 1590\n" + "2093000 1484\n" + "2362000 5836\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpufreq/stats/total_trans", + .size = 5, + .content = "1149\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/cpufreq/stats/trans_table", + .size = 1037, + .content = + " From : To\n" + " : 682000 1018000 1210000 1364000 1498000 1652000 1863000 2093000 2362000 \n" + " 682000: 0 45 0 175 48 0 3 15 5 \n" + " 1018000: 27 0 17 30 0 0 1 1 0 \n" + " 1210000: 6 1 0 17 0 0 0 0 0 \n" + " 1364000: 98 7 0 0 42 74 0 1 4 \n" + " 1498000: 51 7 1 2 0 23 22 0 0 \n" + " 1652000: 22 8 3 2 7 0 69 2 0 \n" + " 1863000: 24 1 1 0 4 6 0 76 0 \n" + " 2093000: 28 2 0 0 1 5 8 0 74 \n" + " 2362000: 36 5 2 0 4 5 9 22 0 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/topology/core_id", + .size = 2, + .content = "0\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/topology/core_siblings", + .size = 3, + .content = "f0\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/topology/core_siblings_list", + .size = 4, + .content = "4-7\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/topology/physical_package_id", + .size = 2, + .content = "1\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/topology/thread_siblings", + .size = 3, + .content = "10\n", + }, + { + .path = "/sys/devices/system/cpu/cpu4/topology/thread_siblings_list", + .size = 2, + .content = "4\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpuidle/driver/name", + .size = 22, + .content = "hisi_big_cluster_idle\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpufreq/affected_cpus", + .size = 8, + .content = "4 5 6 7\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpufreq/cpuinfo_max_freq", + .size = 8, + .content = "2362000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpufreq/cpuinfo_min_freq", + .size = 7, + .content = "682000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpufreq/cpuinfo_transition_latency", + .size = 8, + .content = "2000000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpufreq/related_cpus", + .size = 8, + .content = "4 5 6 7\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_frequencies", + .size = 72, + .content = "682000 1018000 1210000 1364000 1498000 1652000 1863000 2093000 2362000 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_governors", + .size = 67, + .content = "interactive conservative ondemand userspace powersave performance \n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpufreq/scaling_cur_freq", + .size = 7, + .content = "682000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver", + .size = 11, + .content = "cpufreq-dt\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor", + .size = 12, + .content = "interactive\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq", + .size = 8, + .content = "2362000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq", + .size = 7, + .content = "682000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpufreq/stats/time_in_state", + .size = 114, + .content = + "682000 74097\n" + "1018000 861\n" + "1210000 181\n" + "1364000 1871\n" + "1498000 3157\n" + "1652000 986\n" + "1863000 1590\n" + "2093000 1484\n" + "2362000 5836\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpufreq/stats/total_trans", + .size = 5, + .content = "1149\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/cpufreq/stats/trans_table", + .size = 1037, + .content = + " From : To\n" + " : 682000 1018000 1210000 1364000 1498000 1652000 1863000 2093000 2362000 \n" + " 682000: 0 45 0 175 48 0 3 15 5 \n" + " 1018000: 27 0 17 30 0 0 1 1 0 \n" + " 1210000: 6 1 0 17 0 0 0 0 0 \n" + " 1364000: 98 7 0 0 42 74 0 1 4 \n" + " 1498000: 51 7 1 2 0 23 22 0 0 \n" + " 1652000: 22 8 3 2 7 0 69 2 0 \n" + " 1863000: 24 1 1 0 4 6 0 76 0 \n" + " 2093000: 28 2 0 0 1 5 8 0 74 \n" + " 2362000: 36 5 2 0 4 5 9 22 0 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/topology/core_id", + .size = 2, + .content = "1\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/topology/core_siblings", + .size = 3, + .content = "f0\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/topology/core_siblings_list", + .size = 4, + .content = "4-7\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/topology/physical_package_id", + .size = 2, + .content = "1\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/topology/thread_siblings", + .size = 3, + .content = "20\n", + }, + { + .path = "/sys/devices/system/cpu/cpu5/topology/thread_siblings_list", + .size = 2, + .content = "5\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpuidle/driver/name", + .size = 22, + .content = "hisi_big_cluster_idle\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpufreq/affected_cpus", + .size = 8, + .content = "4 5 6 7\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpufreq/cpuinfo_max_freq", + .size = 8, + .content = "2362000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpufreq/cpuinfo_min_freq", + .size = 7, + .content = "682000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpufreq/cpuinfo_transition_latency", + .size = 8, + .content = "2000000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpufreq/related_cpus", + .size = 8, + .content = "4 5 6 7\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_frequencies", + .size = 72, + .content = "682000 1018000 1210000 1364000 1498000 1652000 1863000 2093000 2362000 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_governors", + .size = 67, + .content = "interactive conservative ondemand userspace powersave performance \n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpufreq/scaling_cur_freq", + .size = 7, + .content = "682000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver", + .size = 11, + .content = "cpufreq-dt\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor", + .size = 12, + .content = "interactive\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq", + .size = 8, + .content = "2362000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq", + .size = 7, + .content = "682000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpufreq/stats/time_in_state", + .size = 114, + .content = + "682000 74284\n" + "1018000 861\n" + "1210000 181\n" + "1364000 1871\n" + "1498000 3157\n" + "1652000 986\n" + "1863000 1590\n" + "2093000 1484\n" + "2362000 5836\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpufreq/stats/total_trans", + .size = 5, + .content = "1149\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/cpufreq/stats/trans_table", + .size = 1037, + .content = + " From : To\n" + " : 682000 1018000 1210000 1364000 1498000 1652000 1863000 2093000 2362000 \n" + " 682000: 0 45 0 175 48 0 3 15 5 \n" + " 1018000: 27 0 17 30 0 0 1 1 0 \n" + " 1210000: 6 1 0 17 0 0 0 0 0 \n" + " 1364000: 98 7 0 0 42 74 0 1 4 \n" + " 1498000: 51 7 1 2 0 23 22 0 0 \n" + " 1652000: 22 8 3 2 7 0 69 2 0 \n" + " 1863000: 24 1 1 0 4 6 0 76 0 \n" + " 2093000: 28 2 0 0 1 5 8 0 74 \n" + " 2362000: 36 5 2 0 4 5 9 22 0 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/topology/core_id", + .size = 2, + .content = "2\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/topology/core_siblings", + .size = 3, + .content = "f0\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/topology/core_siblings_list", + .size = 4, + .content = "4-7\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/topology/physical_package_id", + .size = 2, + .content = "1\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/topology/thread_siblings", + .size = 3, + .content = "40\n", + }, + { + .path = "/sys/devices/system/cpu/cpu6/topology/thread_siblings_list", + .size = 2, + .content = "6\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpuidle/driver/name", + .size = 22, + .content = "hisi_big_cluster_idle\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpufreq/affected_cpus", + .size = 8, + .content = "4 5 6 7\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpufreq/cpuinfo_max_freq", + .size = 8, + .content = "2362000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpufreq/cpuinfo_min_freq", + .size = 7, + .content = "682000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpufreq/cpuinfo_transition_latency", + .size = 8, + .content = "2000000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpufreq/related_cpus", + .size = 8, + .content = "4 5 6 7\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_frequencies", + .size = 72, + .content = "682000 1018000 1210000 1364000 1498000 1652000 1863000 2093000 2362000 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_governors", + .size = 67, + .content = "interactive conservative ondemand userspace powersave performance \n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpufreq/scaling_cur_freq", + .size = 7, + .content = "682000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver", + .size = 11, + .content = "cpufreq-dt\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor", + .size = 12, + .content = "interactive\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq", + .size = 8, + .content = "2362000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq", + .size = 7, + .content = "682000\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpufreq/stats/time_in_state", + .size = 114, + .content = + "682000 74472\n" + "1018000 861\n" + "1210000 181\n" + "1364000 1871\n" + "1498000 3157\n" + "1652000 986\n" + "1863000 1590\n" + "2093000 1484\n" + "2362000 5836\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpufreq/stats/total_trans", + .size = 5, + .content = "1149\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/cpufreq/stats/trans_table", + .size = 1037, + .content = + " From : To\n" + " : 682000 1018000 1210000 1364000 1498000 1652000 1863000 2093000 2362000 \n" + " 682000: 0 45 0 175 48 0 3 15 5 \n" + " 1018000: 27 0 17 30 0 0 1 1 0 \n" + " 1210000: 6 1 0 17 0 0 0 0 0 \n" + " 1364000: 98 7 0 0 42 74 0 1 4 \n" + " 1498000: 51 7 1 2 0 23 22 0 0 \n" + " 1652000: 22 8 3 2 7 0 69 2 0 \n" + " 1863000: 24 1 1 0 4 6 0 76 0 \n" + " 2093000: 28 2 0 0 1 5 8 0 74 \n" + " 2362000: 36 5 2 0 4 5 9 22 0 \n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/topology/core_id", + .size = 2, + .content = "3\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/topology/core_siblings", + .size = 3, + .content = "f0\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/topology/core_siblings_list", + .size = 4, + .content = "4-7\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/topology/physical_package_id", + .size = 2, + .content = "1\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/topology/thread_siblings", + .size = 3, + .content = "80\n", + }, + { + .path = "/sys/devices/system/cpu/cpu7/topology/thread_siblings_list", + .size = 2, + .content = "7\n", + }, + { NULL }, +}; +#ifdef __ANDROID__ +struct cpuinfo_mock_property properties[] = { + { + .key = "audio.high.resolution.enable", + .value = "true", + }, + { + .key = "bastet.service.enable", + .value = "true", + }, + { + .key = "bg_fsck.pgid", + .value = "375", + }, + { + .key = "bt.dpbap.enable", + .value = "1", + }, + { + .key = "bt.max.hfpclient.connections", + .value = "2", + }, + { + .key = "build.hisi_perf_opt", + .value = "true", + }, + { + .key = "camera.dis.flag", + .value = "2", + }, + { + .key = "camera.tnr.flag", + .value = "1", + }, + { + .key = "config.disable_consumerir", + .value = "false", + }, + { + .key = "dalvik.vm.appimageformat", + .value = "lz4", + }, + { + .key = "dalvik.vm.boot-dex2oat-threads", + .value = "4", + }, + { + .key = "dalvik.vm.checkjni", + .value = "false", + }, + { + .key = "dalvik.vm.dex2oat-Xms", + .value = "64m", + }, + { + .key = "dalvik.vm.dex2oat-Xmx", + .value = "512m", + }, + { + .key = "dalvik.vm.dex2oat-threads", + .value = "4", + }, + { + .key = "dalvik.vm.dexopt.secondary", + .value = "true", + }, + { + .key = "dalvik.vm.heapgrowthlimit", + .value = "384m", + }, + { + .key = "dalvik.vm.heapmaxfree", + .value = "8m", + }, + { + .key = "dalvik.vm.heapminfree", + .value = "2m", + }, + { + .key = "dalvik.vm.heapsize", + .value = "512m", + }, + { + .key = "dalvik.vm.heapstartsize", + .value = "8m", + }, + { + .key = "dalvik.vm.heaptargetutilization", + .value = "0.75", + }, + { + .key = "dalvik.vm.image-dex2oat-Xms", + .value = "64m", + }, + { + .key = "dalvik.vm.image-dex2oat-Xmx", + .value = "64m", + }, + { + .key = "dalvik.vm.image-dex2oat-threads", + .value = "4", + }, + { + .key = "dalvik.vm.isa.arm.features", + .value = "default", + }, + { + .key = "dalvik.vm.isa.arm.variant", + .value = "cortex-a15", + }, + { + .key = "dalvik.vm.isa.arm64.features", + .value = "default", + }, + { + .key = "dalvik.vm.isa.arm64.variant", + .value = "generic", + }, + { + .key = "dalvik.vm.stack-trace-file", + .value = "/data/anr/traces.txt", + }, + { + .key = "dalvik.vm.usejit", + .value = "true", + }, + { + .key = "dalvik.vm.usejitprofiles", + .value = "true", + }, + { + .key = "debug.aps.current_battery", + .value = "56", + }, + { + .key = "debug.aps.enable", + .value = "0", + }, + { + .key = "debug.aps.lcd_fps_scence", + .value = "60", + }, + { + .key = "debug.aps.process.name", + .value = "", + }, + { + .key = "debug.aps.scene_num", + .value = "5", + }, + { + .key = "debug.atrace.tags.enableflags", + .value = "0", + }, + { + .key = "debug.enable.rawnfds.flag", + .value = "1", + }, + { + .key = "debug.enable.yuvnfds.flag", + .value = "1", + }, + { + .key = "debug.enable.yuvnfds.offline.flag", + .value = "1", + }, + { + .key = "debug.force_rtl", + .value = "0", + }, + { + .key = "debug.hwui.render_dirty_regions", + .value = "false", + }, + { + .key = "debug.sf.latch_unsignaled", + .value = "1", + }, + { + .key = "dev.bootcomplete", + .value = "1", + }, + { + .key = "drm.service.enabled", + .value = "true", + }, + { + .key = "fw.max_users", + .value = "4", + }, + { + .key = "fw.show_multiuserui", + .value = "1", + }, + { + .key = "gsm.check_is_single_pdp_sub1", + .value = "false", + }, + { + .key = "gsm.current.phone-type", + .value = "1,1", + }, + { + .key = "gsm.dualcards.switch", + .value = "false", + }, + { + .key = "gsm.fastdormancy.mode", + .value = "1", + }, + { + .key = "gsm.hw.fdn.activated1", + .value = "false", + }, + { + .key = "gsm.hw.fdn.activated2", + .value = "false", + }, + { + .key = "gsm.hw.operator.iso-country", + .value = "", + }, + { + .key = "gsm.hw.operator.isroaming", + .value = "false", + }, + { + .key = "gsm.hw.operator.numeric", + .value = "", + }, + { + .key = "gsm.network.type", + .value = "UMTS,Unknown", + }, + { + .key = "gsm.nvcfg.resetrild", + .value = "0", + }, + { + .key = "gsm.nvcfg.rildrestarting", + .value = "0", + }, + { + .key = "gsm.operator.alpha", + .value = "", + }, + { + .key = "gsm.operator.iso-country", + .value = "", + }, + { + .key = "gsm.operator.isroaming", + .value = "false,false", + }, + { + .key = "gsm.operator.numeric", + .value = "", + }, + { + .key = "gsm.sigcust.configured", + .value = "true", + }, + { + .key = "gsm.sim.c_card.plmn", + .value = "", + }, + { + .key = "gsm.sim.hw_atr", + .value = "null", + }, + { + .key = "gsm.sim.hw_atr1", + .value = "null", + }, + { + .key = "gsm.sim.operator.alpha", + .value = ",", + }, + { + .key = "gsm.sim.operator.iso-country", + .value = ",", + }, + { + .key = "gsm.sim.operator.numeric", + .value = ",", + }, + { + .key = "gsm.sim.state", + .value = "ABSENT,ABSENT", + }, + { + .key = "gsm.sim1.type", + .value = "-1", + }, + { + .key = "gsm.sim2.type", + .value = "-1", + }, + { + .key = "gsm.version.baseband", + .value = "21C10B551S000C000,21C10B551S000C000", + }, + { + .key = "gsm.version.ril-impl", + .value = "android infineon balong-ril 1.0", + }, + { + .key = "hw.lcd.density", + .value = "640", + }, + { + .key = "hw.wifipro.dns_fail_count", + .value = "110", + }, + { + .key = "hwouc.hwpatch.version", + .value = "", + }, + { + .key = "hwservicemanager.ready", + .value = "true", + }, + { + .key = "init.svc.CameraDaemon", + .value = "running", + }, + { + .key = "init.svc.activityrecognition_1_0", + .value = "running", + }, + { + .key = "init.svc.adbd", + .value = "running", + }, + { + .key = "init.svc.applogcat", + .value = "stopped", + }, + { + .key = "init.svc.aptouch", + .value = "running", + }, + { + .key = "init.svc.audio-ext-hal-2-0", + .value = "running", + }, + { + .key = "init.svc.audioserver", + .value = "running", + }, + { + .key = "init.svc.bastetd", + .value = "running", + }, + { + .key = "init.svc.bluetooth-1-0", + .value = "running", + }, + { + .key = "init.svc.bootanim", + .value = "stopped", + }, + { + .key = "init.svc.cameraserver", + .value = "running", + }, + { + .key = "init.svc.chargelogcat", + .value = "stopped", + }, + { + .key = "init.svc.chargemonitor", + .value = "running", + }, + { + .key = "init.svc.check_root", + .value = "stopped", + }, + { + .key = "init.svc.configstore-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.cust_from_init", + .value = "stopped", + }, + { + .key = "init.svc.display-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.displayeffect-1-0", + .value = "running", + }, + { + .key = "init.svc.displayengine-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.dpeservice", + .value = "running", + }, + { + .key = "init.svc.drm", + .value = "running", + }, + { + .key = "init.svc.drm-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.drm-widevine-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.dubaid", + .value = "running", + }, + { + .key = "init.svc.emcomd", + .value = "running", + }, + { + .key = "init.svc.eventslogcat", + .value = "stopped", + }, + { + .key = "init.svc.fm-1-0", + .value = "running", + }, + { + .key = "init.svc.fps_hal_ext", + .value = "running", + }, + { + .key = "init.svc.fusd", + .value = "running", + }, + { + .key = "init.svc.gatekeeper-1-0", + .value = "running", + }, + { + .key = "init.svc.gatekeeperd", + .value = "running", + }, + { + .key = "init.svc.gnss_service", + .value = "running", + }, + { + .key = "init.svc.gpsd_47531", + .value = "running", + }, + { + .key = "init.svc.gpsdaemon", + .value = "stopped", + }, + { + .key = "init.svc.gpuassistant", + .value = "running", + }, + { + .key = "init.svc.gralloc-2-0", + .value = "running", + }, + { + .key = "init.svc.hal_gnss_service_1", + .value = "running", + }, + { + .key = "init.svc.hdbd", + .value = "stopped", + }, + { + .key = "init.svc.health-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.healthd", + .value = "running", + }, + { + .key = "init.svc.hiaiserver", + .value = "running", + }, + { + .key = "init.svc.hidl_memory", + .value = "running", + }, + { + .key = "init.svc.hilogcat", + .value = "stopped", + }, + { + .key = "init.svc.hinetmanager", + .value = "running", + }, + { + .key = "init.svc.hisupl_service", + .value = "running", + }, + { + .key = "init.svc.hiview", + .value = "running", + }, + { + .key = "init.svc.hivrar-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.hivrarserver", + .value = "running", + }, + { + .key = "init.svc.hostapd", + .value = "stopped", + }, + { + .key = "init.svc.huaweiantitheft-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.hw_ueventd", + .value = "running", + }, + { + .key = "init.svc.hwcomposer-2-1", + .value = "running", + }, + { + .key = "init.svc.hwemerffu", + .value = "stopped", + }, + { + .key = "init.svc.hwfactoryinterface-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.hwfs-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.hwhfd", + .value = "stopped", + }, + { + .key = "init.svc.hwnffserver", + .value = "running", + }, + { + .key = "init.svc.hwpged", + .value = "running", + }, + { + .key = "init.svc.hwservicemanager", + .value = "running", + }, + { + .key = "init.svc.inputlogcat", + .value = "stopped", + }, + { + .key = "init.svc.installd", + .value = "running", + }, + { + .key = "init.svc.ir-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.irqbalance", + .value = "running", + }, + { + .key = "init.svc.irsl-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.isplogcat", + .value = "stopped", + }, + { + .key = "init.svc.jpegdec-1-0", + .value = "running", + }, + { + .key = "init.svc.keymaster-3-0", + .value = "running", + }, + { + .key = "init.svc.keystore", + .value = "running", + }, + { + .key = "init.svc.kmsglogcat", + .value = "stopped", + }, + { + .key = "init.svc.light-ext-hal-2-0", + .value = "running", + }, + { + .key = "init.svc.lmkd", + .value = "running", + }, + { + .key = "init.svc.logcat_service", + .value = "stopped", + }, + { + .key = "init.svc.logctl_service", + .value = "stopped", + }, + { + .key = "init.svc.logd", + .value = "running", + }, + { + .key = "init.svc.logd-reinit", + .value = "stopped", + }, + { + .key = "init.svc.macaddr", + .value = "stopped", + }, + { + .key = "init.svc.media", + .value = "running", + }, + { + .key = "init.svc.mediacodec", + .value = "running", + }, + { + .key = "init.svc.mediacomm@2.0-service", + .value = "running", + }, + { + .key = "init.svc.mediadrm", + .value = "running", + }, + { + .key = "init.svc.mediaextractor", + .value = "running", + }, + { + .key = "init.svc.mediametrics", + .value = "running", + }, + { + .key = "init.svc.memtrack-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.netd", + .value = "running", + }, + { + .key = "init.svc.nfc_hal_ext_service", + .value = "running", + }, + { + .key = "init.svc.oeminfo_nvm", + .value = "running", + }, + { + .key = "init.svc.otherdevices-1-0", + .value = "running", + }, + { + .key = "init.svc.perfgenius-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.pmom", + .value = "running", + }, + { + .key = "init.svc.power-hw-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.powerlogd", + .value = "running", + }, + { + .key = "init.svc.ril-daemon", + .value = "running", + }, + { + .key = "init.svc.rillogcat", + .value = "stopped", + }, + { + .key = "init.svc.sensors-hal-1-0_hw", + .value = "running", + }, + { + .key = "init.svc.servicemanager", + .value = "running", + }, + { + .key = "init.svc.shex", + .value = "stopped", + }, + { + .key = "init.svc.shlogd", + .value = "stopped", + }, + { + .key = "init.svc.sleeplogcat", + .value = "stopped", + }, + { + .key = "init.svc.storage_info", + .value = "running", + }, + { + .key = "init.svc.storaged", + .value = "running", + }, + { + .key = "init.svc.surfaceflinger", + .value = "running", + }, + { + .key = "init.svc.system_teecd", + .value = "running", + }, + { + .key = "init.svc.teecd", + .value = "running", + }, + { + .key = "init.svc.teelogcat", + .value = "stopped", + }, + { + .key = "init.svc.thermal-daemon", + .value = "running", + }, + { + .key = "init.svc.thermal-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.tombstoned", + .value = "running", + }, + { + .key = "init.svc.tp-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.ueventd", + .value = "running", + }, + { + .key = "init.svc.uniperf-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.unrmd", + .value = "running", + }, + { + .key = "init.svc.usb-hal-1-0", + .value = "running", + }, + { + .key = "init.svc.vibrator-HW-1-0", + .value = "running", + }, + { + .key = "init.svc.vndservicemanager", + .value = "running", + }, + { + .key = "init.svc.vold", + .value = "running", + }, + { + .key = "init.svc.vr-1-0", + .value = "running", + }, + { + .key = "init.svc.webview_zygote32", + .value = "running", + }, + { + .key = "init.svc.wifi_ext", + .value = "running", + }, + { + .key = "init.svc.wificond", + .value = "running", + }, + { + .key = "init.svc.wifidrvload", + .value = "stopped", + }, + { + .key = "init.svc.wpa_supplicant", + .value = "running", + }, + { + .key = "init.svc.zygote", + .value = "running", + }, + { + .key = "init.svc.zygote_secondary", + .value = "running", + }, + { + .key = "keyguard.no_require_sim", + .value = "true", + }, + { + .key = "net.bt.name", + .value = "Android", + }, + { + .key = "net.hostname", + .value = "HUAWEI_Mate_10-b3a9822a10", + }, + { + .key = "net.lte.ims.data.enabled", + .value = "true", + }, + { + .key = "net.portal.background", + .value = "false", + }, + { + .key = "net.qtaguid_enabled", + .value = "1", + }, + { + .key = "net.tcp.default_init_rwnd", + .value = "60", + }, + { + .key = "partition.cust.verified", + .value = "2", + }, + { + .key = "partition.odm.verified", + .value = "2", + }, + { + .key = "partition.product.verified", + .value = "2", + }, + { + .key = "partition.system.verified", + .value = "2", + }, + { + .key = "partition.vendor.verified", + .value = "2", + }, + { + .key = "partition.version.verified", + .value = "2", + }, + { + .key = "persist.alloc_buffer_sync", + .value = "true", + }, + { + .key = "persist.bt.max.a2dp.connections", + .value = "2", + }, + { + .key = "persist.dsds.enabled", + .value = "true", + }, + { + .key = "persist.egl.support_vr", + .value = "1", + }, + { + .key = "persist.fw.force_adoptable", + .value = "true", + }, + { + .key = "persist.irqbalance.enable", + .value = "true", + }, + { + .key = "persist.jank.gameskip", + .value = "true", + }, + { + .key = "persist.media.lowlatency.enable", + .value = "false", + }, + { + .key = "persist.media.offload.enable", + .value = "true", + }, + { + .key = "persist.media.usbvoice.enable", + .value = "true", + }, + { + .key = "persist.media.usbvoice.name", + .value = "USB-Audio - HUAWEI GLASS", + }, + { + .key = "persist.partial_update_support", + .value = "1", + }, + { + .key = "persist.radio.activemodem", + .value = "1", + }, + { + .key = "persist.radio.airmode_sim0", + .value = "false", + }, + { + .key = "persist.radio.airmode_sim1", + .value = "true", + }, + { + .key = "persist.radio.apm_sim_not_pwdn", + .value = "1", + }, + { + .key = "persist.radio.commril_mode", + .value = "HISI_CGUL_MODE", + }, + { + .key = "persist.radio.fast_switch_step", + .value = "0,0", + }, + { + .key = "persist.radio.m0_ps_allow", + .value = "1", + }, + { + .key = "persist.radio.modem.cap", + .value = "09B9D50", + }, + { + .key = "persist.radio.modem_cdma_roam", + .value = "true", + }, + { + .key = "persist.radio.multisim.config", + .value = "dsds", + }, + { + .key = "persist.radio.nv_bin_loaded_m0", + .value = "false", + }, + { + .key = "persist.radio.nv_bin_loaded_m1", + .value = "false", + }, + { + .key = "persist.radio.nv_match_by_card", + .value = "2", + }, + { + .key = "persist.radio.overseas_mode", + .value = "true", + }, + { + .key = "persist.radio.prefer_nw", + .value = "0704030201", + }, + { + .key = "persist.radio.prefer_nw_modem1", + .value = "0201", + }, + { + .key = "persist.radio.standby_mode", + .value = "mode_ulu", + }, + { + .key = "persist.radio.sub_state_cfg", + .value = "1,1,1", + }, + { + .key = "persist.rog_feature", + .value = "1", + }, + { + .key = "persist.service.hdb.enable", + .value = "true", + }, + { + .key = "persist.service.tm2.tofile", + .value = "false", + }, + { + .key = "persist.smart_pool", + .value = "1", + }, + { + .key = "persist.support_lte_modem1", + .value = "true", + }, + { + .key = "persist.sys.appstart.enable", + .value = "true", + }, + { + .key = "persist.sys.appstart.sync", + .value = "false", + }, + { + .key = "persist.sys.aps.defaultWidth", + .value = "1440", + }, + { + .key = "persist.sys.aps.firstboot", + .value = "0", + }, + { + .key = "persist.sys.boost.byeachfling", + .value = "true", + }, + { + .key = "persist.sys.boost.durationms", + .value = "1000", + }, + { + .key = "persist.sys.boost.skipframe", + .value = "3", + }, + { + .key = "persist.sys.cpuset.enable", + .value = "1", + }, + { + .key = "persist.sys.cpuset.subswitch", + .value = "11792", + }, + { + .key = "persist.sys.dalvik.vm.lib.2", + .value = "libart.so", + }, + { + .key = "persist.sys.default.res.xres", + .value = "1440", + }, + { + .key = "persist.sys.devsched.subswitch", + .value = "4", + }, + { + .key = "persist.sys.dpi", + .value = "640", + }, + { + .key = "persist.sys.dualcards", + .value = "true", + }, + { + .key = "persist.sys.enable_iaware", + .value = "true", + }, + { + .key = "persist.sys.fast_h_duration", + .value = "2000", + }, + { + .key = "persist.sys.fast_h_max", + .value = "50", + }, + { + .key = "persist.sys.fingerpressnavi", + .value = "0", + }, + { + .key = "persist.sys.fingersense", + .value = "1", + }, + { + .key = "persist.sys.hiview.onekeycaptur", + .value = "0", + }, + { + .key = "persist.sys.huawei.debug.on", + .value = "0", + }, + { + .key = "persist.sys.hwairplanestate", + .value = "error", + }, + { + .key = "persist.sys.iaware.cpuenable", + .value = "true", + }, + { + .key = "persist.sys.iaware.vsyncfirst", + .value = "true", + }, + { + .key = "persist.sys.iaware_config_ver", + .value = "ALP-L29_US_iaware_config_1.0_rev.xml", + }, + { + .key = "persist.sys.jankdb", + .value = "<10><400><400><400><400><400>", + }, + { + .key = "persist.sys.jankenable", + .value = "true", + }, + { + .key = "persist.sys.kmemleak.debug", + .value = "0", + }, + { + .key = "persist.sys.locale", + .value = "en-GB", + }, + { + .key = "persist.sys.logsystem.coredump", + .value = "off", + }, + { + .key = "persist.sys.logsystem.dataflow", + .value = "0", + }, + { + .key = "persist.sys.logsystem.modem", + .value = "0", + }, + { + .key = "persist.sys.logsystem.protohint", + .value = "0", + }, + { + .key = "persist.sys.max_rdh_delay", + .value = "0", + }, + { + .key = "persist.sys.mcc_match_fyrom", + .value = "", + }, + { + .key = "persist.sys.performance", + .value = "true", + }, + { + .key = "persist.sys.powerup_reason", + .value = "NORMAL", + }, + { + .key = "persist.sys.preloads.file_cache_expired", + .value = "1", + }, + { + .key = "persist.sys.profiler_ms", + .value = "0", + }, + { + .key = "persist.sys.realdpi", + .value = "480", + }, + { + .key = "persist.sys.rog.configmode", + .value = "1", + }, + { + .key = "persist.sys.rog.height", + .value = "1920", + }, + { + .key = "persist.sys.rog.width", + .value = "1080", + }, + { + .key = "persist.sys.root.status", + .value = "0", + }, + { + .key = "persist.sys.sdcardfs.emulated", + .value = "1", + }, + { + .key = "persist.sys.sdcardfs.public", + .value = "1", + }, + { + .key = "persist.sys.sdencryption.enable", + .value = "true", + }, + { + .key = "persist.sys.shut_alarm", + .value = "none", + }, + { + .key = "persist.sys.srms.enable", + .value = "true", + }, + { + .key = "persist.sys.timezone", + .value = "Asia/Singapore", + }, + { + .key = "persist.sys.usb.config", + .value = "hisuite,mtp,mass_storage,adb", + }, + { + .key = "persist.sys.webview.vmsize", + .value = "113072704", + }, + { + .key = "persist.texture_cache_opt", + .value = "1", + }, + { + .key = "persist.touch_move_opt", + .value = "1", + }, + { + .key = "persist.touch_vsync_opt", + .value = "1", + }, + { + .key = "pm.dexopt.ab-ota", + .value = "speed-profile", + }, + { + .key = "pm.dexopt.bg-dexopt", + .value = "speed-profile", + }, + { + .key = "pm.dexopt.boot", + .value = "verify", + }, + { + .key = "pm.dexopt.first-boot", + .value = "quicken", + }, + { + .key = "pm.dexopt.install", + .value = "quicken", + }, + { + .key = "qemu.hw.mainkeys", + .value = "0", + }, + { + .key = "ril.balong_cid", + .value = "0", + }, + { + .key = "ril.ecclist", + .value = "112,911,000,08,110,118,119,999,120,122,112,911", + }, + { + .key = "ril.ecclist1", + .value = "112,911,000,08,110,118,119,999,911,112", + }, + { + .key = "ril.force_to_set_ecc", + .value = "invalid", + }, + { + .key = "ril.hw_modem0.rssi", + .value = "-1", + }, + { + .key = "ril.hw_modem1.rssi", + .value = "-1", + }, + { + .key = "ril.hw_modem2.rssi", + .value = "-1", + }, + { + .key = "ril.modem.balong_nvm_server", + .value = "true", + }, + { + .key = "ril.operator.numeric", + .value = "310410", + }, + { + .key = "rild.libargs", + .value = "-m modem0", + }, + { + .key = "rild.libargs1", + .value = "-m modem1", + }, + { + .key = "rild.libargs2", + .value = "-m modem2", + }, + { + .key = "rild.libpath", + .value = "/vendor/lib64/libbalong-ril.so", + }, + { + .key = "rild.libpath1", + .value = "/vendor/lib64/libbalong-ril-1.so", + }, + { + .key = "rild.libpath2", + .value = "/vendor/lib64/libbalong-ril-2.so", + }, + { + .key = "rild.rild1_ready_to_start", + .value = "false", + }, + { + .key = "ro.adb.btstatus", + .value = "valid", + }, + { + .key = "ro.adb.secure", + .value = "1", + }, + { + .key = "ro.allow.mock.location", + .value = "0", + }, + { + .key = "ro.audio.gamescene_volume", + .value = "0.4", + }, + { + .key = "ro.audio.offload_wakelock", + .value = "false", + }, + { + .key = "ro.baseband", + .value = "unknown", + }, + { + .key = "ro.blight.exempt_app_type", + .value = "-1,1,16,24", + }, + { + .key = "ro.board.boardid", + .value = "6421", + }, + { + .key = "ro.board.boardname", + .value = "ALPS_LX9_VN1_CS_G_WIFI_PMIC", + }, + { + .key = "ro.board.modemid", + .value = "39004800", + }, + { + .key = "ro.board.platform", + .value = "kirin970", + }, + { + .key = "ro.booking.channel.path", + .value = "/cust_spec/xml/.booking.data.aid", + }, + { + .key = "ro.boot.avb_version", + .value = "0.0", + }, + { + .key = "ro.boot.ddrsize", + .value = "4", + }, + { + .key = "ro.boot.flash.locked", + .value = "1", + }, + { + .key = "ro.boot.hardware", + .value = "kirin970", + }, + { + .key = "ro.boot.mode", + .value = "normal", + }, + { + .key = "ro.boot.oemmode", + .value = "user", + }, + { + .key = "ro.boot.selinux", + .value = "enforcing", + }, + { + .key = "ro.boot.serialno", + .value = "QMU7N17A21017472", + }, + { + .key = "ro.boot.slot_suffix", + .value = "_a", + }, + { + .key = "ro.boot.vbmeta.avb_version", + .value = "0.0", + }, + { + .key = "ro.boot.vbmeta.device_state", + .value = "locked", + }, + { + .key = "ro.boot.vbmeta.digest", + .value = "42b52bcc52090fcb345aa0ce2a14f029e2dc810ae4a7d120695501e52b294f62", + }, + { + .key = "ro.boot.vbmeta.hash_alg", + .value = "sha256", + }, + { + .key = "ro.boot.vbmeta.size", + .value = "16832", + }, + { + .key = "ro.boot.verifiedbootstate", + .value = "GREEN", + }, + { + .key = "ro.boot.veritymode", + .value = "enforcing", + }, + { + .key = "ro.bootimage.build.date", + .value = "Mon Oct 16 18:30:45 CST 2017", + }, + { + .key = "ro.bootimage.build.date.utc", + .value = "1508149845", + }, + { + .key = "ro.bootimage.build.fingerprint", + .value = "Huawei/generic_a15/generic_a15:8.0.0/OPR6.170623.010/jslave10161829:user/test-keys", + }, + { + .key = "ro.bootloader", + .value = "unknown", + }, + { + .key = "ro.bootmode", + .value = "normal", + }, + { + .key = "ro.build.characteristics", + .value = "default", + }, + { + .key = "ro.build.date", + .value = "Mon Oct 16 18:29:21 CST 2017", + }, + { + .key = "ro.build.date.utc", + .value = "1508149761", + }, + { + .key = "ro.build.description", + .value = "ALP-L29-user 8.0.0 HUAWEIALP-L29 115(C636) release-keys", + }, + { + .key = "ro.build.display.id", + .value = "ALP-L29 8.0.0.115(C636)", + }, + { + .key = "ro.build.fingerprint", + .value = "HUAWEI/ALP-L29/HWALP:8.0.0/HUAWEIALP-L29/115(C636):user/release-keys", + }, + { + .key = "ro.build.flavor", + .value = "kirin970-user", + }, + { + .key = "ro.build.hide", + .value = "false", + }, + { + .key = "ro.build.hide.matchers", + .value = "ALP;HW;HWALP;kirin970;HUAWEI;Heimdall-MP12;8.0.0", + }, + { + .key = "ro.build.hide.replacements", + .value = "HIM;unknown;unknown;unknown;unknown;unknown;5.0.1", + }, + { + .key = "ro.build.hide.settings", + .value = "8;1.8 GHz;2.0GB;11.00 GB;16.00 GB;1920 x 1080;5.1;3.10.30;3.1", + }, + { + .key = "ro.build.host", + .value = "shajk0209cna", + }, + { + .key = "ro.build.hw_emui_api_level", + .value = "14", + }, + { + .key = "ro.build.id", + .value = "HUAWEIALP-L29", + }, + { + .key = "ro.build.product", + .value = "ALP", + }, + { + .key = "ro.build.tags", + .value = "release-keys", + }, + { + .key = "ro.build.type", + .value = "user", + }, + { + .key = "ro.build.update_version", + .value = "V1_2", + }, + { + .key = "ro.build.user", + .value = "test", + }, + { + .key = "ro.build.version.all_codenames", + .value = "REL", + }, + { + .key = "ro.build.version.base_os", + .value = "", + }, + { + .key = "ro.build.version.codename", + .value = "REL", + }, + { + .key = "ro.build.version.emui", + .value = "EmotionUI_8.0.0", + }, + { + .key = "ro.build.version.incremental", + .value = "115(C636)", + }, + { + .key = "ro.build.version.preview_sdk", + .value = "0", + }, + { + .key = "ro.build.version.release", + .value = "8.0.0", + }, + { + .key = "ro.build.version.sdk", + .value = "26", + }, + { + .key = "ro.build.version.security_patch", + .value = "2017-10-05", + }, + { + .key = "ro.carrier", + .value = "unknown", + }, + { + .key = "ro.cdma.home.operator.numeric", + .value = "46003", + }, + { + .key = "ro.cellbroadcast.emergencyids", + .value = "0-65534", + }, + { + .key = "ro.check.modem_network", + .value = "true", + }, + { + .key = "ro.cofig.onlinemusic.enabled", + .value = "false", + }, + { + .key = "ro.cofig.onlinevideo.enabled", + .value = "false", + }, + { + .key = "ro.com.google.clientidbase", + .value = "android-huawei", + }, + { + .key = "ro.com.google.clientidbase.am", + .value = "android-huawei", + }, + { + .key = "ro.com.google.clientidbase.ms", + .value = "android-huawei", + }, + { + .key = "ro.com.google.clientidbase.wal", + .value = "android-huawei", + }, + { + .key = "ro.com.google.gmsversion", + .value = "8.0_r1", + }, + { + .key = "ro.com.google.rlz_ap_whitelist", + .value = "y0,y5,y6,y7", + }, + { + .key = "ro.com.google.rlzbrandcode", + .value = "HWDA", + }, + { + .key = "ro.comp.chipset_version", + .value = "Chipset-boston 8.0.0.38(00CZ)", + }, + { + .key = "ro.comp.cust_version", + .value = "Cust-636000 8.0.0.1(0000)", + }, + { + .key = "ro.comp.product_version", + .value = "Product-ALP 8.0.0.5(0001)", + }, + { + .key = "ro.comp.sys_support_vndk", + .value = "", + }, + { + .key = "ro.comp.system_version", + .value = "System 8.0.0.38(00PP)", + }, + { + .key = "ro.comp.version_version", + .value = "Version-ALP-L29-636000 8.0.0.1(0014)", + }, + { + .key = "ro.confg.hw_bootversion", + .value = "System 8.0.0.38(00PP)_BOOT", + }, + { + .key = "ro.confg.hw_fastbootversion", + .value = "Chipset-boston8.0.0.38(00CZ)_FASTBOOT", + }, + { + .key = "ro.confg.hw_odmversion", + .value = "Chipset-boston 8.0.0.38(00CZ)_ODM_ALPS", + }, + { + .key = "ro.confg.hw_systemversion", + .value = "System 8.0.0.38(00PP)", + }, + { + .key = "ro.confg.hw_userdataversion", + .value = "ALP-L29 8.0.0.115(C636)_DATA_ALP-L29_hw_spcseas", + }, + { + .key = "ro.config.CphsOnsEnabled", + .value = "false", + }, + { + .key = "ro.config.alarm_alert", + .value = "Aegean_Sea.ogg", + }, + { + .key = "ro.config.app_big_icon_size", + .value = "224", + }, + { + .key = "ro.config.attach_apn_enabled", + .value = "true", + }, + { + .key = "ro.config.attach_ip_type", + .value = "IPV4V6", + }, + { + .key = "ro.config.auto_display_mode", + .value = "true", + }, + { + .key = "ro.config.backcolor", + .value = "black", + }, + { + .key = "ro.config.beta_sec_ctrl", + .value = "false", + }, + { + .key = "ro.config.blight_power_curve", + .value = "50,0.8;100,0.7;150,0.6;450,0.6;460,0.7;470,0.8;480,0.9;490,1", + }, + { + .key = "ro.config.ca_withoutcat", + .value = "true", + }, + { + .key = "ro.config.calendar_event_order", + .value = "true", + }, + { + .key = "ro.config.callinwifi", + .value = "200,6", + }, + { + .key = "ro.config.camera.region", + .value = "ntdny", + }, + { + .key = "ro.config.carkitmodenotif", + .value = "true", + }, + { + .key = "ro.config.cdma_quiet", + .value = "true", + }, + { + .key = "ro.config.client_number", + .value = "5", + }, + { + .key = "ro.config.colorTemperature_3d", + .value = "true", + }, + { + .key = "ro.config.colorTemperature_K3", + .value = "true", + }, + { + .key = "ro.config.data_preinstalled", + .value = "true", + }, + { + .key = "ro.config.default_commril_mode", + .value = "HISI_CGUL_MODE", + }, + { + .key = "ro.config.devicecolor", + .value = "black", + }, + { + .key = "ro.config.dist_nosim_airplane", + .value = "true", + }, + { + .key = "ro.config.dsds_mode", + .value = "cdma_gsm", + }, + { + .key = "ro.config.emergencycall_show", + .value = "true", + }, + { + .key = "ro.config.enable_iaware", + .value = "true", + }, + { + .key = "ro.config.enable_perfhub_fling", + .value = "true", + }, + { + .key = "ro.config.enable_rcc", + .value = "true", + }, + { + .key = "ro.config.enable_thermal_bdata", + .value = "true", + }, + { + .key = "ro.config.fast_switch_simslot", + .value = "true", + }, + { + .key = "ro.config.finger_joint", + .value = "true", + }, + { + .key = "ro.config.fix_commril_mode", + .value = "false", + }, + { + .key = "ro.config.fp_navigation", + .value = "true", + }, + { + .key = "ro.config.full_network_support", + .value = "true", + }, + { + .key = "ro.config.gallery_story_disable", + .value = "false", + }, + { + .key = "ro.config.helix_enable", + .value = "true", + }, + { + .key = "ro.config.hideContactWithoutNum", + .value = "true", + }, + { + .key = "ro.config.hisi_cdma_supported", + .value = "true", + }, + { + .key = "ro.config.hspap_hsdpa_open", + .value = "1", + }, + { + .key = "ro.config.huawei_smallwindow", + .value = "913,0,1440,2560", + }, + { + .key = "ro.config.hw.imeisv", + .value = "true", + }, + { + .key = "ro.config.hw.security_volume", + .value = "7", + }, + { + .key = "ro.config.hw_OptiDBConfig", + .value = "true", + }, + { + .key = "ro.config.hw_ReduceSAR", + .value = "false", + }, + { + .key = "ro.config.hw_RemindWifiToPdp", + .value = "true", + }, + { + .key = "ro.config.hw_TW_emergencyNum", + .value = "true", + }, + { + .key = "ro.config.hw_allow_rs_mms", + .value = "true", + }, + { + .key = "ro.config.hw_always_allow_mms", + .value = "0", + }, + { + .key = "ro.config.hw_board_ipa", + .value = "true", + }, + { + .key = "ro.config.hw_camera_nfc_switch", + .value = "true", + }, + { + .key = "ro.config.hw_ch_alg", + .value = "2", + }, + { + .key = "ro.config.hw_change_volte_icon", + .value = "false", + }, + { + .key = "ro.config.hw_dsda", + .value = "false", + }, + { + .key = "ro.config.hw_dsdspowerup", + .value = "true", + }, + { + .key = "ro.config.hw_dts_settings", + .value = "true", + }, + { + .key = "ro.config.hw_eapsim", + .value = "true", + }, + { + .key = "ro.config.hw_eccNumUseRplmn", + .value = "true", + }, + { + .key = "ro.config.hw_ecc_with_sim_card", + .value = "true", + }, + { + .key = "ro.config.hw_em_solution_ver", + .value = "B113", + }, + { + .key = "ro.config.hw_emcom", + .value = "true", + }, + { + .key = "ro.config.hw_emui_desktop_mode", + .value = "true", + }, + { + .key = "ro.config.hw_enable_merge", + .value = "true", + }, + { + .key = "ro.config.hw_front_fp_navi", + .value = "true", + }, + { + .key = "ro.config.hw_front_fp_trikey", + .value = "0", + }, + { + .key = "ro.config.hw_globalEcc", + .value = "true", + }, + { + .key = "ro.config.hw_glovemode_enabled", + .value = "1", + }, + { + .key = "ro.config.hw_hideSimIcon", + .value = "false", + }, + { + .key = "ro.config.hw_hidecallforward", + .value = "false", + }, + { + .key = "ro.config.hw_higeo_fusion_ver", + .value = "1.5", + }, + { + .key = "ro.config.hw_higeo_map_matching", + .value = "1", + }, + { + .key = "ro.config.hw_higeo_nw_pos_db", + .value = "HERE", + }, + { + .key = "ro.config.hw_higeo_pdrsupport", + .value = "true", + }, + { + .key = "ro.config.hw_hotswap_on", + .value = "true", + }, + { + .key = "ro.config.hw_hungtasklist", + .value = "whitelist,system_server,SurfaceFlinger", + }, + { + .key = "ro.config.hw_icon_supprot_cut", + .value = "false", + }, + { + .key = "ro.config.hw_imei_sv_enable", + .value = "true", + }, + { + .key = "ro.config.hw_imei_sv_show_two", + .value = "true", + }, + { + .key = "ro.config.hw_ims_as_normal", + .value = "true", + }, + { + .key = "ro.config.hw_ipv6_support", + .value = "true", + }, + { + .key = "ro.config.hw_low_ram", + .value = "false", + }, + { + .key = "ro.config.hw_lte_release", + .value = "true", + }, + { + .key = "ro.config.hw_lte_support", + .value = "true", + }, + { + .key = "ro.config.hw_media_flags", + .value = "1", + }, + { + .key = "ro.config.hw_multiscreen", + .value = "false", + }, + { + .key = "ro.config.hw_music_lp", + .value = "true", + }, + { + .key = "ro.config.hw_navigationbar", + .value = "true", + }, + { + .key = "ro.config.hw_nfc_def_route", + .value = "2", + }, + { + .key = "ro.config.hw_nfc_on", + .value = "true", + }, + { + .key = "ro.config.hw_not_modify_wifi", + .value = "Singtel WIFI", + }, + { + .key = "ro.config.hw_omacp", + .value = "1", + }, + { + .key = "ro.config.hw_opta", + .value = "636", + }, + { + .key = "ro.config.hw_optb", + .value = "999", + }, + { + .key = "ro.config.hw_perfgenius", + .value = "true", + }, + { + .key = "ro.config.hw_power_saving", + .value = "true", + }, + { + .key = "ro.config.hw_rcm_cert", + .value = "true", + }, + { + .key = "ro.config.hw_rcs_product", + .value = "false", + }, + { + .key = "ro.config.hw_save_pin", + .value = "true", + }, + { + .key = "ro.config.hw_sensorhub", + .value = "true", + }, + { + .key = "ro.config.hw_showSimName", + .value = "true", + }, + { + .key = "ro.config.hw_show_4G_Plus_icon", + .value = "false", + }, + { + .key = "ro.config.hw_show_mmiError", + .value = "true", + }, + { + .key = "ro.config.hw_show_network_icon", + .value = "true", + }, + { + .key = "ro.config.hw_sim2airplane", + .value = "true", + }, + { + .key = "ro.config.hw_simcard_pre_city", + .value = "true", + }, + { + .key = "ro.config.hw_simlock_retries", + .value = "true", + }, + { + .key = "ro.config.hw_simpleui_enable", + .value = "1", + }, + { + .key = "ro.config.hw_singlehand", + .value = "1", + }, + { + .key = "ro.config.hw_southeast_asia", + .value = "true", + }, + { + .key = "ro.config.hw_srlte", + .value = "true", + }, + { + .key = "ro.config.hw_support_clone_app", + .value = "true", + }, + { + .key = "ro.config.hw_support_geofence", + .value = "true", + }, + { + .key = "ro.config.hw_support_vm_ecc", + .value = "true", + }, + { + .key = "ro.config.hw_switchdata_4G", + .value = "true", + }, + { + .key = "ro.config.hw_sws", + .value = "true", + }, + { + .key = "ro.config.hw_ukey_version", + .value = "2", + }, + { + .key = "ro.config.hw_useCtrlSocket", + .value = "true", + }, + { + .key = "ro.config.hw_use_browser_ua", + .value = "http://wap1.huawei.com/uaprof/HUAWEI_%s_UAProfile.xml", + }, + { + .key = "ro.config.hw_vcardBase64", + .value = "true", + }, + { + .key = "ro.config.hw_voicemail_sim", + .value = "true", + }, + { + .key = "ro.config.hw_volte_dyn", + .value = "true", + }, + { + .key = "ro.config.hw_volte_icon_rule", + .value = "2", + }, + { + .key = "ro.config.hw_volte_on", + .value = "true", + }, + { + .key = "ro.config.hw_watermark", + .value = "false", + }, + { + .key = "ro.config.hw_wifibridge", + .value = "true", + }, + { + .key = "ro.config.hw_wifipro_enable", + .value = "true", + }, + { + .key = "ro.config.hwtheme", + .value = "1", + }, + { + .key = "ro.config.is_start_commril", + .value = "true", + }, + { + .key = "ro.config.keyguard_unusedata", + .value = "false", + }, + { + .key = "ro.config.keypasstouser", + .value = "true", + }, + { + .key = "ro.config.light_ratio_max", + .value = "230", + }, + { + .key = "ro.config.limit_lcd_manual", + .value = "true", + }, + { + .key = "ro.config.linkplus.liveupdate", + .value = "true", + }, + { + .key = "ro.config.m1csimlteflwims", + .value = "true", + }, + { + .key = "ro.config.marketing_name", + .value = "HUAWEI Mate 10", + }, + { + .key = "ro.config.mmu_en", + .value = "1", + }, + { + .key = "ro.config.modem_number", + .value = "3", + }, + { + .key = "ro.config.music_lp_vol", + .value = "true", + }, + { + .key = "ro.config.music_region", + .value = "normal", + }, + { + .key = "ro.config.myloc_show_first", + .value = "true", + }, + { + .key = "ro.config.nfc_ce_transevt", + .value = "true", + }, + { + .key = "ro.config.notification_sound", + .value = "Bongo.ogg", + }, + { + .key = "ro.config.pg_camera_cabc", + .value = "true", + }, + { + .key = "ro.config.plmn_to_settings", + .value = "true", + }, + { + .key = "ro.config.report_cell_info_list", + .value = "true", + }, + { + .key = "ro.config.ringtone", + .value = "Huawei_Tune_Living.ogg", + }, + { + .key = "ro.config.ringtone2", + .value = "Huawei_Tune_Clean.ogg", + }, + { + .key = "ro.config.safety_certification", + .value = "FCC,CE", + }, + { + .key = "ro.config.scr_timeout_10sec", + .value = "true", + }, + { + .key = "ro.config.show_always_mms_ui", + .value = "true", + }, + { + .key = "ro.config.show_epg_menu", + .value = "false", + }, + { + .key = "ro.config.show_full_month", + .value = "true", + }, + { + .key = "ro.config.show_vmail_number", + .value = "true", + }, + { + .key = "ro.config.small.previewpos", + .value = "right", + }, + { + .key = "ro.config.small_cover_size", + .value = "_500x2560", + }, + { + .key = "ro.config.spare_ntp_server", + .value = "ntp.sjtu.edu.cn,time.windows.com,time.nist.gov,1.cn.pool.ntp.org", + }, + { + .key = "ro.config.sup_lte_high_speed", + .value = "true", + }, + { + .key = "ro.config.sup_six_at_chan", + .value = "true", + }, + { + .key = "ro.config.support_aod", + .value = "0", + }, + { + .key = "ro.config.support_ca", + .value = "true", + }, + { + .key = "ro.config.support_crrconn", + .value = "true", + }, + { + .key = "ro.config.support_one_time_hota", + .value = "true", + }, + { + .key = "ro.config.support_wcdma_modem1", + .value = "true", + }, + { + .key = "ro.config.switchPrimaryVolume", + .value = "true", + }, + { + .key = "ro.config.swsAlwaysActiveForSPK", + .value = "true", + }, + { + .key = "ro.config.sws_apk_hptype", + .value = "1", + }, + { + .key = "ro.config.sws_version", + .value = "0400", + }, + { + .key = "ro.config.theme_display_tw", + .value = "true", + }, + { + .key = "ro.config.third_key_provider", + .value = "kukong", + }, + { + .key = "ro.config.toolorder", + .value = "0,2,1,3,4", + }, + { + .key = "ro.config.updatelocation", + .value = "true", + }, + { + .key = "ro.config.utkShowIcon", + .value = "true", + }, + { + .key = "ro.config.vm_prioritymode", + .value = "2", + }, + { + .key = "ro.config.vol_steps", + .value = "15", + }, + { + .key = "ro.config.widevine_level3", + .value = "true", + }, + { + .key = "ro.config.wifi_country_code", + .value = "true", + }, + { + .key = "ro.config.wifi_fast_bss_enable", + .value = "true", + }, + { + .key = "ro.connectivity.chiptype", + .value = "bcm43xx", + }, + { + .key = "ro.connectivity.sub_chiptype", + .value = "bcm4359", + }, + { + .key = "ro.control.sleeplog", + .value = "true", + }, + { + .key = "ro.control_privapp_permissions", + .value = "log", + }, + { + .key = "ro.crypto.fuse_sdcard", + .value = "true", + }, + { + .key = "ro.crypto.state", + .value = "encrypted", + }, + { + .key = "ro.crypto.type", + .value = "file", + }, + { + .key = "ro.cust.cdrom", + .value = "/data/hw_init/version/region_comm/oversea/cdrom/autorun.iso", + }, + { + .key = "ro.dalvik.vm.native.bridge", + .value = "0", + }, + { + .key = "ro.debuggable", + .value = "0", + }, + { + .key = "ro.device_owner", + .value = "false", + }, + { + .key = "ro.dual.sim.phone", + .value = "true", + }, + { + .key = "ro.email.inline_as_att", + .value = "true", + }, + { + .key = "ro.expect.recovery_id", + .value = "0xb740c9483a4b0feadac5159d6b45309aa10b85f7000000000000000000000000", + }, + { + .key = "ro.facebook.partnerid", + .value = "huawei:3ed03d0-8ce2-42fa-a449-b9443817d7b4", + }, + { + .key = "ro.frp.pst", + .value = "/dev/block/bootdevice/by-name/frp", + }, + { + .key = "ro.game.low_audio_effect", + .value = "false", + }, + { + .key = "ro.hardware", + .value = "kirin970", + }, + { + .key = "ro.hardware.alter", + .value = "Hisilicon Kirin 970", + }, + { + .key = "ro.hardware.audio.primary", + .value = "hisi", + }, + { + .key = "ro.hdmi.service", + .value = "false", + }, + { + .key = "ro.huawei.cust.oma", + .value = "false", + }, + { + .key = "ro.huawei.cust.oma_drm", + .value = "false", + }, + { + .key = "ro.hw.country", + .value = "spcseas", + }, + { + .key = "ro.hw.custPath", + .value = "/cust/hw/spcseas", + }, + { + .key = "ro.hw.mirrorlink.enable", + .value = "true", + }, + { + .key = "ro.hw.oemName", + .value = "ALP-L29", + }, + { + .key = "ro.hw.specialCustPath", + .value = "/cust_spec", + }, + { + .key = "ro.hw.vendor", + .value = "hw", + }, + { + .key = "ro.hwaft.tpfp.filter_area", + .value = "720,200", + }, + { + .key = "ro.hwcamera.portrait_mode", + .value = "off", + }, + { + .key = "ro.hwcamera.use.videosize.1080p", + .value = "true", + }, + { + .key = "ro.hwui.drop_shadow_cache_size", + .value = "6", + }, + { + .key = "ro.hwui.gradient_cache_size", + .value = "1", + }, + { + .key = "ro.hwui.layer_cache_size", + .value = "48", + }, + { + .key = "ro.hwui.path_cache_size", + .value = "32", + }, + { + .key = "ro.hwui.r_buffer_cache_size", + .value = "8", + }, + { + .key = "ro.hwui.shape_cache_size", + .value = "2", + }, + { + .key = "ro.hwui.text_large_cache_height", + .value = "1024", + }, + { + .key = "ro.hwui.text_large_cache_width", + .value = "2048", + }, + { + .key = "ro.hwui.text_small_cache_height", + .value = "1024", + }, + { + .key = "ro.hwui.text_small_cache_width", + .value = "1024", + }, + { + .key = "ro.hwui.texture_cache_flushrate", + .value = "0.4", + }, + { + .key = "ro.hwui.texture_cache_size", + .value = "72", + }, + { + .key = "ro.image", + .value = "bootimage", + }, + { + .key = "ro.logsystem.usertype", + .value = "6", + }, + { + .key = "ro.magic.api.version", + .value = "0.1", + }, + { + .key = "ro.multi.rild", + .value = "false", + }, + { + .key = "ro.oba.version", + .value = "20171016192806_OBA_VERSION", + }, + { + .key = "ro.oem_unlock_supported", + .value = "1", + }, + { + .key = "ro.opa.eligible_device", + .value = "true", + }, + { + .key = "ro.opengles.version", + .value = "196610", + }, + { + .key = "ro.patch.baseline.version", + .value = "2.0", + }, + { + .key = "ro.product.CustCVersion", + .value = "C636", + }, + { + .key = "ro.product.board", + .value = "ALP", + }, + { + .key = "ro.product.brand", + .value = "HUAWEI", + }, + { + .key = "ro.product.cpu.abi", + .value = "arm64-v8a", + }, + { + .key = "ro.product.cpu.abilist", + .value = "arm64-v8a,armeabi-v7a,armeabi", + }, + { + .key = "ro.product.cpu.abilist32", + .value = "armeabi-v7a,armeabi", + }, + { + .key = "ro.product.cpu.abilist64", + .value = "arm64-v8a", + }, + { + .key = "ro.product.device", + .value = "HWALP", + }, + { + .key = "ro.product.fingerprintName", + .value = "HUAWEI-Z105", + }, + { + .key = "ro.product.hardwareversion", + .value = "HL1AALPSM", + }, + { + .key = "ro.product.locale", + .value = "en-GB", + }, + { + .key = "ro.product.locale.language", + .value = "en", + }, + { + .key = "ro.product.locale.region", + .value = "US", + }, + { + .key = "ro.product.manufacturer", + .value = "HUAWEI", + }, + { + .key = "ro.product.model", + .value = "ALP-L29", + }, + { + .key = "ro.product.name", + .value = "ALP-L29", + }, + { + .key = "ro.product.platform", + .value = "kirin970", + }, + { + .key = "ro.product.platform.pseudonym", + .value = "1ARB9CV", + }, + { + .key = "ro.property_service.version", + .value = "2", + }, + { + .key = "ro.pwroff_card_if_tray_out", + .value = "true", + }, + { + .key = "ro.quick_broadcast_cardstatus", + .value = "false", + }, + { + .key = "ro.revision", + .value = "0", + }, + { + .key = "ro.ril.ecclist", + .value = "112,911,#911,*911", + }, + { + .key = "ro.runmode", + .value = "normal", + }, + { + .key = "ro.secure", + .value = "1", + }, + { + .key = "ro.serialno", + .value = "QMU7N17A21017472", + }, + { + .key = "ro.setupwizard.mode", + .value = "OPTIONAL", + }, + { + .key = "ro.setupwizard.require_network", + .value = "ro.setupwizard.mode=OPTIONAL", + }, + { + .key = "ro.setupwizard.wifi_on_exit", + .value = "false", + }, + { + .key = "ro.sf.lcd_density", + .value = "480", + }, + { + .key = "ro.sf.real_lcd_density", + .value = "640", + }, + { + .key = "ro.sys.powerup_reason", + .value = "NORMAL", + }, + { + .key = "ro.sys.sdcardfs", + .value = "1", + }, + { + .key = "ro.sys.umsdirtyratio", + .value = "2", + }, + { + .key = "ro.sys.wp", + .value = "true", + }, + { + .key = "ro.sysui.show.normal.layout", + .value = "true", + }, + { + .key = "ro.telephony.default_network", + .value = "9", + }, + { + .key = "ro.treble.enabled", + .value = "true", + }, + { + .key = "ro.tui.service", + .value = "true", + }, + { + .key = "ro.userlock", + .value = "locked", + }, + { + .key = "ro.vendor.build.date", + .value = "Mon Oct 16 19:28:31 CST 2017", + }, + { + .key = "ro.vendor.build.date.utc", + .value = "1508153311", + }, + { + .key = "ro.vendor.build.fingerprint", + .value = "HUAWEI/ALP-L29/HWALP:8.0.0/HUAWEIALP-L29/115(C636):user/release-keys", + }, + { + .key = "ro.vendor.vndk.version", + .value = "26.0.0", + }, + { + .key = "ro.wifi.channels", + .value = "", + }, + { + .key = "ro.zygote", + .value = "zygote64_32", + }, + { + .key = "security.perf_harden", + .value = "1", + }, + { + .key = "service.bootanim.exit", + .value = "1", + }, + { + .key = "service.sf.present_timestamp", + .value = "1", + }, + { + .key = "sys.2dsdr.pkgname", + .value = "*", + }, + { + .key = "sys.2dsdr.startratio", + .value = "1", + }, + { + .key = "sys.aps.2kenablesdrdefault", + .value = "true", + }, + { + .key = "sys.aps.browserProcessName", + .value = "", + }, + { + .key = "sys.aps.gameProcessName", + .value = "", + }, + { + .key = "sys.aps.support", + .value = "1032427", + }, + { + .key = "sys.aps.version", + .value = "5.0.4-5.0.15", + }, + { + .key = "sys.boot_completed", + .value = "1", + }, + { + .key = "sys.defaultapn.enabled", + .value = "true", + }, + { + .key = "sys.fingerprint.deviceId", + .value = "0", + }, + { + .key = "sys.hisi.pmom.service.enable", + .value = "false", + }, + { + .key = "sys.huawei.thermal.enable", + .value = "true", + }, + { + .key = "sys.hw_boot_success", + .value = "1", + }, + { + .key = "sys.hwsholder.count", + .value = "0", + }, + { + .key = "sys.iaware.cpuset.screenoff.bg", + .value = "0-3", + }, + { + .key = "sys.iaware.cpuset.screenoff.boost", + .value = "0-7", + }, + { + .key = "sys.iaware.cpuset.screenoff.fg", + .value = "0-7", + }, + { + .key = "sys.iaware.cpuset.screenoff.kbg", + .value = "0-3", + }, + { + .key = "sys.iaware.cpuset.screenoff.sysbg", + .value = "0-3", + }, + { + .key = "sys.iaware.cpuset.screenoff.taboost", + .value = "", + }, + { + .key = "sys.iaware.cpuset.screenoff.topapp", + .value = "0-7", + }, + { + .key = "sys.iaware.cpuset.screenon.bg", + .value = "2-3", + }, + { + .key = "sys.iaware.cpuset.screenon.boost", + .value = "4-7", + }, + { + .key = "sys.iaware.cpuset.screenon.fg", + .value = "0-7", + }, + { + .key = "sys.iaware.cpuset.screenon.kbg", + .value = "2-3,7", + }, + { + .key = "sys.iaware.cpuset.screenon.sysbg", + .value = "0-3", + }, + { + .key = "sys.iaware.cpuset.screenon.taboost", + .value = "4-7", + }, + { + .key = "sys.iaware.cpuset.screenon.topapp", + .value = "0-7", + }, + { + .key = "sys.iaware.cpuset.vron.bg", + .value = "0-2", + }, + { + .key = "sys.iaware.cpuset.vron.boost", + .value = "4-7", + }, + { + .key = "sys.iaware.cpuset.vron.fg", + .value = "0-2,4-7", + }, + { + .key = "sys.iaware.cpuset.vron.kbg", + .value = "0-2", + }, + { + .key = "sys.iaware.cpuset.vron.sysbg", + .value = "0-2", + }, + { + .key = "sys.iaware.cpuset.vron.taboost", + .value = "", + }, + { + .key = "sys.iaware.cpuset.vron.topapp", + .value = "0-7", + }, + { + .key = "sys.iaware.eas.on", + .value = "true", + }, + { + .key = "sys.iaware.empty_app_percent", + .value = "67", + }, + { + .key = "sys.iaware.nosave.h.freq", + .value = "1364000", + }, + { + .key = "sys.iaware.nosave.h.load", + .value = "90", + }, + { + .key = "sys.iaware.nosave.h.tload", + .value = "80:1364000:75:1498000:85:1652000:95", + }, + { + .key = "sys.iaware.nosave.l.freq", + .value = "1402000", + }, + { + .key = "sys.iaware.nosave.l.load", + .value = "95", + }, + { + .key = "sys.iaware.nosave.l.tload", + .value = "75:1018000:85:1402000:75:1556000:83", + }, + { + .key = "sys.iaware.save.h.freq", + .value = "1364000", + }, + { + .key = "sys.iaware.save.h.load", + .value = "90", + }, + { + .key = "sys.iaware.save.h.tload", + .value = "80:1364000:75:1498000:85:1652000:95", + }, + { + .key = "sys.iaware.save.l.freq", + .value = "1402000", + }, + { + .key = "sys.iaware.save.l.load", + .value = "95", + }, + { + .key = "sys.iaware.save.l.tload", + .value = "75:1018000:85:1402000:75:1556000:83", + }, + { + .key = "sys.iaware.set.h.freq", + .value = "1364000", + }, + { + .key = "sys.iaware.set.h.load", + .value = "90", + }, + { + .key = "sys.iaware.set.h.tload", + .value = "80:1364000:75:1498000:85:1652000:95", + }, + { + .key = "sys.iaware.set.l.freq", + .value = "1402000", + }, + { + .key = "sys.iaware.set.l.load", + .value = "95", + }, + { + .key = "sys.iaware.set.l.tload", + .value = "75:1018000:85:1402000:75:1556000:83", + }, + { + .key = "sys.iaware.supersave.h.freq", + .value = "1364000", + }, + { + .key = "sys.iaware.supersave.h.load", + .value = "90", + }, + { + .key = "sys.iaware.supersave.h.tload", + .value = "80:1364000:75:1498000:85:1652000:95", + }, + { + .key = "sys.iaware.supersave.l.freq", + .value = "1402000", + }, + { + .key = "sys.iaware.supersave.l.load", + .value = "95", + }, + { + .key = "sys.iaware.supersave.l.tload", + .value = "75:1018000:85:1402000:75:1556000:83", + }, + { + .key = "sys.iswifihotspoton", + .value = "false", + }, + { + .key = "sys.logbootcomplete", + .value = "1", + }, + { + .key = "sys.logbuffer.disable", + .value = "false", + }, + { + .key = "sys.oem_unlock_allowed", + .value = "0", + }, + { + .key = "sys.pg.pre_rescue_boot_count", + .value = "1", + }, + { + .key = "sys.refresh.dirty", + .value = "1", + }, + { + .key = "sys.rescue_boot_count", + .value = "1", + }, + { + .key = "sys.resettype", + .value = "normal:press1s", + }, + { + .key = "sys.rog.density", + .value = "480", + }, + { + .key = "sys.rog.height", + .value = "1920", + }, + { + .key = "sys.rog.width", + .value = "1080", + }, + { + .key = "sys.show_google_nlp", + .value = "true", + }, + { + .key = "sys.super_power_save", + .value = "false", + }, + { + .key = "sys.sysctl.extra_free_kbytes", + .value = "24300", + }, + { + .key = "sys.usb.config", + .value = "hisuite,mtp,mass_storage,adb", + }, + { + .key = "sys.usb.configfs", + .value = "1", + }, + { + .key = "sys.usb.controller", + .value = "ff100000.dwc3", + }, + { + .key = "sys.usb.ffs.ready", + .value = "1", + }, + { + .key = "sys.usb.ffs_hdb.ready", + .value = "0", + }, + { + .key = "sys.usb.state", + .value = "hisuite,mtp,mass_storage,adb", + }, + { + .key = "sys.userdata_is_ready", + .value = "1", + }, + { + .key = "sys.wifitracing.started", + .value = "1", + }, + { + .key = "system_init.hwextdeviceservice", + .value = "1", + }, + { + .key = "trustedcore_sfs_property", + .value = "1", + }, + { + .key = "use_sensorhub_labc", + .value = "false", + }, + { + .key = "viatel.device.at", + .value = "spi.10.ttySPI", + }, + { + .key = "viatel.device.data", + .value = "spi.0.ttySPI", + }, + { + .key = "viatel.device.fls", + .value = "spi.2.ttySPI", + }, + { + .key = "viatel.device.gps", + .value = "spi.5.ttySPI", + }, + { + .key = "viatel.device.pcv", + .value = "spi.4.ttySPI", + }, + { + .key = "vold.crypto_unencrypt_updatedir", + .value = "/data/update", + }, + { + .key = "vold.cryptsd.keystate", + .value = "unlock", + }, + { + .key = "vold.has_adoptable", + .value = "0", + }, + { + .key = "vold.post_fs_data_done", + .value = "1", + }, + { + .key = "wifi.interface", + .value = "wlan0", + }, + { NULL }, +}; +#endif /* __ANDROID__ */ |