Lines Matching refs:BatteryDefender
37 BatteryDefender::BatteryDefender(const std::string pathWirelessPresent, in BatteryDefender() function in hardware::google::pixel::health::BatteryDefender
51 void BatteryDefender::clearStateData(void) { in clearStateData()
58 void BatteryDefender::setWirelessNotSupported(void) { in setWirelessNotSupported()
62 void BatteryDefender::loadPersistentStorage(void) { in loadPersistentStorage()
70 int64_t BatteryDefender::getTime(void) { in getTime()
74 int64_t BatteryDefender::getDeltaTimeSeconds(int64_t *timeStartSecs) { in getDeltaTimeSeconds()
81 void BatteryDefender::removeLineEndings(std::string *str) { in removeLineEndings()
86 int BatteryDefender::readFileToInt(const std::string &path) { in readFileToInt()
106 bool BatteryDefender::writeIntToFile(const std::string &path, const int value) { in writeIntToFile()
115 void BatteryDefender::writeTimeToFile(const std::string &path, const int value, int64_t *previous) { in writeTimeToFile()
126 void BatteryDefender::writeChargeLevelsToFile(const int vendorStart, const int vendorStop) { in writeChargeLevelsToFile()
162 bool BatteryDefender::isChargePowerAvailable(void) { in isChargePowerAvailable()
172 bool BatteryDefender::isDefaultChargeLevel(const int start, const int stop) { in isDefaultChargeLevel()
176 bool BatteryDefender::isBatteryDefenderDisabled(const int vendorStart, const int vendorStop) { in isBatteryDefenderDisabled()
186 void BatteryDefender::addTimeToChargeTimers(void) { in addTimeToChargeTimers()
197 int32_t BatteryDefender::getTimeToActivate(void) { in getTimeToActivate()
216 void BatteryDefender::stateMachine_runAction(const state_E state, in stateMachine_runAction()
255 BatteryDefender::state_E BatteryDefender::stateMachine_getNextState(const state_E state) { in stateMachine_getNextState()
317 void BatteryDefender::stateMachine_firstAction(const state_E state) { in stateMachine_firstAction()
348 void BatteryDefender::updateDefenderProperties(struct android::BatteryProperties *props) { in updateDefenderProperties()
387 void BatteryDefender::update(struct android::BatteryProperties *props) { in update()