Home
last modified time | relevance | path

Searched refs:GetIntProperty (Results 1 – 16 of 16) sorted by relevance

/system/memory/libmeminfo/vts/
Dvts_meminfo_test.cpp37 if (android::base::GetIntProperty("ro.product.first_api_level", 0) < __ANDROID_API_R__) { in TEST()
49 if (android::base::GetIntProperty("ro.product.first_api_level", 0) < __ANDROID_API_R__) { in TEST()
59 if (android::base::GetIntProperty("ro.product.first_api_level", 0) < __ANDROID_API_R__) { in TEST()
/system/core/base/
Dproperties_test.cpp85 EXPECT_EQ(T(-12), android::base::GetIntProperty<T>("debug.libbase.property_test", 45)); in CheckGetIntProperty()
87 EXPECT_EQ(T(12), android::base::GetIntProperty<T>("debug.libbase.property_test", 45)); in CheckGetIntProperty()
91 EXPECT_EQ(T(45), android::base::GetIntProperty<T>("debug.libbase.property_test", 45)); in CheckGetIntProperty()
95 EXPECT_EQ(T(45), android::base::GetIntProperty<T>("debug.libbase.property_test", 45, 1, 2)); in CheckGetIntProperty()
97 EXPECT_EQ(T(1), android::base::GetIntProperty<T>("debug.libbase.property_test", 45, 1, 2)); in CheckGetIntProperty()
99 EXPECT_EQ(T(2), android::base::GetIntProperty<T>("debug.libbase.property_test", 45, 1, 2)); in CheckGetIntProperty()
101 EXPECT_EQ(T(45), android::base::GetIntProperty<T>("debug.libbase.property_test", 45, 1, 2)); in CheckGetIntProperty()
Dproperties.cpp51 T GetIntProperty(const std::string& key, T default_value, T min, T max) { in GetIntProperty() function
66 template int8_t GetIntProperty(const std::string&, int8_t, int8_t, int8_t);
67 template int16_t GetIntProperty(const std::string&, int16_t, int16_t, int16_t);
68 template int32_t GetIntProperty(const std::string&, int32_t, int32_t, int32_t);
69 template int64_t GetIntProperty(const std::string&, int64_t, int64_t, int64_t);
/system/libvintf/xsd/compatibilityMatrix/vts/
DValidateCompatibilityMatrix.cpp24 if (android::base::GetIntProperty("ro.product.first_api_level", 0) <= 28) { in TEST()
/system/update_engine/
Dhardware_android.cc31 using android::base::GetIntProperty;
192 return GetIntProperty<int64_t>(kPropBuildDateUTC, 0); in GetBuildTimestamp()
/system/libvintf/xsd/halManifest/vts/
DValidateHalManifest.cpp45 if (android::base::GetIntProperty("ro.product.first_api_level", INT64_MAX) <= 28) { in TEST()
/system/core/base/include/android-base/
Dproperties.h42 template <typename T> T GetIntProperty(const std::string& key,
/system/core/debuggerd/tombstoned/
Dtombstoned.cpp48 using android::base::GetIntProperty;
103 GetIntProperty("tombstoned.max_tombstone_count", 32), in for_tombstones()
110 GetIntProperty("tombstoned.max_anr_count", 64), in for_anrs()
/system/core/init/
Dinit_test.cpp36 using android::base::GetIntProperty;
246 if (GetIntProperty("ro.product.first_api_level", 10000) < 30) { in TEST()
/system/server_configurable_flags/libflags/
Dserver_configurable_flags.cc102 int fail_count = android::base::GetIntProperty(ATTEMPTED_BOOT_COUNT_PROPERTY, 0); in ServerConfigurableFlagsReset()
/system/libhidl/transport/base/1.0/vts/functional/
Dvts_ibase_test.cpp78 return android::base::GetIntProperty("init.svc_debug_pid." + service, 0); in GetServiceDebugPid()
/system/netd/server/
DSockDiag.cpp57 return android::base::GetIntProperty("service.adb.tcp.port", 0); in getAdbPort()
/system/core/fs_mgr/libdm/
Ddm.cpp171 int sdk = android::base::GetIntProperty("ro.build.version.sdk", 0); in CreateDevice()
/system/iorap/src/maintenance/
Dcontroller.cc169 android::base::GetIntProperty("iorapd.maintenance.compiler_timeout_ms", in StartViaFork()
/system/core/fs_mgr/
Dfs_mgr_fstab.cpp662 if (android::base::GetIntProperty("ro.product.first_api_level", 0) >= 30) { in EnableMandatoryFlags()
/system/core/bootstat/
Dbootstat.cpp1267 android::base::GetIntProperty<int64_t>("ro.boot.boottime_offset", 0); in GetBootTimeOffset()