Searched defs:readFromFile (Results 1 - 1 of 1) sorted by relevance
/system/core/healthd/ |
H A D | BatteryMonitor.cpp | 127 int BatteryMonitor::readFromFile(const String8& path, char* buf, size_t size) { function in class:android::BatteryMonitor 154 int length = readFromFile(path, buf, SIZE); 190 if (readFromFile(path, buf, SIZE) > 0) { 204 if (readFromFile(path, buf, SIZE) > 0) { 254 if (readFromFile(mHealthdConfig->batteryStatusPath, buf, SIZE) > 0) 257 if (readFromFile(mHealthdConfig->batteryHealthPath, buf, SIZE) > 0) 260 if (readFromFile(mHealthdConfig->batteryTechnologyPath, buf, SIZE) > 0) 271 if (readFromFile(path, buf, SIZE) > 0) { 367 if (readFromFile(mHealthdConfig->batteryStatusPath, buf, sizeof(buf)) > 0) {
|
Completed in 300 milliseconds