Home
last modified time | relevance | path

Searched refs:GetIntProperty (Results 1 – 15 of 15) 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/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/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;
198 return GetIntProperty<int64_t>(kPropBuildDateUTC, 0); in GetBuildTimestamp()
/system/extras/profcollectd/libprofcollectd/
Dscheduler.cpp47 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/
DValidateHalManifest.cpp45 if (android::base::GetIntProperty("ro.product.first_api_level", INT64_MAX) <= 28) { in TEST()
/system/libbase/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/core/fs_mgr/libdm/
Ddm.cpp171 int sdk = android::base::GetIntProperty("ro.build.version.sdk", 0); in CreateDevice()
/system/core/fs_mgr/
Dfs_mgr_fstab.cpp668 if (android::base::GetIntProperty("ro.product.first_api_level", 0) >= 30) { in EnableMandatoryFlags()
/system/core/bootstat/
Dbootstat.cpp1269 android::base::GetIntProperty<int64_t>("ro.boot.boottime_offset", 0); in GetBootTimeOffset()