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.java131 public void setPowerSaveMode(boolean powerSave) { in setPowerSaveMode() argument
132 BatterySaverUtils.setPowerSaveMode(mContext, powerSave, /*needFirstTimeWarning*/ true); in setPowerSaveMode()
290 private void setPowerSave(boolean powerSave) { in setPowerSave() argument
291 if (powerSave == mPowerSave) return; in setPowerSave()
292 mPowerSave = powerSave; in setPowerSave()
334 String powerSave = args.getString("powersave"); in dispatchDemoCommand() local
341 if (powerSave != null) { in dispatchDemoCommand()
342 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.java96 boolean powerSave = mBatteryController.isPowerSave(); in handleUpdateState()
100 if (powerSave) { in handleUpdateState()
129 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.java464 String powerSave = mDrawable == null ? null : mDrawable.getPowerSaveEnabled() + ""; in dump() local
467 pw.println(" mDrawable.getPowerSave: " + powerSave); in dump()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/bluetooth/
DCarBatteryController.java100 public void setPowerSaveMode(boolean powerSave) { in setPowerSaveMode() argument
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java673 String powerSave = parser.getAttributeValue(null, ATTR_POWER_SAVE); in readEventsLocked() local
674 if (powerSave != null) { in readEventsLocked()
675 builder.setPowerBrightnessFactor(Float.parseFloat(powerSave)); in readEventsLocked()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java3866 boolean powerSave = true; in verifySetPowerSaveFailure()
3868 assertFalse(mCmi.setPowerSave(powerSave)); in verifySetPowerSaveFailure()