Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java287 private boolean mIsPowered; field in PowerManagerService
798 if (mIsPowered && mLowPowerModeSetting) { in updateLowPowerModeLocked()
807 final boolean autoLowPowerModeEnabled = !mIsPowered && mAutoLowPowerModeConfigured in updateLowPowerModeLocked()
1415 final boolean wasPowered = mIsPowered; in updateIsPoweredLocked()
1418 mIsPowered = mBatteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in updateIsPoweredLocked()
1425 + ", mIsPowered=" + mIsPowered in updateIsPoweredLocked()
1431 if (wasPowered != mIsPowered || oldPlugType != mPlugType) { in updateIsPoweredLocked()
1436 mIsPowered, mPlugType, mBatteryLevel); in updateIsPoweredLocked()
1459 if (wasPowered != mIsPowered || oldLevelLow != mBatteryLevelLow) { in updateIsPoweredLocked()
1480 if (wasPowered && !mIsPowered in shouldWakeUpWhenPluggedOrUnpluggedLocked()
[all …]