Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryProperties.java29 public boolean batteryPresent; field in BatteryProperties
47 batteryPresent = other.batteryPresent; in set()
68 batteryPresent = p.readInt() == 1 ? true : false; in BatteryProperties()
84 p.writeInt(batteryPresent ? 1 : 0); in writeToParcel()
/frameworks/native/services/batteryservice/
DBatteryProperties.cpp40 batteryPresent = p->readInt32() == 1 ? true : false; in readFromParcel()
57 p->writeInt32(batteryPresent ? 1 : 0); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java348 + ", batteryPresent=" + mBatteryProps.batteryPresent in processValuesLocked()
371 mBatteryProps.batteryPresent != mLastBatteryPresent || in processValuesLocked()
403 mBatteryProps.batteryPresent != mLastBatteryPresent || in processValuesLocked()
406 … mBatteryProps.batteryStatus, mBatteryProps.batteryHealth, mBatteryProps.batteryPresent ? 1 : 0, in processValuesLocked()
500 mLastBatteryPresent = mBatteryProps.batteryPresent; in processValuesLocked()
523 intent.putExtra(BatteryManager.EXTRA_PRESENT, mBatteryProps.batteryPresent); in sendIntentLocked()
539 ", present:" + mBatteryProps.batteryPresent + in sendIntentLocked()
784 pw.println(" present: " + mBatteryProps.batteryPresent); in dumpInternal()
/frameworks/native/include/batteryservice/
DBatteryService.h64 bool batteryPresent; member