Searched refs:isAutoBrightnessValid (Results 1 – 4 of 4) sorted by relevance
447 assertFalse(mAutomaticBrightnessStrategy.isAutoBrightnessValid()); in isAutoBrightnessValid_returnsFalseWhenAutoBrightnessIsDisabled()458 assertFalse(mAutomaticBrightnessStrategy.isAutoBrightnessValid()); in isAutoBrightnessValid_returnsFalseWhenBrightnessIsInvalid()474 assertTrue(mAutomaticBrightnessStrategy.isAutoBrightnessValid()); in isAutoBrightnessValid_returnsTrueWhenBrightnessIsValid_adjustsAutoBrightness()591 mAutomaticBrightnessStrategy.isAutoBrightnessValid(); in updateBrightness_constructsDisplayBrightnessState_withNoAdjustmentFlag_isSlowChange()631 mAutomaticBrightnessStrategy.isAutoBrightnessValid(); in updateBrightness_autoBrightnessNotApplied_noAdjustments_isNotSlowChange()
349 when(mAutomaticBrightnessStrategy.isAutoBrightnessValid()).thenReturn(true); in selectStrategy_selectsAutomaticStrategyWhenValid()371 when(mAutomaticBrightnessStrategy.isAutoBrightnessValid()).thenReturn(false); in selectStrategy_selectsAutomaticFallbackStrategyWhenValid()408 when(mAutomaticBrightnessStrategy.isAutoBrightnessValid()).thenReturn(false); in selectStrategy_selectsFallbackStrategyAsAnUltimateFallback()
306 return mAutomaticBrightnessStrategy1.isAutoBrightnessValid(); in isAutomaticBrightnessStrategyValid()
168 public boolean isAutoBrightnessValid() { in isAutoBrightnessValid() method in AutomaticBrightnessStrategy