Searched refs:GetIntProperty (Results 1 – 10 of 10) sorted by relevance
/hardware/google/pixel/health/test/ |
D | TestBatteryDefender.cpp | 34 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/ |
D | BatteryDefender.cpp | 130 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()
|
D | BatteryThermalControl.cpp | 24 using android::base::GetIntProperty; 46 int bcl_disable = GetIntProperty("persist.vendor.disable.bcl.control", 0); in updateThermalState()
|
/hardware/google/pixel/power-libperfmgr/aidl/ |
D | service.cpp | 75 if (::android::base::GetIntProperty("vendor.powerhal.adpf.rate", -1) != -1) { in main()
|
D | PowerHintSession.cpp | 105 : 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>(
|
D | Power.cpp | 57 ::android::base::GetIntProperty(kPowerHalAdpfRateProp, kPowerHalAdpfRateDefault)) { in Power()
|
/hardware/google/pixel/vibrator/common/ |
D | utils.h | 88 return ::android::base::GetIntProperty(key, def); in getProperty()
|
/hardware/google/pixel/pixelstats/ |
D | SysfsCollector.cpp | 844 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/ |
D | ExecutionBurstUtils.cpp | 51 base::GetIntProperty(property, kDefaultPollingTimeWindow, kMinPollingTimeWindow); in getPollingTimeWindow()
|
/hardware/interfaces/radio/1.5/vts/functional/ |
D | radio_hidl_hal_api.cpp | 1273 int32_t firstApiLevel = android::base::GetIntProperty<int32_t>("ro.product.first_api_level", 0); in TEST_P()
|