Home
last modified time | relevance | path

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

/frameworks/native/services/batteryservice/include/batteryservice/
DBatteryService.h47 bool batteryPresent; member
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java366 if (!mHealthInfo.batteryPresent) { in shouldShutdownLocked()
447 dst.batteryPresent = src.batteryPresent; in copy()
497 mHealthInfo.batteryPresent != mLastBatteryPresent || in processValuesLocked()
553 mHealthInfo.batteryPresent != mLastBatteryPresent || in processValuesLocked()
556 … mHealthInfo.batteryStatus, mHealthInfo.batteryHealth, mHealthInfo.batteryPresent ? 1 : 0, in processValuesLocked()
666 mLastBatteryPresent = mHealthInfo.batteryPresent; in processValuesLocked()
690 intent.putExtra(BatteryManager.EXTRA_PRESENT, mHealthInfo.batteryPresent); in sendBatteryChangedIntentLocked()
717 event.putBoolean(BatteryManager.EXTRA_PRESENT, mHealthInfo.batteryPresent); in sendBatteryLevelChangedIntentLocked()
927 mHealthInfo.batteryPresent = Integer.parseInt(value) != 0; in onShellCommand()
1015 pw.println(" present: " + mHealthInfo.batteryPresent); in dumpInternal()
[all …]