Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java84 boolean isPowerSave(); in isPowerSave() method
144 default void onPowerSaveChanged(boolean isPowerSave) { in onPowerSaveChanged() argument
DBatteryControllerImpl.java294 public boolean isPowerSave() { in isPowerSave() method in BatteryControllerImpl
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java168 public void onPowerSaveChanged(boolean isPowerSave) { in onPowerSaveChanged() argument
169 mPowerSave = isPowerSave; in onPowerSaveChanged()
DUiModeNightTile.java98 public void onPowerSaveChanged(boolean isPowerSave) { in onPowerSaveChanged() argument
120 boolean powerSave = mBatteryController.isPowerSave(); in handleUpdateState()
DRotationLockTile.java114 public void onPowerSaveChanged(boolean isPowerSave) { in onPowerSaveChanged() argument
144 final boolean powerSave = mBatteryController.isPowerSave(); in handleUpdateState()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeBatteryController.java60 public boolean isPowerSave() { in isPowerSave() method in FakeBatteryController
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DBatteryMeterViewController.java84 public void onPowerSaveChanged(boolean isPowerSave) {
85 mView.onPowerSaveChanged(isPowerSave);
DBatteryMeterView.java212 void onPowerSaveChanged(boolean isPowerSave) { in onPowerSaveChanged() argument
213 mDrawable.setPowerSaveEnabled(isPowerSave); in onPowerSaveChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DRotationLockTileTest.java134 when(mBatteryController.isPowerSave()).thenReturn(false); in setUp()
177 when(mBatteryController.isPowerSave()).thenReturn(true); in testSecondaryString_powerSaveEnabled_isEmpty()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java112 Assert.assertTrue(mBatteryController.isPowerSave()); in testIndependentAODBatterySaver_true()
127 Assert.assertTrue(mBatteryController.isPowerSave()); in testIndependentAODBatterySaver_false()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightBarController.java268 public void onPowerSaveChanged(boolean isPowerSave) { in onPowerSaveChanged() argument
DDozeParameters.java168 public void onPowerSaveChanged(boolean isPowerSave) { in DozeParameters()
DCentralSurfacesImpl.java4373 public void onPowerSaveChanged(boolean isPowerSave) {
4376 mDozeServiceHost.firePowerSaveChanged(isPowerSave);