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