Searched refs:wasPowered (Results 1 – 1 of 1) sorted by relevance
1677 final boolean wasPowered = mIsPowered; in updateIsPoweredLocked()1686 Slog.d(TAG, "updateIsPoweredLocked: wasPowered=" + wasPowered in updateIsPoweredLocked()1693 if (wasPowered != mIsPowered || oldPlugType != mPlugType) { in updateIsPoweredLocked()1706 if (shouldWakeUpWhenPluggedOrUnpluggedLocked(wasPowered, oldPlugType, in updateIsPoweredLocked()1721 if (wasPowered != mIsPowered || oldLevelLow != mBatteryLevelLow) { in updateIsPoweredLocked()1734 boolean wasPowered, int oldPlugType, boolean dockedOnWirelessCharger) { in shouldWakeUpWhenPluggedOrUnpluggedLocked() argument1742 if (wasPowered && !mIsPowered in shouldWakeUpWhenPluggedOrUnpluggedLocked()1749 if (!wasPowered && mIsPowered in shouldWakeUpWhenPluggedOrUnpluggedLocked()