Home
last modified time | relevance | path

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

/system/memory/libmeminfo/vts/
Dvts_meminfo_test.cpp42 if (android::base::GetIntProperty("ro.product.first_api_level", 0) < __ANDROID_API_R__) { in TEST()
54 if (android::base::GetIntProperty("ro.product.first_api_level", 0) < __ANDROID_API_R__) { in TEST()
75 if (android::base::GetIntProperty("ro.product.first_api_level", 0) < __ANDROID_API_R__) { in TEST()
97 if (android::base::GetIntProperty("ro.product.first_api_level", 0) < __ANDROID_API_S__) { in TEST()
/system/libbase/
Dproperties_test.cpp112 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()
Dproperties.cpp84 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/libbase/include/android-base/
Dproperties.h42 template <typename T> T GetIntProperty(const std::string& key,
101 return android::base::GetIntProperty("ro.hw_timeout_multiplier", 1); in HwTimeoutMultiplier()
/system/libvintf/xsd/compatibilityMatrix/vts/
DValidateCompatibilityMatrix.cpp24 if (android::base::GetIntProperty("ro.product.first_api_level", 0) <= 28) { in TEST()
/system/libvintf/xsd/halManifest/vts/
DValidateHalManifest.cpp45 if (android::base::GetIntProperty("ro.product.first_api_level", INT64_MAX) <= 28) { in TEST()
/system/update_engine/aosp/
Dhardware_android.cc45 using android::base::GetIntProperty;
254 return GetIntProperty<int64_t>(kPropBuildDateUTC, 0); in GetBuildTimestamp()
/system/core/init/
Dinit_test.cpp37 using android::base::GetIntProperty;
247 if (GetIntProperty("ro.product.first_api_level", 10000) < 30) { in TEST()
Dueventd.cpp272 if (android::base::GetIntProperty("ro.product.first_api_level", 10000) <= __ANDROID_API_S__) { in GetConfiguration()
/system/server_configurable_flags/libflags/
Dserver_configurable_flags.cc102 int fail_count = android::base::GetIntProperty(ATTEMPTED_BOOT_COUNT_PROPERTY, 0); in ServerConfigurableFlagsReset()
/system/core/debuggerd/tombstoned/
Dtombstoned.cpp48 using android::base::GetIntProperty;
130 GetIntProperty("tombstoned.max_tombstone_count", 32), in for_tombstones()
137 GetIntProperty("tombstoned.max_anr_count", 64), in for_anrs()
/system/memory/libdmabufheap/tests/
Ddmabuf_heap_test.cpp288 if (android::base::GetIntProperty("ro.product.first_api_level", 0) < __ANDROID_API_S__) { in TEST_F()
/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.cpp59 return android::base::GetIntProperty("service.adb.tcp.port", 0); in getAdbPort()
/system/core/fs_mgr/libdm/
Ddm.cpp196 int sdk = android::base::GetIntProperty("ro.build.version.sdk", 0); in CreateDevice()
/system/iorap/src/maintenance/
Dcontroller.cc177 android::base::GetIntProperty("iorapd.maintenance.compiler_timeout_ms", in StartViaFork()
/system/core/fs_mgr/
Dfs_mgr_fstab.cpp680 if (android::base::GetIntProperty("ro.product.first_api_level", 0) >= 30) { in EnableMandatoryFlags()
/system/core/bootstat/
Dbootstat.cpp1270 android::base::GetIntProperty<int64_t>("ro.boot.boottime_offset", 0); in GetBootTimeOffset()
/system/memory/libmeminfo/
Dlibmeminfo_test.cpp970 if (android::base::GetIntProperty("ro.product.first_api_level", 0) < __ANDROID_API_S__) { in TEST()