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.java373 if (!mHealthInfo.batteryPresent) { in shouldShutdownLocked()
455 dst.batteryPresent = src.batteryPresent; in copy()
506 mHealthInfo.batteryPresent != mLastBatteryPresent || in processValuesLocked()
562 mHealthInfo.batteryPresent != mLastBatteryPresent || in processValuesLocked()
565 … mHealthInfo.batteryStatus, mHealthInfo.batteryHealth, mHealthInfo.batteryPresent ? 1 : 0, in processValuesLocked()
675 mLastBatteryPresent = mHealthInfo.batteryPresent; in processValuesLocked()
699 intent.putExtra(BatteryManager.EXTRA_PRESENT, mHealthInfo.batteryPresent); in sendBatteryChangedIntentLocked()
726 event.putBoolean(BatteryManager.EXTRA_PRESENT, mHealthInfo.batteryPresent); in sendBatteryLevelChangedIntentLocked()
938 mHealthInfo.batteryPresent = Integer.parseInt(value) != 0; in onShellCommand()
1026 pw.println(" present: " + mHealthInfo.batteryPresent); in dumpInternal()
[all …]