Home
last modified time | relevance | path

Searched refs:oldPlugType (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java323 final int oldPlugType = mPlugType; in onReceive() local
330 final boolean oldPlugged = oldPlugType != 0; in onReceive()
341 Slog.d(TAG, "plugType " + oldPlugType + " --> " + mPlugType); in onReceive()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java2615 final int oldPlugType = mPlugType;
2627 + ", oldPlugType=" + oldPlugType
2639 if (wasPowered != mIsPowered || oldPlugType != mPlugType) {
2652 if (shouldWakeUpWhenPluggedOrUnpluggedLocked(wasPowered, oldPlugType,
2666 if (mIsPowered && !BatteryManager.isPlugWired(oldPlugType)
2684 boolean wasPowered, int oldPlugType, boolean dockedOnWirelessCharger) {
2699 && oldPlugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) {