Searched refs:displayBrightnessStrategy (Results 1 – 5 of 5) sorted by relevance
168 DisplayBrightnessStrategy displayBrightnessStrategy = mInvalidBrightnessStrategy; in selectStrategy() local174 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 …]
53 DisplayBrightnessStrategy displayBrightnessStrategy, in StrategySelectionNotifyRequest() argument59 mSelectedDisplayBrightnessStrategy = displayBrightnessStrategy; in StrategySelectionNotifyRequest()
86 DisplayBrightnessStrategy displayBrightnessStrategy = mock(DisplayBrightnessStrategy.class); in strategySelectionPostProcessor_resetsOffloadBrightness() local88 .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()
120 DisplayBrightnessStrategy displayBrightnessStrategy = mock(DisplayBrightnessStrategy.class); in testUpdateBrightness() local123 any(StrategySelectionRequest.class))).thenReturn(displayBrightnessStrategy); in testUpdateBrightness()126 verify(displayBrightnessStrategy).updateBrightness( in testUpdateBrightness()130 displayBrightnessStrategy); in testUpdateBrightness() local
433 for (DisplayBrightnessStrategy displayBrightnessStrategy : in selectStrategyCallsPostProcessorForAllStrategies()435 if (displayBrightnessStrategy != null) { in selectStrategyCallsPostProcessorForAllStrategies()436 verify(displayBrightnessStrategy).strategySelectionPostProcessor( in selectStrategyCallsPostProcessorForAllStrategies()