Home
last modified time | relevance | path

Searched refs:BatteryDefender (Results 1 – 4 of 4) sorted by relevance

/hardware/google/pixel/health/
DBatteryDefender.cpp37 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()
[all …]
DAndroid.bp11 "BatteryDefender.cpp",
/hardware/google/pixel/health/include/pixelhealth/
DBatteryDefender.h47 class BatteryDefender {
50 BatteryDefender(const std::string pathWirelessPresent = PATH_NOT_SUPPORTED,
/hardware/google/pixel/health/test/
DTestBatteryDefender.cpp108 BatteryDefender *battDefender;
156 BatteryDefender defender;