Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java174 final int oldPlugType = mPlugType; in onReceive() local
180 final boolean oldPlugged = oldPlugType != 0; in onReceive()
191 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType); in onReceive()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java1678 final int oldPlugType = mPlugType; in updateIsPoweredLocked() local
1688 + ", oldPlugType=" + oldPlugType in updateIsPoweredLocked()
1693 if (wasPowered != mIsPowered || oldPlugType != mPlugType) { in updateIsPoweredLocked()
1706 if (shouldWakeUpWhenPluggedOrUnpluggedLocked(wasPowered, oldPlugType, in updateIsPoweredLocked()
1734 boolean wasPowered, int oldPlugType, boolean dockedOnWirelessCharger) { in shouldWakeUpWhenPluggedOrUnpluggedLocked() argument
1743 && oldPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) { in shouldWakeUpWhenPluggedOrUnpluggedLocked()