Lines Matching refs:BatteryMonitor
90 BatteryMonitor::BatteryMonitor() in BatteryMonitor() function in android::BatteryMonitor
99 BatteryMonitor::~BatteryMonitor() {} in ~BatteryMonitor()
101 const HealthInfo_1_0& BatteryMonitor::getHealthInfo_1_0() const { in getHealthInfo_1_0()
105 const HealthInfo_2_0& BatteryMonitor::getHealthInfo_2_0() const { in getHealthInfo_2_0()
109 const HealthInfo_2_1& BatteryMonitor::getHealthInfo_2_1() const { in getHealthInfo_2_1()
177 int BatteryMonitor::readFromFile(const String8& path, std::string* buf) { in readFromFile()
184 BatteryMonitor::PowerSupplyType BatteryMonitor::readPowerSupplyType(const String8& path) { in readPowerSupplyType()
212 return static_cast<BatteryMonitor::PowerSupplyType>(*ret); in readPowerSupplyType()
215 bool BatteryMonitor::getBooleanField(const String8& path) { in getBooleanField()
226 int BatteryMonitor::getIntField(const String8& path) { in getIntField()
236 bool BatteryMonitor::isScopedPowerSupply(const char* name) { in isScopedPowerSupply()
245 void BatteryMonitor::updateValues(void) { in updateValues()
351 void BatteryMonitor::logValues(void) { in logValues()
355 void BatteryMonitor::logValues(const android::hardware::health::V2_1::HealthInfo& health_info, in logValues()
392 bool BatteryMonitor::isChargerOnline() { in isChargerOnline()
398 int BatteryMonitor::getChargeStatus() { in getChargeStatus()
408 status_t BatteryMonitor::getProperty(int id, struct BatteryProperty *val) { in getProperty()
475 void BatteryMonitor::dumpState(int fd) { in dumpState()
527 void BatteryMonitor::init(struct healthd_config *hc) { in init()