Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryProperties.java29 public boolean batteryPresent; field in BatteryProperties
48 batteryPresent = other.batteryPresent; in set()
70 batteryPresent = p.readInt() == 1 ? true : false; in BatteryProperties()
87 p.writeInt(batteryPresent ? 1 : 0); in writeToParcel()
/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryService.h48 bool batteryPresent; member
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java424 dst.batteryPresent = src.batteryPresent; in copy()
474 mHealthInfo.batteryPresent != mLastBatteryPresent || in processValuesLocked()
530 mHealthInfo.batteryPresent != mLastBatteryPresent || in processValuesLocked()
533 … mHealthInfo.batteryStatus, mHealthInfo.batteryHealth, mHealthInfo.batteryPresent ? 1 : 0, in processValuesLocked()
643 mLastBatteryPresent = mHealthInfo.batteryPresent; in processValuesLocked()
667 intent.putExtra(BatteryManager.EXTRA_PRESENT, mHealthInfo.batteryPresent); in sendBatteryChangedIntentLocked()
694 event.putBoolean(BatteryManager.EXTRA_PRESENT, mHealthInfo.batteryPresent); in sendBatteryLevelChangedIntentLocked()
903 mHealthInfo.batteryPresent = Integer.parseInt(value) != 0; in onShellCommand()
991 pw.println(" present: " + mHealthInfo.batteryPresent); in dumpInternal()
1023 proto.write(BatteryServiceDumpProto.IS_PRESENT, mHealthInfo.batteryPresent); in dumpProto()