Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/brightness/
DDisplayBrightnessStrategySelector.java168 DisplayBrightnessStrategy displayBrightnessStrategy = mInvalidBrightnessStrategy; in selectStrategy() local
174 displayBrightnessStrategy = mScreenOffBrightnessStrategy; in selectStrategy()
176 displayBrightnessStrategy = mDozeBrightnessStrategy; in selectStrategy()
179 displayBrightnessStrategy = mFollowerBrightnessStrategy; in selectStrategy()
181 displayBrightnessStrategy = mBoostBrightnessStrategy; in selectStrategy()
184 displayBrightnessStrategy = mOverrideBrightnessStrategy; in selectStrategy()
187 displayBrightnessStrategy = mTemporaryBrightnessStrategy; in selectStrategy()
190 displayBrightnessStrategy = mAutomaticBrightnessStrategy1; in selectStrategy()
194 displayBrightnessStrategy = mOffloadBrightnessStrategy; in selectStrategy()
196 displayBrightnessStrategy = mAutoBrightnessFallbackStrategy; in selectStrategy()
[all …]
DStrategySelectionNotifyRequest.java53 DisplayBrightnessStrategy displayBrightnessStrategy, in StrategySelectionNotifyRequest() argument
59 mSelectedDisplayBrightnessStrategy = displayBrightnessStrategy; in StrategySelectionNotifyRequest()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/
DOffloadBrightnessStrategyTest.java86 DisplayBrightnessStrategy displayBrightnessStrategy = mock(DisplayBrightnessStrategy.class); in strategySelectionPostProcessor_resetsOffloadBrightness() local
88 .thenReturn(displayBrightnessStrategy); in strategySelectionPostProcessor_resetsOffloadBrightness()
94 when(displayBrightnessStrategy.getName()) in strategySelectionPostProcessor_resetsOffloadBrightness()
101 when(displayBrightnessStrategy.getName()) in strategySelectionPostProcessor_resetsOffloadBrightness()
109 when(displayBrightnessStrategy.getName()) in strategySelectionPostProcessor_resetsOffloadBrightness()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
DDisplayBrightnessControllerTest.java120 DisplayBrightnessStrategy displayBrightnessStrategy = mock(DisplayBrightnessStrategy.class); in testUpdateBrightness() local
123 any(StrategySelectionRequest.class))).thenReturn(displayBrightnessStrategy); in testUpdateBrightness()
126 verify(displayBrightnessStrategy).updateBrightness( in testUpdateBrightness()
130 displayBrightnessStrategy); in testUpdateBrightness() local
DDisplayBrightnessStrategySelectorTest.java433 for (DisplayBrightnessStrategy displayBrightnessStrategy : in selectStrategyCallsPostProcessorForAllStrategies()
435 if (displayBrightnessStrategy != null) { in selectStrategyCallsPostProcessorForAllStrategies()
436 verify(displayBrightnessStrategy).strategySelectionPostProcessor( in selectStrategyCallsPostProcessorForAllStrategies()