Home
last modified time | relevance | path

Searched refs:GetUintProperty (Results 1 – 21 of 21) 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()
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/
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/libbase/include/android-base/
Dproperties.h50 template <typename T> T GetUintProperty(const std::string& key,
/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()
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/
Dcgroup_map_write.cpp48 using android::base::GetUintProperty;
229 unsigned int api_level = GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in ReadDescriptors()
/system/iorap/src/db/
Dfile_models.cc33 ::android::base::GetUintProperty("iorapd.perfetto.max_traces", /*default*/2u);
/system/core/init/
Dreboot.cpp73 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()
Dservice.cpp605 computed_limit_in_bytes = android::base::GetUintProperty( in Start()
/system/vold/
DCheckpoint.cpp46 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()
DMetadataCrypt.cpp232 unsigned int options_format_version = android::base::GetUintProperty<unsigned int>( in fscrypt_mount_metadata_encrypted()
/system/iorap/src/perfetto/
Dperfetto_consumer.cc390 ::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()
Drx_producer.cc77 ::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/
Dtask_profiles.cpp42 using android::base::GetUintProperty;
398 unsigned int api_level = GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in TaskProfiles()
/system/extras/libfscrypt/
Dfscrypt.cpp136 return android::base::GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in GetFirstApiLevel()
/system/iorap/src/prefetcher/
Dread_ahead.cc68 static uint64_t kMaxPrefetchBytes = ::android::base::GetUintProperty<uint64_t>(
/system/core/fs_mgr/
Dfs_mgr.cpp100 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/
Devent_manager.cc1239 ::android::base::GetUintProperty<uint64_t>("iorapd.maintenance.min_traces", /*default*/1); in RefreshSystemProperties()
/system/incremental_delivery/incfs/
Dincfs.cpp126 uint64_t api_level = android::base::GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in getFirstApiLevel()