Searched refs:oldPlugType (Results 1 – 2 of 2) sorted by relevance
213 final int oldPlugType = mPlugType; in onReceive() local219 final boolean oldPlugged = oldPlugType != 0; in onReceive()230 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType); in onReceive()
1667 final int oldPlugType = mPlugType; in updateIsPoweredLocked() local1677 + ", oldPlugType=" + oldPlugType in updateIsPoweredLocked()1682 if (wasPowered != mIsPowered || oldPlugType != mPlugType) { in updateIsPoweredLocked()1695 if (shouldWakeUpWhenPluggedOrUnpluggedLocked(wasPowered, oldPlugType, in updateIsPoweredLocked()1706 if (mIsPowered && !BatteryManager.isPlugWired(oldPlugType) in updateIsPoweredLocked()1720 boolean wasPowered, int oldPlugType, boolean dockedOnWirelessCharger) { in shouldWakeUpWhenPluggedOrUnpluggedLocked() argument1729 && oldPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) { in shouldWakeUpWhenPluggedOrUnpluggedLocked()