Searched refs:oldPlugType (Results 1 – 2 of 2) sorted by relevance
168 final int oldPlugType = mPlugType; in onReceive() local174 final boolean oldPlugged = oldPlugType != 0; in onReceive()185 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType); in onReceive()
1486 final int oldPlugType = mPlugType; in updateIsPoweredLocked() local1496 + ", oldPlugType=" + oldPlugType in updateIsPoweredLocked()1501 if (wasPowered != mIsPowered || oldPlugType != mPlugType) { in updateIsPoweredLocked()1514 if (shouldWakeUpWhenPluggedOrUnpluggedLocked(wasPowered, oldPlugType, in updateIsPoweredLocked()1542 boolean wasPowered, int oldPlugType, boolean dockedOnWirelessCharger) { in shouldWakeUpWhenPluggedOrUnpluggedLocked() argument1551 && oldPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) { in shouldWakeUpWhenPluggedOrUnpluggedLocked()