Home
last modified time | relevance | path

Searched refs:offloadControlsDozeAutoBrightness (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
DDisplayBrightnessStrategySelectorTest.java219 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()
/frameworks/base/services/core/java/com/android/server/display/feature/
DDisplayManagerFlags.java159 Flags::offloadControlsDozeAutoBrightness
343 public boolean offloadControlsDozeAutoBrightness() { in offloadControlsDozeAutoBrightness() method in DisplayManagerFlags
/frameworks/base/services/core/java/com/android/server/display/brightness/
DDisplayBrightnessStrategySelector.java283 if (mDisplayManagerFlags.offloadControlsDozeAutoBrightness() in setAllowAutoBrightnessWhileDozing()
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java327 mClock = injector.createClock(displayManagerFlags.offloadControlsDozeAutoBrightness()); in AutomaticBrightnessController()
1379 final long time = (mDisplayManagerFlags.offloadControlsDozeAutoBrightness())
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DAutomaticBrightnessControllerTest.java816 when(mDisplayManagerFlags.offloadControlsDozeAutoBrightness()).thenReturn(true);
DDisplayPowerControllerTest.java1033 when(mDisplayManagerFlagsMock.offloadControlsDozeAutoBrightness()).thenReturn(true); in testAutoBrightnessEnabled_DisplayIsInDoze_OffloadAllows()
1135 when(mDisplayManagerFlagsMock.offloadControlsDozeAutoBrightness()).thenReturn(true); in testAutoBrightnessDisabled_DisplayIsInDoze_OffloadDoesNotAllow()