Searched refs:isAodPowerSave (Results 1 – 10 of 10) sorted by relevance
106 public boolean isAodPowerSave() { in isAodPowerSave() method in FakeBatteryController115 public void setIsAodPowerSave(boolean isAodPowerSave) { in setIsAodPowerSave() argument116 mIsAodPowerSave = isAodPowerSave; in setIsAodPowerSave()
181 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()
92 boolean isAodPowerSave(); in isAodPowerSave() method
345 public boolean isAodPowerSave() { in isAodPowerSave() method in BatteryControllerImpl
125 Assert.assertTrue(mBatteryController.isAodPowerSave()); in testIndependentAODBatterySaver_true()140 Assert.assertFalse(mBatteryController.isAodPowerSave()); in testIndependentAODBatterySaver_false()
410 ensurePulseState { isAodPowerSave = true } in <lambda>()920 var isAodPowerSave: Boolean? = null, in <lambda>() variable in com.android.systemui.statusbar.notification.interruption.VisualInterruptionDecisionProviderTestBase.State943 isAodPowerSave?.let { batteryController.setIsAodPowerSave(it) } in <lambda>()989 isAodPowerSave = false in <lambda>()
111 override fun shouldSuppress() = batteryController.isAodPowerSave() in shouldSuppress()
512 if (mBatteryController.isAodPowerSave()) { in shouldHeadsUpWhenDozing()
267 return mDozeAlwaysOn && !mBatteryController.isAodPowerSave(); in getAlwaysOn()
351 return mBatteryController.isAodPowerSave(); in isPowerSaveActive()