/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/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/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() 1304 khtTimeout = GetUintProperty(KHT_TIMEOUT_PROPERTY, khtTimeout); in llkInit() 1311 llkTimeoutMs = GetUintProperty(LLK_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkInit() 1313 llkStateTimeoutMs[llkStateD] = GetUintProperty(LLK_D_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkInit() 1314 llkStateTimeoutMs[llkStateZ] = GetUintProperty(LLK_Z_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkInit() 1316 llkStateTimeoutMs[llkStateStack] = GetUintProperty(LLK_STACK_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkInit() 1318 llkCheckMs = GetUintProperty(LLK_CHECK_MS_PROPERTY, llkCheckMs); in llkInit()
|
/system/core/libprocessgroup/setup/ |
D | cgroup_map_write.cpp | 48 using android::base::GetUintProperty; 229 unsigned int api_level = GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in ReadDescriptors()
|
/system/iorap/src/db/ |
D | file_models.cc | 33 ::android::base::GetUintProperty("iorapd.perfetto.max_traces", /*default*/2u);
|
/system/core/init/ |
D | reboot.cpp | 73 using android::base::GetUintProperty; 329 auto shutdown_watchdog_timeout = android::base::GetUintProperty( in RebootMonitorThread() 592 auto shutdown_timeout_final = android::base::GetUintProperty("ro.build.shutdown_timeout", in DoReboot() 777 auto value = GetUintProperty(name, static_cast<uint64_t>(default_value.count())); in GetMillisProperty()
|
D | service.cpp | 605 computed_limit_in_bytes = android::base::GetUintProperty( in Start()
|
/system/vold/ |
D | Checkpoint.cpp | 46 using android::base::GetUintProperty; 313 uint32_t msleeptime = GetUintProperty(kSleepTimeProp, msleeptime_default, max_msleeptime); in cp_healthDaemon() 315 GetUintProperty(kMinFreeBytesProp, min_free_bytes_default, (uint64_t)-1); in cp_healthDaemon()
|
D | MetadataCrypt.cpp | 232 unsigned int options_format_version = android::base::GetUintProperty<unsigned int>( in fscrypt_mount_metadata_encrypted()
|
/system/iorap/src/perfetto/ |
D | perfetto_consumer.cc | 390 ::android::base::GetUintProperty<uint64_t>("iorapd.perfetto.timeout", /*default*/10); in GetPropertyTraceTimeoutNs() 396 ::android::base::GetUintProperty<size_t>("iorapd.perfetto.max_traces", /*default*/5); in GetPropertyMaxTraceCount()
|
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/libprocessgroup/ |
D | task_profiles.cpp | 42 using android::base::GetUintProperty; 398 unsigned int api_level = GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in TaskProfiles()
|
/system/extras/libfscrypt/ |
D | fscrypt.cpp | 136 return android::base::GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in GetFirstApiLevel()
|
/system/iorap/src/prefetcher/ |
D | read_ahead.cc | 68 static uint64_t kMaxPrefetchBytes = ::android::base::GetUintProperty<uint64_t>(
|
/system/core/fs_mgr/ |
D | fs_mgr.cpp | 100 using android::base::GetUintProperty; 1197 unsigned int options_format_version = android::base::GetUintProperty<unsigned int>( in UpdateCheckpointPartition() 1689 auto value = GetUintProperty(name, static_cast<uint64_t>(default_value.count())); in GetMillisProperty()
|
/system/iorap/src/manager/ |
D | event_manager.cc | 1239 ::android::base::GetUintProperty<uint64_t>("iorapd.maintenance.min_traces", /*default*/1); in RefreshSystemProperties()
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 126 uint64_t api_level = android::base::GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in getFirstApiLevel()
|