Searched refs:GetIntProperty (Results 1 – 15 of 15) sorted by relevance
/system/memory/libmeminfo/vts/ |
D | vts_meminfo_test.cpp | 37 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/libbase/ |
D | properties_test.cpp | 112 EXPECT_EQ(T(-12), android::base::GetIntProperty<T>("debug.libbase.property_test", 45)); in CheckGetIntProperty() 114 EXPECT_EQ(T(12), android::base::GetIntProperty<T>("debug.libbase.property_test", 45)); in CheckGetIntProperty() 118 EXPECT_EQ(T(45), android::base::GetIntProperty<T>("debug.libbase.property_test", 45)); in CheckGetIntProperty() 122 EXPECT_EQ(T(45), android::base::GetIntProperty<T>("debug.libbase.property_test", 45, 1, 2)); in CheckGetIntProperty() 124 EXPECT_EQ(T(1), android::base::GetIntProperty<T>("debug.libbase.property_test", 45, 1, 2)); in CheckGetIntProperty() 126 EXPECT_EQ(T(2), android::base::GetIntProperty<T>("debug.libbase.property_test", 45, 1, 2)); in CheckGetIntProperty() 128 EXPECT_EQ(T(45), android::base::GetIntProperty<T>("debug.libbase.property_test", 45, 1, 2)); in CheckGetIntProperty()
|
D | properties.cpp | 84 T GetIntProperty(const std::string& key, T default_value, T min, T max) { in GetIntProperty() function 99 template int8_t GetIntProperty(const std::string&, int8_t, int8_t, int8_t); 100 template int16_t GetIntProperty(const std::string&, int16_t, int16_t, int16_t); 101 template int32_t GetIntProperty(const std::string&, int32_t, int32_t, int32_t); 102 template int64_t GetIntProperty(const std::string&, int64_t, int64_t, int64_t);
|
/system/libvintf/xsd/compatibilityMatrix/vts/ |
D | ValidateCompatibilityMatrix.cpp | 24 if (android::base::GetIntProperty("ro.product.first_api_level", 0) <= 28) { in TEST()
|
/system/update_engine/ |
D | hardware_android.cc | 31 using android::base::GetIntProperty; 198 return GetIntProperty<int64_t>(kPropBuildDateUTC, 0); in GetBuildTimestamp()
|
/system/extras/profcollectd/libprofcollectd/ |
D | scheduler.cpp | 47 using ::android::base::GetIntProperty; 116 GetIntProperty("profcollectd.collection_interval", in ReadConfig() 118 config.samplingPeriod = std::chrono::milliseconds(GetIntProperty( in ReadConfig()
|
/system/libvintf/xsd/halManifest/vts/ |
D | ValidateHalManifest.cpp | 45 if (android::base::GetIntProperty("ro.product.first_api_level", INT64_MAX) <= 28) { in TEST()
|
/system/libbase/include/android-base/ |
D | properties.h | 42 template <typename T> T GetIntProperty(const std::string& key,
|
/system/core/debuggerd/tombstoned/ |
D | tombstoned.cpp | 48 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/ |
D | init_test.cpp | 36 using android::base::GetIntProperty; 246 if (GetIntProperty("ro.product.first_api_level", 10000) < 30) { in TEST()
|
/system/server_configurable_flags/libflags/ |
D | server_configurable_flags.cc | 102 int fail_count = android::base::GetIntProperty(ATTEMPTED_BOOT_COUNT_PROPERTY, 0); in ServerConfigurableFlagsReset()
|
/system/libhidl/transport/base/1.0/vts/functional/ |
D | vts_ibase_test.cpp | 78 return android::base::GetIntProperty("init.svc_debug_pid." + service, 0); in GetServiceDebugPid()
|
/system/core/fs_mgr/libdm/ |
D | dm.cpp | 171 int sdk = android::base::GetIntProperty("ro.build.version.sdk", 0); in CreateDevice()
|
/system/core/fs_mgr/ |
D | fs_mgr_fstab.cpp | 668 if (android::base::GetIntProperty("ro.product.first_api_level", 0) >= 30) { in EnableMandatoryFlags()
|
/system/core/bootstat/ |
D | bootstat.cpp | 1269 android::base::GetIntProperty<int64_t>("ro.boot.boottime_offset", 0); in GetBootTimeOffset()
|