Home
last modified time | relevance | path

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

12

/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.vendor.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/core/fs_mgr/libsnapshot/
Dvts_ota_config_test.cpp21 return android::base::GetIntProperty("ro.vendor.api_level", -1); in GetVsrLevel()
/system/tools/hidl/test/lazy_test/
Dhidl_lazy_test.cpp105 int timeout_multiplier = android::base::GetIntProperty("ro.hw_timeout_multiplier", 1); in TearDown()
148 int timeout_multiplier = android::base::GetIntProperty("ro.hw_timeout_multiplier", 1); in testWithTimes()
240 int timeout_multiplier = android::base::GetIntProperty("ro.hw_timeout_multiplier", 1); in TEST_F()
/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;
255 return GetIntProperty<int64_t>(kPropBuildDateUTC, 0); in GetBuildTimestamp()
/system/core/init/
Dapex_init_util.cpp92 android::base::GetIntProperty("ro.build.version.sdk", INT_MAX)); in ParseApexConfigs()
Dinit_test.cpp46 using android::base::GetIntProperty;
614 if (GetIntProperty("ro.product.first_api_level", 10000) < 30) { in TEST()
641 if (android::base::GetIntProperty("ro.vendor.api_level", 0) < __ANDROID_API_U__) { in TEST()
Dservice.cpp65 using android::base::GetIntProperty;
346 int secs = GetIntProperty("persist.device_config.memory_safety_native.upgrade_secs.default", in Reap()
348 secs = GetIntProperty( in Reap()
Dueventd.cpp313 if (android::base::GetIntProperty("ro.product.first_api_level", 10000) < __ANDROID_API_T__) { in GetConfiguration()
Dproperty_service.cpp1086 api_level = android::base::GetIntProperty(api_level_prop, API_LEVEL_CURRENT); in read_api_level_props()
/system/gsid/tests/
Dboot_tests.cpp52 return android::base::GetIntProperty("ro.vendor.api_level", -1); in GetVsrLevel()
/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/core/fs_mgr/tests/
Dvts_fs_test.cpp30 return android::base::GetIntProperty("ro.vendor.api_level", -1); in GetVsrLevel()
/system/memory/libdmabufheap/tests/
Ddmabuf_heap_test.cpp288 if (android::base::GetIntProperty("ro.vendor.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 WaitForDevice()
/system/core/fs_mgr/
Dfs_mgr_fstab.cpp680 if (android::base::GetIntProperty("ro.product.first_api_level", 0) >= 30) { in EnableMandatoryFlags()
Dfs_mgr_overlayfs.cpp120 android::base::GetIntProperty("ro.vendor.api_level", -1) < __ANDROID_API_T__) { in OverlayMountPoints()
/system/core/bootstat/
Dbootstat.cpp1290 android::base::GetIntProperty<int64_t>("ro.boot.boottime_offset", 0); in GetBootTimeOffset()

12