Searched refs:readFromFile (Results 1 – 3 of 3) sorted by relevance
/system/core/healthd/ |
D | BatteryMonitor.cpp | 177 int BatteryMonitor::readFromFile(const String8& path, std::string* buf) { in readFromFile() function in android::BatteryMonitor 203 if (readFromFile(path, &buf) <= 0) in readPowerSupplyType() 219 if (readFromFile(path, &buf) > 0) in getBooleanField() 230 if (readFromFile(path, &buf) > 0) in getIntField() 242 return (readFromFile(path, &scope) > 0 && scope == kScopeDevice); in isScopedPowerSupply() 290 if (readFromFile(mHealthdConfig->batteryCapacityLevelPath, &buf) > 0) in updateValues() 293 if (readFromFile(mHealthdConfig->batteryStatusPath, &buf) > 0) in updateValues() 296 if (readFromFile(mHealthdConfig->batteryHealthPath, &buf) > 0) in updateValues() 299 if (readFromFile(mHealthdConfig->batteryTechnologyPath, &buf) > 0) in updateValues() 397 if (readFromFile(mHealthdConfig->batteryStatusPath, &buf) > 0) in getChargeStatus()
|
/system/core/healthd/include/healthd/ |
D | BatteryMonitor.h | 77 int readFromFile(const String8& path, std::string* buf);
|
/system/timezone/distro/installer/src/main/com/android/timezone/distro/installer/ |
D | TimeZoneDistroInstaller.java | 391 return TzDataSetVersion.readFromFile(baseVersionFile); in readBaseVersion()
|