Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryControllerImpl.java116 public void setPowerSaveMode(boolean powerSave) { in setPowerSaveMode() argument
117 BatterySaverUtils.setPowerSaveMode(mContext, powerSave, /*needFirstTimeWarning*/ true); in setPowerSaveMode()
273 private void setPowerSave(boolean powerSave) { in setPowerSave() argument
274 if (powerSave == mPowerSave) return; in setPowerSave()
275 mPowerSave = powerSave; in setPowerSave()
317 String powerSave = args.getString("powersave"); in dispatchDemoCommand() local
324 if (powerSave != null) { in dispatchDemoCommand()
325 mPowerSave = powerSave.equals("true"); in dispatchDemoCommand()
DBatteryController.java38 void setPowerSaveMode(boolean powerSave); in setPowerSaveMode() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUiModeNightTile.java89 boolean powerSave = mBatteryController.isPowerSave(); in handleUpdateState()
94 if (powerSave) { in handleUpdateState()
110 if (powerSave) { in handleUpdateState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeBatteryController.java43 public void setPowerSaveMode(boolean powerSave) { in setPowerSaveMode() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java459 String powerSave = mDrawable == null ? null : mDrawable.getPowerSaveEnabled() + ""; in dump() local
462 pw.println(" mDrawable.getPowerSave: " + powerSave); in dump()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarBatteryController.java100 public void setPowerSaveMode(boolean powerSave) { in setPowerSaveMode() argument
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java664 String powerSave = parser.getAttributeValue(null, ATTR_POWER_SAVE); in readEventsLocked() local
665 if (powerSave != null) { in readEventsLocked()
666 builder.setPowerBrightnessFactor(Float.parseFloat(powerSave)); in readEventsLocked()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java3553 boolean powerSave = true; in verifySetPowerSaveFailure()
3555 assertFalse(mCmi.setPowerSave(powerSave)); in verifySetPowerSaveFailure()