Searched refs:mPowerSaveConsumer (Results 1 – 1 of 1) sorted by relevance
168 private Consumer<PowerSaveState> mPowerSaveConsumer; field in UiModeManagerServiceTest195 mPowerSaveConsumer = (Consumer<PowerSaveState>) inv.getArgument(1); in setUp()504 mPowerSaveConsumer.accept( in autoNightModeSwitch_batterySaverOn()516 mPowerSaveConsumer.accept( in nightModeCustomBedtime_batterySaverOn_notInBedtime_shouldActivateNightMode()526 mPowerSaveConsumer.accept( in nightModeCustomBedtime_batterySaverOn_afterBedtime_shouldKeepNightModeActivated()542 mPowerSaveConsumer.accept( in nightModeBedtime_duringBedtime_batterySaverOnThenOff_shouldKeepNightModeActivated()544 mPowerSaveConsumer.accept( in nightModeBedtime_duringBedtime_batterySaverOnThenOff_shouldKeepNightModeActivated()556 mPowerSaveConsumer.accept( in nightModeCustomBedtime_duringBedtime_batterySaverOnThenOff_finallyAfterBedtime_shouldDeactivateNightMode()558 mPowerSaveConsumer.accept( in nightModeCustomBedtime_duringBedtime_batterySaverOnThenOff_finallyAfterBedtime_shouldDeactivateNightMode()