Home
last modified time | relevance | path

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

/system/core/healthd/
DBatteryMonitor.cpp56 static int mapSysfsString(const char* str, in mapSysfsString() function
100 ret = mapSysfsString(status, batteryStatusMap); in getBatteryStatus()
126 ret = mapSysfsString(status, batteryHealthMap); in getBatteryHealth()
165 ret = (BatteryMonitor::PowerSupplyType)mapSysfsString(buf.c_str(), supplyTypeMap); in readPowerSupplyType()