/system/core/llkd/tests/ |
D | llkd_test.cpp | 41 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/ |
D | main.cpp | 49 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/ |
D | properties.cpp | 92 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);
|
D | properties_test.cpp | 134 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/ |
D | PropertyFetcher.cpp | 48 return android::base::GetUintProperty(key, defaultValue, max); in getUintProperty()
|
/system/vold/model/ |
D | VolumeEncryption.cpp | 36 android::base::GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in lookup_volume_method()
|
/system/core/llkd/ |
D | libllkd.cpp | 580 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/ |
D | properties.h | 50 template <typename T> T GetUintProperty(const std::string& key,
|
/system/core/libprocessgroup/setup/ |
D | cgroup_map_write.cpp | 48 using android::base::GetUintProperty; 234 unsigned int api_level = GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in ReadDescriptors()
|
/system/core/init/ |
D | reboot.cpp | 75 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()
|
D | service.cpp | 507 android::base::GetUintProperty(limit_property_, computed_limit_in_bytes, SIZE_MAX); in ConfigureMemcg()
|
/system/vold/ |
D | Checkpoint.cpp | 48 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()
|
D | MetadataCrypt.cpp | 262 unsigned int options_format_version = android::base::GetUintProperty<unsigned int>( in fscrypt_mount_metadata_encrypted()
|
/system/extras/libfscrypt/ |
D | fscrypt.cpp | 138 return android::base::GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in GetFirstApiLevel()
|
/system/core/libprocessgroup/ |
D | task_profiles.cpp | 42 using android::base::GetUintProperty; 789 unsigned int api_level = GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in TaskProfiles()
|
/system/core/fs_mgr/ |
D | fs_mgr.cpp | 99 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()
|
D | fs_mgr_overlayfs.cpp | 1116 auto size = android::base::GetUintProperty<uint64_t>(kDataScratchSizeMbProp, 0) * 1_MiB; in CreateScratchOnData()
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 131 uint64_t api_level = android::base::GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in getFirstApiLevel()
|