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.java268 final int oldPlugType = mPlugType; in onReceive() local
275 final boolean oldPlugged = oldPlugType != 0; in onReceive()
286 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType); in onReceive()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java1992 final int oldPlugType = mPlugType;
2002 + ", oldPlugType=" + oldPlugType
2007 if (wasPowered != mIsPowered || oldPlugType != mPlugType) {
2020 if (shouldWakeUpWhenPluggedOrUnpluggedLocked(wasPowered, oldPlugType,
2032 if (mIsPowered && !BatteryManager.isPlugWired(oldPlugType)
2046 boolean wasPowered, int oldPlugType, boolean dockedOnWirelessCharger) {
2055 && oldPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) {