Home
last modified time | relevance | path

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

/system/core/healthd/
DBatteryMonitor.cpp80 BatteryMonitor::BatteryMonitor() : mHealthdConfig(nullptr), mBatteryDevicePresent(false), in BatteryMonitor() function in android::BatteryMonitor
85 int BatteryMonitor::getBatteryStatus(const char* status) { in getBatteryStatus()
105 int BatteryMonitor::getBatteryHealth(const char* status) { in getBatteryHealth()
127 int BatteryMonitor::readFromFile(const String8& path, char* buf, size_t size) { in readFromFile()
151 BatteryMonitor::PowerSupplyType BatteryMonitor::readPowerSupplyType(const String8& path) { in readPowerSupplyType()
155 BatteryMonitor::PowerSupplyType ret; in readPowerSupplyType()
176 ret = (BatteryMonitor::PowerSupplyType)mapSysfsString(buf, supplyTypeMap); in readPowerSupplyType()
185 bool BatteryMonitor::getBooleanField(const String8& path) { in getBooleanField()
199 int BatteryMonitor::getIntField(const String8& path) { in getIntField()
210 bool BatteryMonitor::update(void) { in update()
[all …]
Dhealthd.cpp77 static BatteryMonitor* gBatteryMonitor;
324 gBatteryMonitor = new BatteryMonitor(); in healthd_init()
DAndroid.mk14 LOCAL_SRC_FILES := BatteryMonitor.cpp
/system/core/healthd/include/healthd/
DBatteryMonitor.h29 class BatteryMonitor {
40 BatteryMonitor();