Home
last modified time | relevance | path

Searched refs:isAodPowerSave (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeBatteryController.java106 public boolean isAodPowerSave() { in isAodPowerSave() method in FakeBatteryController
115 public void setIsAodPowerSave(boolean isAodPowerSave) { in setIsAodPowerSave() argument
116 mIsAodPowerSave = isAodPowerSave; in setIsAodPowerSave()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeParametersTest.java181 when(mBatteryController.isAodPowerSave()).thenReturn(true); in testGetAlwaysOn_whenBatterySaver()
193 when(mBatteryController.isAodPowerSave()).thenReturn(true); in testGetAlwaysOn_whenBatterySaverCallback()
205 when(mBatteryController.isAodPowerSave()).thenReturn(false); in testGetAlwaysOn_whenBatterySaverCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java92 boolean isAodPowerSave(); in isAodPowerSave() method
DBatteryControllerImpl.java345 public boolean isAodPowerSave() { in isAodPowerSave() method in BatteryControllerImpl
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBatteryControllerTest.java125 Assert.assertTrue(mBatteryController.isAodPowerSave()); in testIndependentAODBatterySaver_true()
140 Assert.assertFalse(mBatteryController.isAodPowerSave()); in testIndependentAODBatterySaver_false()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DVisualInterruptionDecisionProviderTestBase.kt410 ensurePulseState { isAodPowerSave = true } in <lambda>()
920 var isAodPowerSave: Boolean? = null, in <lambda>() variable in com.android.systemui.statusbar.notification.interruption.VisualInterruptionDecisionProviderTestBase.State
943 isAodPowerSave?.let { batteryController.setIsAodPowerSave(it) } in <lambda>()
989 isAodPowerSave = false in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DCommonVisualInterruptionSuppressors.kt111 override fun shouldSuppress() = batteryController.isAodPowerSave() in shouldSuppress()
DNotificationInterruptStateProviderImpl.java512 if (mBatteryController.isAodPowerSave()) { in shouldHeadsUpWhenDozing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeParameters.java267 return mDozeAlwaysOn && !mBatteryController.isAodPowerSave(); in getAlwaysOn()
DDozeServiceHost.java351 return mBatteryController.isAodPowerSave(); in isPowerSaveActive()