Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java42 private boolean mPowerSave; field in BatterySaverTile
100 mBatteryController.setPowerSaveMode(!mPowerSave); in handleClick()
111 : mPowerSave ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
115 state.value = mPowerSave; in handleUpdateState()
130 mPowerSave = isPowerSave; in onPowerSaveChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java74 protected boolean mPowerSave; field in BatteryControllerImpl
127 pw.print(" mPowerSave="); pw.println(mPowerSave); in dump()
142 cb.onPowerSaveChanged(mPowerSave); in addCallback()
213 return mPowerSave; in isPowerSave()
291 if (powerSave == mPowerSave) return; in setPowerSave()
292 mPowerSave = powerSave; in setPowerSave()
298 if (DEBUG) Log.d(TAG, "Power save is " + (mPowerSave ? "on" : "off")); in setPowerSave()
315 mChangeCallbacks.get(i).onPowerSaveChanged(mPowerSave); in firePowerSaveChanged()
342 mPowerSave = powerSave.equals("true"); in dispatchDemoCommand()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java111 private boolean mPowerSave = false; field in UiModeManagerService
423 mPowerSave = in initPowerSave()
428 if (mPowerSave == state.batterySaverEnabled) { in initPowerSave()
431 mPowerSave = state.batterySaverEnabled; in initPowerSave()
518 if (mPowerSave) return; in registerScreenOffEventLocked()
1082 if (mPowerSave && !mCarModeEnabled) { in updateConfigurationLocked()
1098 if (!mHoldingConfiguration && (!mWaitForScreenOff || mPowerSave)) { in updateConfigurationLocked()