Searched refs:mIsPowered (Results 1 – 2 of 2) sorted by relevance
153 private boolean mIsPowered; field in BatterySaverStateMachine519 final boolean poweredChanged = mIsPowered != newPowered; in setBatteryStatus()527 mIsPowered = newPowered; in setBatteryStatus()603 + " mIsPowered=" + mIsPowered in doAutoBatterySaverLocked()622 } else if (mIsPowered && mBatteryLevel >= ADAPTIVE_AUTO_DISABLE_BATTERY_LEVEL) { in doAutoBatterySaverLocked()643 if (!mIsPowered) { in updateStateLocked()677 } else if (mIsPowered) { in updateStateLocked()691 if (mIsPowered) { in updateStateLocked()733 } else if (mIsPowered // Plugging in resets snooze. in updateStateLocked()757 } else if (!mIsPowered) { in updateStateLocked()[all …]
455 private boolean mIsPowered; field in PowerManagerService2614 final boolean wasPowered = mIsPowered;2616 mIsPowered = mBatteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY);2626 + ", mIsPowered=" + mIsPowered2639 if (wasPowered != mIsPowered || oldPlugType != mPlugType) {2644 mIsPowered, mPlugType);2656 "android.server.power:PLUGGED:" + mIsPowered, Process.SYSTEM_UID,2666 if (mIsPowered && !BatteryManager.isPlugWired(oldPlugType)2676 mBatterySaverStateMachine.setBatteryStatus(mIsPowered, mBatteryLevel,2693 && wasPowered && !mIsPowered) {[all …]