Home | History | Annotate | Download | only in healthd

Lines Matching defs:getIntField

181 int BatteryMonitor::getIntField(const String8& path) {
203 getIntField(mHealthdConfig->batteryCapacityPath);
204 props.batteryVoltage = getIntField(mHealthdConfig->batteryVoltagePath) / 1000;
207 props.batteryCurrent = getIntField(mHealthdConfig->batteryCurrentNowPath) / 1000;
210 props.batteryFullCharge = getIntField(mHealthdConfig->batteryFullChargePath);
213 props.batteryCycleCount = getIntField(mHealthdConfig->batteryCycleCountPath);
216 props.batteryChargeCounter = getIntField(mHealthdConfig->batteryChargeCounterPath);
220 getIntField(mHealthdConfig->batteryTemperaturePath);
249 if (getIntField(path)) {
271 (access(path.string(), R_OK) == 0) ? getIntField(path) : 0;
278 (access(path.string(), R_OK) == 0) ? getIntField(path) :
358 getIntField(mHealthdConfig->batteryChargeCounterPath);
368 getIntField(mHealthdConfig->batteryCurrentNowPath);
378 getIntField(mHealthdConfig->batteryCurrentAvgPath);
388 getIntField(mHealthdConfig->batteryCapacityPath);
437 v = getIntField(mHealthdConfig->batteryCurrentNowPath);
443 v = getIntField(mHealthdConfig->batteryCurrentAvgPath);
449 v = getIntField(mHealthdConfig->batteryChargeCounterPath);