Lines Matching refs:BatteryDefender
43 BatteryDefender::BatteryDefender(const std::string pathWirelessPresent, in BatteryDefender() function in hardware::google::pixel::health::BatteryDefender
58 void BatteryDefender::clearStateData(void) { in clearStateData()
65 void BatteryDefender::setWirelessNotSupported(void) { in setWirelessNotSupported()
69 void BatteryDefender::loadPersistentStorage(void) { in loadPersistentStorage()
77 int64_t BatteryDefender::getTime(void) { in getTime()
81 int64_t BatteryDefender::getDeltaTimeSeconds(int64_t *timeStartSecs) { in getDeltaTimeSeconds()
88 void BatteryDefender::removeLineEndings(std::string *str) { in removeLineEndings()
93 int BatteryDefender::readFileToInt(const std::string &path, const bool silent) { in readFileToInt()
115 bool BatteryDefender::writeIntToFile(const std::string &path, const int value) { in writeIntToFile()
124 void BatteryDefender::writeTimeToFile(const std::string &path, const int value, int64_t *previous) { in writeTimeToFile()
135 void BatteryDefender::writeChargeLevelsToFile(const int vendorStart, const int vendorStop) { in writeChargeLevelsToFile()
171 bool BatteryDefender::isTypeCSink(const std::string &path) { in isTypeCSink()
181 bool BatteryDefender::isWiredPresent(void) { in isWiredPresent()
212 bool BatteryDefender::isDockPresent(void) { in isDockPresent()
216 bool BatteryDefender::isChargePowerAvailable(void) { in isChargePowerAvailable()
228 bool BatteryDefender::isDefaultChargeLevel(const int start, const int stop) { in isDefaultChargeLevel()
232 bool BatteryDefender::isBatteryDefenderDisabled(const int vendorStart, const int vendorStop) { in isBatteryDefenderDisabled()
242 bool BatteryDefender::isDockDefendTrigger(void) { in isDockDefendTrigger()
246 void BatteryDefender::addTimeToChargeTimers(void) { in addTimeToChargeTimers()
257 int32_t BatteryDefender::getTimeToActivate(void) { in getTimeToActivate()
276 void BatteryDefender::stateMachine_runAction(const state_E state, const HealthInfo &health_info) { in stateMachine_runAction()
314 BatteryDefender::state_E BatteryDefender::stateMachine_getNextState(const state_E state) { in stateMachine_getNextState()
376 void BatteryDefender::stateMachine_firstAction(const state_E state) { in stateMachine_firstAction()
407 void BatteryDefender::updateDefenderProperties( in updateDefenderProperties()
460 void BatteryDefender::update(HealthInfo *health_info) { in update()
494 void BatteryDefender::update(struct android::BatteryProperties *props) { in update()