Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java42 default void setPowerSaveMode(boolean powerSave) { in setPowerSaveMode() argument
43 setPowerSaveMode(powerSave, null); in setPowerSaveMode()
51 void setPowerSaveMode(boolean powerSave, @Nullable View view); in setPowerSaveMode() argument
DBatteryControllerImpl.java170 public void setPowerSaveMode(boolean powerSave, View view) { in setPowerSaveMode() argument
171 if (powerSave) mPowerSaverStartView.set(new WeakReference<>(view)); in setPowerSaveMode()
172 BatterySaverUtils.setPowerSaveMode(mContext, powerSave, /*needFirstTimeWarning*/ true); in setPowerSaveMode()
389 private void setPowerSave(boolean powerSave) { in setPowerSave() argument
390 if (powerSave == mPowerSave) return; in setPowerSave()
391 mPowerSave = powerSave; in setPowerSave()
445 String powerSave = args.getString("powersave"); in dispatchDemoCommand() local
454 if (powerSave != null) { in dispatchDemoCommand()
455 mPowerSave = powerSave.equals("true"); in dispatchDemoCommand()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeBatteryController.java45 public void setPowerSaveMode(boolean powerSave) { in setPowerSaveMode() argument
50 public void setPowerSaveMode(boolean powerSave, View view) { in setPowerSaveMode() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUiModeNightTile.java120 boolean powerSave = mBatteryController.isPowerSave(); in handleUpdateState()
124 if (powerSave) { in handleUpdateState()
162 if (powerSave) { in handleUpdateState()
DRotationLockTile.java144 final boolean powerSave = mBatteryController.isPowerSave(); in handleUpdateState()
147 !powerSave && !cameraLocked && hasSufficientPermission(mContext) in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DBatteryMeterView.java468 String powerSave = mDrawable == null ? null : mDrawable.getPowerSaveEnabled() + ""; in dump() local
471 pw.println(" mDrawable.getPowerSave: " + powerSave); in dump()