/aosp12/system/core/llkd/tests/ |
H A 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() 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 D | util.h | 47 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 D | InteractionHandler.cpp | 54 ::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 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);
|
H A 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()
|
/aosp12/hardware/interfaces/biometrics/fingerprint/2.2/vts/functional/ |
H A D | VtsHalBiometricsFingerprintV2_2TargetTest.cpp | 40 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 D | PowerHintSession.cpp | 119 ::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 D | OmxInfoBuilder.cpp | 142 ::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 D | VtsHalPowerTargetTest.cpp | 32 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 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()
|
/aosp12/system/libvintf/ |
H A D | PropertyFetcher.cpp | 48 return android::base::GetUintProperty(key, defaultValue, max); in getUintProperty()
|
/aosp12/system/vold/model/ |
H A D | VolumeEncryption.cpp | 36 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 D | VtsHalBiometricsFingerprintV2_1TargetTest.cpp | 34 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 D | properties.h | 50 template <typename T> T GetUintProperty(const std::string& key,
|
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
H A D | Planner.cpp | 41 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 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()
|
/aosp12/system/core/libprocessgroup/setup/ |
H A 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()
|
/aosp12/system/vold/ |
H A 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()
|
H A D | MetadataCrypt.cpp | 232 unsigned int options_format_version = android::base::GetUintProperty<unsigned int>( in fscrypt_mount_metadata_encrypted()
|
/aosp12/system/iorap/src/db/ |
H A D | file_models.cc | 33 ::android::base::GetUintProperty("iorapd.perfetto.max_traces", /*default*/2u);
|
/aosp12/system/iorap/src/perfetto/ |
H A 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()
|
H A 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()
|
/aosp12/hardware/google/pixel/vibrator/common/ |
H A D | utils.h | 93 return ::android::base::GetUintProperty(key, def); in getProperty()
|
/aosp12/hardware/interfaces/health/2.0/vts/functional/ |
H A D | VtsHalHealthV2_0TargetTest.cpp | 468 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 D | task_profiles.cpp | 42 using android::base::GetUintProperty; 454 unsigned int api_level = GetUintProperty<unsigned int>("ro.product.first_api_level", 0); in TaskProfiles()
|