/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() 127 khtTimeout = GetUintProperty(KHT_TIMEOUT_PROPERTY, khtTimeout); in llkdSleepPeriod() 130 llkTimeoutMs = GetUintProperty(LLK_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkdSleepPeriod() 135 auto timeout = GetUintProperty((state == 'Z') ? LLK_Z_TIMEOUT_MS_PROPERTY in llkdSleepPeriod() 146 llkCheckMs = GetUintProperty(LLK_CHECK_MS_PROPERTY, llkCheckMs); in llkdSleepPeriod()
|
/system/core/base/ |
D | properties.cpp | 55 T GetUintProperty(const std::string& key, T default_value, T max) { in GetUintProperty() function 67 template uint8_t GetUintProperty(const std::string&, uint8_t, uint8_t); 68 template uint16_t GetUintProperty(const std::string&, uint16_t, uint16_t); 69 template uint32_t GetUintProperty(const std::string&, uint32_t, uint32_t); 70 template uint64_t GetUintProperty(const std::string&, uint64_t, uint64_t);
|
D | properties_test.cpp | 107 EXPECT_EQ(T(12), android::base::GetUintProperty<T>("debug.libbase.property_test", 45)); in CheckGetUintProperty() 111 EXPECT_EQ(T(45), android::base::GetUintProperty<T>("debug.libbase.property_test", 45)); in CheckGetUintProperty() 115 EXPECT_EQ(T(12), android::base::GetUintProperty<T>("debug.libbase.property_test", 33, 22)); in CheckGetUintProperty() 117 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/core/base/include/android-base/ |
D | properties.h | 47 template <typename T> T GetUintProperty(const std::string& key,
|
/system/bpf/libbpf_android/ |
D | BpfUtils.cpp | 44 using android::base::GetUintProperty; 268 uint64_t api_level = GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in getBpfSupportLevel() 271 api_level = GetUintProperty<uint64_t>("ro.build.version.sdk", 0); in getBpfSupportLevel()
|
/system/core/llkd/ |
D | libllkd.cpp | 573 milliseconds GetUintProperty(const std::string& key, milliseconds def) { in GetUintProperty() function 574 return milliseconds(android::base::GetUintProperty(key, static_cast<uint64_t>(def.count()), in GetUintProperty() 578 seconds GetUintProperty(const std::string& key, seconds def) { in GetUintProperty() function 579 return seconds(android::base::GetUintProperty(key, static_cast<uint64_t>(def.count()), in GetUintProperty() 1276 khtTimeout = GetUintProperty(KHT_TIMEOUT_PROPERTY, khtTimeout); in llkInit() 1283 llkTimeoutMs = GetUintProperty(LLK_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkInit() 1285 llkStateTimeoutMs[llkStateD] = GetUintProperty(LLK_D_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkInit() 1286 llkStateTimeoutMs[llkStateZ] = GetUintProperty(LLK_Z_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkInit() 1288 llkStateTimeoutMs[llkStateStack] = GetUintProperty(LLK_STACK_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkInit() 1290 llkCheckMs = GetUintProperty(LLK_CHECK_MS_PROPERTY, llkCheckMs); in llkInit()
|
/system/vold/ |
D | Checkpoint.cpp | 46 using android::base::GetUintProperty; 279 uint32_t msleeptime = GetUintProperty(kSleepTimeProp, msleeptime_default, max_msleeptime); in cp_healthDaemon() 281 GetUintProperty(kMinFreeBytesProp, min_free_bytes_default, (uint64_t)-1); in cp_healthDaemon()
|
/system/netd/server/ |
D | ClatdController.cpp | 85 uint64_t api_level = base::GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in init() 88 api_level = base::GetUintProperty<uint64_t>("ro.build.version.sdk", 0); in init()
|
/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/core/init/ |
D | reboot.cpp | 363 auto shutdown_timeout_final = android::base::GetUintProperty("ro.build.shutdown_timeout", in DoReboot()
|
D | service.cpp | 1119 computed_limit_in_bytes = android::base::GetUintProperty( in Start()
|