Home
last modified time | relevance | path

Searched refs:GetIntProperty (Results 1 – 10 of 10) sorted by relevance

/hardware/google/pixel/health/test/
DTestBatteryDefender.cpp34 virtual int GetIntProperty(const std::string &key, int default_value, int min, int max);
47 MOCK_METHOD4(GetIntProperty, int(const std::string &key, int default_value, int min, int max));
68 T GetIntProperty(const std::string &key, T default_value, T min, T max) { in GetIntProperty() function
69 return (T)(mock->GetIntProperty(key, default_value, min, max)); in GetIntProperty()
76 template int8_t GetIntProperty(const std::string &, int8_t, int8_t, int8_t);
77 template int16_t GetIntProperty(const std::string &, int16_t, int16_t, int16_t);
78 template int32_t GetIntProperty(const std::string &, int32_t, int32_t, int32_t);
79 template int64_t GetIntProperty(const std::string &, int64_t, int64_t, int64_t);
142 EXPECT_CALL(*mock, GetIntProperty(_, _, _, _)).Times(AnyNumber()); in SetUp()
160 ON_CALL(*mock, GetIntProperty(kPropChargeLevelVendorStart, _, _, _)).WillByDefault(Return(0)); in enableDefender()
[all …]
/hardware/google/pixel/health/
DBatteryDefender.cpp130 const int newDefenderLevelStart = android::base::GetIntProperty( in writeChargeLevelsToFile()
132 const int newDefenderLevelStop = android::base::GetIntProperty( in writeChargeLevelsToFile()
201 android::base::GetIntProperty(kPropBatteryDefenderThreshold, kTimeToActivateSecs, in getTimeToActivate()
210 return android::base::GetIntProperty(kPropBatteryDefenderCtrlActivateTime, in getTimeToActivate()
235 const int triggerLevel = android::base::GetIntProperty( in stateMachine_runAction()
291 const int timeToClear = android::base::GetIntProperty( in stateMachine_getNextState()
294 const int bdClear = android::base::GetIntProperty(kPropBatteryDefenderCtrlClear, 0); in stateMachine_getNextState()
394 android::base::GetIntProperty(kPropChargeLevelVendorStart, kChargeLevelDefaultStart); in update()
396 android::base::GetIntProperty(kPropChargeLevelVendorStop, kChargeLevelDefaultStop); in update()
DBatteryThermalControl.cpp24 using android::base::GetIntProperty;
46 int bcl_disable = GetIntProperty("persist.vendor.disable.bcl.control", 0); in updateThermalState()
/hardware/google/pixel/power-libperfmgr/aidl/
Dservice.cpp75 if (::android::base::GetIntProperty("vendor.powerhal.adpf.rate", -1) != -1) { in main()
DPowerHintSession.cpp105 : static_cast<int64_t>(::android::base::GetIntProperty<int64_t>(
110 : static_cast<int64_t>(::android::base::GetIntProperty<int64_t>(
115 : static_cast<int64_t>(::android::base::GetIntProperty<int64_t>(
DPower.cpp57 ::android::base::GetIntProperty(kPowerHalAdpfRateProp, kPowerHalAdpfRateDefault)) { in Power()
/hardware/google/pixel/vibrator/common/
Dutils.h88 return ::android::base::GetIntProperty(key, def); in getProperty()
/hardware/google/pixel/pixelstats/
DSysfsCollector.cpp844 int fsck_time_ms = android::base::GetIntProperty("ro.boottime.init.fsck.data", 0); in logBootStats()
845 int checkpoint_time_ms = android::base::GetIntProperty("ro.boottime.init.mount.data", 0); in logBootStats()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DExecutionBurstUtils.cpp51 base::GetIntProperty(property, kDefaultPollingTimeWindow, kMinPollingTimeWindow); in getPollingTimeWindow()
/hardware/interfaces/radio/1.5/vts/functional/
Dradio_hidl_hal_api.cpp1273 int32_t firstApiLevel = android::base::GetIntProperty<int32_t>("ro.product.first_api_level", 0); in TEST_P()