Home
last modified time | relevance | path

Searched refs:GetUintProperty (Results 1 – 25 of 37) sorted by relevance

12

/aosp12/system/core/llkd/tests/
H A 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()
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()
/aosp12/packages/modules/DnsResolver/
H A Dutil.h47 uint64_t buildVersionSdk = android::base::GetUintProperty<uint64_t>("ro.build.version.sdk", 0); in getApiLevel()
49 android::base::GetUintProperty<uint64_t>("ro.build.version.preview_sdk", 0); in getApiLevel()
51 android::base::GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in getApiLevel()
/aosp12/hardware/google/pixel/power-libperfmgr/disp-power/
H A DInteractionHandler.cpp54 ::android::base::GetUintProperty("vendor.powerhal.disp.idle_wait", /*default*/ 100U);
56 ::android::base::GetUintProperty("vendor.powerhal.interaction.min", /*default*/ 1400U);
58 ::android::base::GetUintProperty("vendor.powerhal.interaction.max", /*default*/ 5650U);
60 ::android::base::GetUintProperty("vendor.powerhal.interaction.offset", /*default*/ 650U);
/aosp12/system/libbase/
H A 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);
H A 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()
/aosp12/hardware/interfaces/biometrics/fingerprint/2.2/vts/functional/
H A DVtsHalBiometricsFingerprintV2_2TargetTest.cpp40 using android::base::GetUintProperty;
103 auto api_level = GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in SetUp()
105 api_level = GetUintProperty<uint64_t>("ro.build.version.sdk", 0); in SetUp()
/aosp12/hardware/google/pixel/power-libperfmgr/aidl/
H A DPowerHintSession.cpp119 ::android::base::GetUintProperty<uint32_t>(kPowerHalAdpfUclampMinHighLimit, 384);
121 ::android::base::GetUintProperty<uint32_t>(kPowerHalAdpfUclampMinLowLimit, 2);
123 ::android::base::GetUintProperty<uint32_t>(kPowerHalAdpfUclampMinGranularity, 5);
125 ::android::base::GetUintProperty<uint32_t>(kPowerHalAdpfStaleTimeFactor, 20);
127 ::android::base::GetUintProperty<uint32_t>(kPowerHalAdpfPSamplingWindow, 1);
129 ::android::base::GetUintProperty<uint32_t>(kPowerHalAdpfISamplingWindow, 0);
131 ::android::base::GetUintProperty<uint32_t>(kPowerHalAdpfDSamplingWindow, 1);
/aosp12/frameworks/av/media/libstagefright/
H A DOmxInfoBuilder.cpp142 ::android::base::GetUintProperty("debug.stagefright.omx_default_rank", 0x100u); in buildMediaCodecList()
144 ::android::base::GetUintProperty("debug.stagefright.omx_default_rank.sw-audio", 0x10u); in buildMediaCodecList()
146 ::android::base::GetUintProperty("debug.stagefright.omx_default_rank.sw-other", 0x210u); in buildMediaCodecList()
/aosp12/hardware/interfaces/power/aidl/vts/
H A DVtsHalPowerTargetTest.cpp32 using ::android::base::GetUintProperty;
204 auto apiLevel = GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in TEST_P()
206 apiLevel = GetUintProperty<uint64_t>("ro.build.version.sdk", 0); in TEST_P()
/aosp12/system/core/llkd/
H A 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()
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()
/aosp12/system/libvintf/
H A DPropertyFetcher.cpp48 return android::base::GetUintProperty(key, defaultValue, max); in getUintProperty()
/aosp12/system/vold/model/
H A DVolumeEncryption.cpp36 android::base::GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in lookup_volume_method()
/aosp12/hardware/interfaces/biometrics/fingerprint/2.1/vts/functional/
H A DVtsHalBiometricsFingerprintV2_1TargetTest.cpp34 using android::base::GetUintProperty;
199 uint64_t api_level = GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in SetUp()
201 api_level = GetUintProperty<uint64_t>("ro.build.version.sdk", 0); in SetUp()
/aosp12/system/libbase/include/android-base/
H A Dproperties.h50 template <typename T> T GetUintProperty(const std::string& key,
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
H A DPlanner.cpp41 base::GetUintProperty<uint64_t>(std::string("debug.sf.cached_set_render_duration_ns"), in buildRenderSchedulingTunables()
45 const auto maxDeferRenderAttempts = base::GetUintProperty< in buildRenderSchedulingTunables()
/aosp12/system/core/init/
H A 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()
/aosp12/system/core/libprocessgroup/setup/
H A Dcgroup_map_write.cpp48 using android::base::GetUintProperty;
229 unsigned int api_level = GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in ReadDescriptors()
/aosp12/system/vold/
H A 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()
H A DMetadataCrypt.cpp232 unsigned int options_format_version = android::base::GetUintProperty<unsigned int>( in fscrypt_mount_metadata_encrypted()
/aosp12/system/iorap/src/db/
H A Dfile_models.cc33 ::android::base::GetUintProperty("iorapd.perfetto.max_traces", /*default*/2u);
/aosp12/system/iorap/src/perfetto/
H A 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()
H A 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()
/aosp12/hardware/google/pixel/vibrator/common/
H A Dutils.h93 return ::android::base::GetUintProperty(key, def); in getProperty()
/aosp12/hardware/interfaces/health/2.0/vts/functional/
H A DVtsHalHealthV2_0TargetTest.cpp468 uint64_t api_level = android::base::GetUintProperty<uint64_t>("ro.product.first_api_level", 0); in GetShippingApiLevel()
472 return android::base::GetUintProperty<uint64_t>("ro.build.version.sdk", 0); in GetShippingApiLevel()
/aosp12/system/core/libprocessgroup/
H A Dtask_profiles.cpp42 using android::base::GetUintProperty;
454 unsigned int api_level = GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in TaskProfiles()

12