Searched refs:wasPowered (Results 1 – 1 of 1) sorted by relevance
1758 final boolean wasPowered = mIsPowered; in updateIsPoweredLocked()1767 Slog.d(TAG, "updateIsPoweredLocked: wasPowered=" + wasPowered in updateIsPoweredLocked()1774 if (wasPowered != mIsPowered || oldPlugType != mPlugType) { in updateIsPoweredLocked()1787 if (shouldWakeUpWhenPluggedOrUnpluggedLocked(wasPowered, oldPlugType, in updateIsPoweredLocked()1813 boolean wasPowered, int oldPlugType, boolean dockedOnWirelessCharger) { in shouldWakeUpWhenPluggedOrUnpluggedLocked() argument1821 if (wasPowered && !mIsPowered in shouldWakeUpWhenPluggedOrUnpluggedLocked()1828 if (!wasPowered && mIsPowered in shouldWakeUpWhenPluggedOrUnpluggedLocked()