Home
last modified time | relevance | path

Searched refs:GetUintProperty (Results 1 – 18 of 18) sorted by relevance

/system/core/llkd/tests/
Dllkd_test.cpp41 milliseconds GetUintProperty(const std::string& key, milliseconds def) { in GetUintProperty() function
42 return milliseconds(android::base::GetUintProperty(key, static_cast<uint64_t>(def.count()), in GetUintProperty()
46 seconds GetUintProperty(const std::string& key, seconds def) { in GetUintProperty() function
47 return seconds(android::base::GetUintProperty(key, static_cast<uint64_t>(def.count()), in GetUintProperty()
78 if ((GetUintProperty(LLK_TIMEOUT_MS_PROPERTY, LLK_TIMEOUT_MS_DEFAULT) != in llkdSleepPeriod()
80 (GetUintProperty(LLK_CHECK_MS_PROPERTY, in llkdSleepPeriod()
120 khtTimeout = GetUintProperty(KHT_TIMEOUT_PROPERTY, khtTimeout); in llkdSleepPeriod()
123 llkTimeoutMs = GetUintProperty(LLK_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkdSleepPeriod()
128 auto timeout = GetUintProperty((state == 'Z') ? LLK_Z_TIMEOUT_MS_PROPERTY in llkdSleepPeriod()
139 llkCheckMs = GetUintProperty(LLK_CHECK_MS_PROPERTY, llkCheckMs); in llkdSleepPeriod()
/system/extras/simpleperf/
Dmain.cpp49 if (IsInAppUid() && android::base::GetUintProperty("persist.simpleperf.profile_app_uid", 0u, in AndroidSecurityCheck()
51 if (android::base::GetUintProperty<uint64_t>("persist.simpleperf.profile_app_expiration_time", in AndroidSecurityCheck()
/system/libbase/
Dproperties.cpp92 T GetUintProperty(const std::string& key, T default_value, T max) { in GetUintProperty() function
104 template uint8_t GetUintProperty(const std::string&, uint8_t, uint8_t);
105 template uint16_t GetUintProperty(const std::string&, uint16_t, uint16_t);
106 template uint32_t GetUintProperty(const std::string&, uint32_t, uint32_t);
107 template uint64_t GetUintProperty(const std::string&, uint64_t, uint64_t);
Dproperties_test.cpp134 EXPECT_EQ(T(12), android::base::GetUintProperty<T>("debug.libbase.property_test", 45)); in CheckGetUintProperty()
138 EXPECT_EQ(T(45), android::base::GetUintProperty<T>("debug.libbase.property_test", 45)); in CheckGetUintProperty()
142 EXPECT_EQ(T(12), android::base::GetUintProperty<T>("debug.libbase.property_test", 33, 22)); in CheckGetUintProperty()
144 EXPECT_EQ(T(5), android::base::GetUintProperty<T>("debug.libbase.property_test", 5, 10)); in CheckGetUintProperty()
/system/libvintf/
DPropertyFetcher.cpp48 return android::base::GetUintProperty(key, defaultValue, max); in getUintProperty()
/system/vold/model/
DVolumeEncryption.cpp36 android::base::GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in lookup_volume_method()
/system/core/llkd/
Dlibllkd.cpp580 milliseconds GetUintProperty(const std::string& key, milliseconds def) { in GetUintProperty() function
581 return milliseconds(android::base::GetUintProperty(key, static_cast<uint64_t>(def.count()), in GetUintProperty()
585 seconds GetUintProperty(const std::string& key, seconds def) { in GetUintProperty() function
586 return seconds(android::base::GetUintProperty(key, static_cast<uint64_t>(def.count()), in GetUintProperty()
1303 khtTimeout = GetUintProperty(KHT_TIMEOUT_PROPERTY, khtTimeout); in llkInit()
1310 llkTimeoutMs = GetUintProperty(LLK_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkInit()
1312 llkStateTimeoutMs[llkStateD] = GetUintProperty(LLK_D_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkInit()
1313 llkStateTimeoutMs[llkStateZ] = GetUintProperty(LLK_Z_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkInit()
1315 llkStateTimeoutMs[llkStateStack] = GetUintProperty(LLK_STACK_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkInit()
1317 llkCheckMs = GetUintProperty(LLK_CHECK_MS_PROPERTY, llkCheckMs); in llkInit()
/system/libbase/include/android-base/
Dproperties.h50 template <typename T> T GetUintProperty(const std::string& key,
/system/core/libprocessgroup/setup/
Dcgroup_map_write.cpp48 using android::base::GetUintProperty;
234 unsigned int api_level = GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in ReadDescriptors()
/system/core/init/
Dreboot.cpp75 using android::base::GetUintProperty;
331 auto shutdown_watchdog_timeout = android::base::GetUintProperty( in RebootMonitorThread()
624 auto shutdown_timeout_final = android::base::GetUintProperty("ro.build.shutdown_timeout", in DoReboot()
821 auto value = GetUintProperty(name, static_cast<uint64_t>(default_value.count())); in GetMillisProperty()
Dservice.cpp507 android::base::GetUintProperty(limit_property_, computed_limit_in_bytes, SIZE_MAX); in ConfigureMemcg()
/system/vold/
DCheckpoint.cpp48 using android::base::GetUintProperty;
324 uint32_t msleeptime = GetUintProperty(kSleepTimeProp, msleeptime_default, max_msleeptime); in cp_healthDaemon()
326 GetUintProperty(kMinFreeBytesProp, min_free_bytes_default, (uint64_t)-1); in cp_healthDaemon()
DMetadataCrypt.cpp262 unsigned int options_format_version = android::base::GetUintProperty<unsigned int>( in fscrypt_mount_metadata_encrypted()
/system/extras/libfscrypt/
Dfscrypt.cpp138 return android::base::GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in GetFirstApiLevel()
/system/core/libprocessgroup/
Dtask_profiles.cpp42 using android::base::GetUintProperty;
789 unsigned int api_level = GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in TaskProfiles()
/system/core/fs_mgr/
Dfs_mgr.cpp99 using android::base::GetUintProperty;
1220 unsigned int options_format_version = android::base::GetUintProperty<unsigned int>( in UpdateCheckpointPartition()
1664 auto value = GetUintProperty(name, static_cast<uint64_t>(default_value.count())); in GetMillisProperty()
Dfs_mgr_overlayfs.cpp1116 auto size = android::base::GetUintProperty<uint64_t>(kDataScratchSizeMbProp, 0) * 1_MiB; in CreateScratchOnData()
/system/incremental_delivery/incfs/
Dincfs.cpp131 uint64_t api_level = android::base::GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in getFirstApiLevel()