Searched refs:oldPlugType (Results 1 – 2 of 2) sorted by relevance
151 final int oldPlugType = mPlugType; in onReceive() local157 final boolean oldPlugged = oldPlugType != 0; in onReceive()168 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType); in onReceive()
1416 final int oldPlugType = mPlugType; in updateIsPoweredLocked() local1426 + ", oldPlugType=" + oldPlugType in updateIsPoweredLocked()1431 if (wasPowered != mIsPowered || oldPlugType != mPlugType) { in updateIsPoweredLocked()1444 if (shouldWakeUpWhenPluggedOrUnpluggedLocked(wasPowered, oldPlugType, in updateIsPoweredLocked()1472 boolean wasPowered, int oldPlugType, boolean dockedOnWirelessCharger) { in shouldWakeUpWhenPluggedOrUnpluggedLocked() argument1481 && oldPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) { in shouldWakeUpWhenPluggedOrUnpluggedLocked()