Searched refs:offloadControlsDozeAutoBrightness (Results 1 – 6 of 6) sorted by relevance
219 when(mDisplayManagerFlags.offloadControlsDozeAutoBrightness()).thenReturn(true); in selectStrategyDoesNotSelectDozeStrategyWhenOffloadSessionAutoBrightnessIsEnabled()335 when(mDisplayManagerFlags.offloadControlsDozeAutoBrightness()).thenReturn(true); in selectStrategy_selectsAutomaticStrategyWhenValid()459 when(mDisplayManagerFlags.offloadControlsDozeAutoBrightness()).thenReturn(true); in setAllowAutoBrightnessWhileDozing_enabledWhenConfigAndOffloadSessionAreEnabled()473 when(mDisplayManagerFlags.offloadControlsDozeAutoBrightness()).thenReturn(true); in setAllowAutoBrightnessWhileDozing_disabledWhenOffloadSessionFlagIsDisabled()487 when(mDisplayManagerFlags.offloadControlsDozeAutoBrightness()).thenReturn(true); in setAllowAutoBrightnessWhileDozing_disabledWhenABWhileDozingConfigIsDisabled()511 when(mDisplayManagerFlags.offloadControlsDozeAutoBrightness()).thenReturn(true); in setAllowAutoBrightnessWhileDozing_EnabledWhenFlagsAreDisabled()525 when(mDisplayManagerFlags.offloadControlsDozeAutoBrightness()).thenReturn(false); in setAllowAutoBrightnessWhileDozing_EnabledWhenFlagsAreDisabled()
159 Flags::offloadControlsDozeAutoBrightness343 public boolean offloadControlsDozeAutoBrightness() { in offloadControlsDozeAutoBrightness() method in DisplayManagerFlags
283 if (mDisplayManagerFlags.offloadControlsDozeAutoBrightness() in setAllowAutoBrightnessWhileDozing()
327 mClock = injector.createClock(displayManagerFlags.offloadControlsDozeAutoBrightness()); in AutomaticBrightnessController()1379 final long time = (mDisplayManagerFlags.offloadControlsDozeAutoBrightness())
816 when(mDisplayManagerFlags.offloadControlsDozeAutoBrightness()).thenReturn(true);
1033 when(mDisplayManagerFlagsMock.offloadControlsDozeAutoBrightness()).thenReturn(true); in testAutoBrightnessEnabled_DisplayIsInDoze_OffloadAllows()1135 when(mDisplayManagerFlagsMock.offloadControlsDozeAutoBrightness()).thenReturn(true); in testAutoBrightnessDisabled_DisplayIsInDoze_OffloadDoesNotAllow()