Home
last modified time | relevance | path

Searched refs:StrategySelectionRequest (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/brightness/
DStrategySelectionRequest.java27 public final class StrategySelectionRequest { class
43 public StrategySelectionRequest(DisplayManagerInternal.DisplayPowerRequest displayPowerRequest, in StrategySelectionRequest() method in StrategySelectionRequest
77 if (!(obj instanceof StrategySelectionRequest)) { in equals()
80 StrategySelectionRequest other = (StrategySelectionRequest) obj; in equals()
DDisplayBrightnessStrategySelector.java167 StrategySelectionRequest strategySelectionRequest) { in selectStrategy()
298 StrategySelectionRequest strategySelectionRequest) { in isAutomaticBrightnessStrategyValid()
311 StrategySelectionRequest strategySelectionRequest) { in constructStrategySelectionNotifyRequest()
DDisplayBrightnessController.java605 private StrategySelectionRequest constructStrategySelectionRequest( in constructStrategySelectionRequest()
614 return new StrategySelectionRequest(displayPowerRequest, targetDisplayState, in constructStrategySelectionRequest()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
DDisplayBrightnessStrategySelectorTest.java198 new StrategySelectionRequest(displayPowerRequest, Display.STATE_DOZE, in selectStrategySelectsDozeStrategyWhenValid()
212 new StrategySelectionRequest(displayPowerRequest, Display.STATE_DOZE, in selectStrategyDoesNotSelectDozeStrategyWhenInvalidBrightness()
235 new StrategySelectionRequest(displayPowerRequest, Display.STATE_DOZE, in selectStrategyDoesNotSelectDozeStrategyWhenOffloadSessionAutoBrightnessIsEnabled()
245 new StrategySelectionRequest(displayPowerRequest, Display.STATE_OFF, in selectStrategySelectsScreenOffStrategyWhenValid()
257 new StrategySelectionRequest(displayPowerRequest, Display.STATE_ON, in selectStrategySelectsOverrideStrategyWhenValid()
270 new StrategySelectionRequest(displayPowerRequest, Display.STATE_ON, in selectStrategySelectsTemporaryStrategyWhenValid()
284 new StrategySelectionRequest(displayPowerRequest, Display.STATE_ON, in selectStrategySelectsBoostStrategyWhenValid()
298 new StrategySelectionRequest(displayPowerRequest, Display.STATE_ON, in selectStrategySelectsInvalidStrategyWhenNoStrategyIsValid()
309 new StrategySelectionRequest(displayPowerRequest, Display.STATE_ON, in selectStrategySelectsFollowerStrategyWhenValid()
327 new StrategySelectionRequest(displayPowerRequest, Display.STATE_ON, in selectStrategySelectsOffloadStrategyWhenValid()
[all …]
DDisplayBrightnessControllerTest.java123 any(StrategySelectionRequest.class))).thenReturn(displayBrightnessStrategy); in testUpdateBrightness()