/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() 82 if ((GetUintProperty(LLK_TIMEOUT_MS_PROPERTY, LLK_TIMEOUT_MS_DEFAULT) != in llkdSleepPeriod() 84 (GetUintProperty(LLK_CHECK_MS_PROPERTY, in llkdSleepPeriod() 128 khtTimeout = GetUintProperty(KHT_TIMEOUT_PROPERTY, khtTimeout); in llkdSleepPeriod() 131 llkTimeoutMs = GetUintProperty(LLK_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkdSleepPeriod() 136 auto timeout = GetUintProperty((state == 'Z') ? LLK_Z_TIMEOUT_MS_PROPERTY in llkdSleepPeriod() 147 llkCheckMs = GetUintProperty(LLK_CHECK_MS_PROPERTY, llkCheckMs); in llkdSleepPeriod()
|
/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/bpf/libbpf_android/ |
D | BpfUtils.cpp | 144 uint64_t api_level = base::GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in getUncachedBpfSupportLevel() 147 api_level = base::GetUintProperty<uint64_t>("ro.build.version.sdk", 0); in getUncachedBpfSupportLevel()
|
/system/libvintf/ |
D | PropertyFetcher.cpp | 48 return android::base::GetUintProperty(key, defaultValue, max); in getUintProperty()
|
/system/vold/model/ |
D | VolumeEncryption.cpp | 37 android::base::GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in lookup_volume_method()
|
/system/libbase/include/android-base/ |
D | properties.h | 50 template <typename T> T GetUintProperty(const std::string& key,
|
/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/core/init/ |
D | reboot.cpp | 73 using android::base::GetUintProperty; 330 auto shutdown_watchdog_timeout = android::base::GetUintProperty( in RebootMonitorThread() 576 auto shutdown_timeout_final = android::base::GetUintProperty("ro.build.shutdown_timeout", in DoReboot() 758 auto value = GetUintProperty(name, static_cast<uint64_t>(default_value.count())); in GetMillisProperty()
|
D | service.cpp | 598 computed_limit_in_bytes = android::base::GetUintProperty( in Start()
|
/system/vold/ |
D | Checkpoint.cpp | 46 using android::base::GetUintProperty; 314 uint32_t msleeptime = GetUintProperty(kSleepTimeProp, msleeptime_default, max_msleeptime); in cp_healthDaemon() 316 GetUintProperty(kMinFreeBytesProp, min_free_bytes_default, (uint64_t)-1); in cp_healthDaemon()
|
D | MetadataCrypt.cpp | 287 unsigned int options_format_version = android::base::GetUintProperty<unsigned int>( in fscrypt_mount_metadata_encrypted()
|
/system/iorap/src/perfetto/ |
D | rx_producer.cc | 77 ::android::base::GetUintProperty("iorapd.perfetto.trace_duration_ms", /*default*/5000U); in CreateComponent() 80 ::android::base::GetUintProperty("iorapd.perfetto.buffer_size", /*default*/4096U); in CreateComponent()
|
/system/netd/server/ |
D | ClatdController.cpp | 86 uint64_t api_level = base::GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in init() 89 api_level = base::GetUintProperty<uint64_t>("ro.build.version.sdk", 0); in init()
|
/system/extras/libfscrypt/ |
D | fscrypt.cpp | 136 return android::base::GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in GetFirstApiLevel()
|
/system/core/fs_mgr/ |
D | fs_mgr.cpp | 100 using android::base::GetUintProperty; 1142 unsigned int options_format_version = android::base::GetUintProperty<unsigned int>( in UpdateCheckpointPartition() 1601 auto value = GetUintProperty(name, static_cast<uint64_t>(default_value.count())); in GetMillisProperty()
|