Searched refs:BatteryDefender (Results 1 – 4 of 4) sorted by relevance
37 BatteryDefender::BatteryDefender(const std::string pathWirelessPresent, in BatteryDefender() function in hardware::google::pixel::health::BatteryDefender51 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()[all …]
11 "BatteryDefender.cpp",
47 class BatteryDefender {50 BatteryDefender(const std::string pathWirelessPresent = PATH_NOT_SUPPORTED,
108 BatteryDefender *battDefender;156 BatteryDefender defender;