Home
last modified time | relevance | path

Searched refs:onPowerSaveChanged (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DBatterySaverTileTest.kt126 tile.onPowerSaveChanged(true) in testClickingPowerSavePassesView()
129 tile.onPowerSaveChanged(false) in testClickingPowerSavePassesView()
149 tile.onPowerSaveChanged(false) in testIcon_whenBatterySaverDisabled_isOffState()
160 tile.onPowerSaveChanged(true) in testIcon_whenBatterySaverEnabled_isOnState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeHost.java110 default void onPowerSaveChanged(boolean active) {} in onPowerSaveChanged() method
DDozeSuppressor.java165 public void onPowerSaveChanged(boolean active) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java147 default void onPowerSaveChanged(boolean isPowerSave) { in onPowerSaveChanged() method
DBatteryControllerImpl.java225 cb.onPowerSaveChanged(mPowerSave); in addCallback()
476 dispatchSafeChange((callback) -> callback.onPowerSaveChanged(mPowerSave)); in firePowerSaveChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DBatteryControllerExt.kt47 override fun onPowerSaveChanged(isPowerSave: Boolean) { in isBatteryPowerSaveEnabled() method
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeBatteryController.java56 callback.onPowerSaveChanged(powerSave); in setPowerSaveMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DBatteryMeterViewController.java91 public void onPowerSaveChanged(boolean isPowerSave) {
92 mView.onPowerSaveChanged(isPowerSave);
DBatteryMeterView.java311 void onPowerSaveChanged(boolean isPowerSave) { in onPowerSaveChanged() method in BatteryMeterView
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSuppressorTest.java248 mDozeHostCallback.onPowerSaveChanged(false); in testPowerSaveChanged_active()
264 mDozeHostCallback.onPowerSaveChanged(false); in testPowerSaveChanged_notActive()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeParametersTest.java197 mBatteryStateChangeCallback.getValue().onPowerSaveChanged(true); in testGetAlwaysOn_whenBatterySaverCallback()
206 mBatteryStateChangeCallback.getValue().onPowerSaveChanged(true); in testGetAlwaysOn_whenBatterySaverCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/interactor/
DUiModeNightTileDataInteractor.kt67 override fun onPowerSaveChanged(isPowerSave: Boolean) { in tileData() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java169 public void onPowerSaveChanged(boolean isPowerSave) { in onPowerSaveChanged() method in BatterySaverTile
DUiModeNightTile.java100 public void onPowerSaveChanged(boolean isPowerSave) { in onPowerSaveChanged() method in UiModeNightTile
DRotationLockTile.java119 public void onPowerSaveChanged(boolean isPowerSave) { in onPowerSaveChanged() method in RotationLockTile
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeParameters.java168 public void onPowerSaveChanged(boolean isPowerSave) { in DozeParameters()
DLightBarController.java417 public void onPowerSaveChanged(boolean isPowerSave) { in onPowerSaveChanged() method in LightBarController
DDozeServiceHost.java179 callback.onPowerSaveChanged(active); in firePowerSaveChanged()
DCentralSurfacesImpl.java3190 public void onPowerSaveChanged(boolean isPowerSave) {