Searched refs:mFollowerBrightnessStrategy (Results 1 – 3 of 3) sorted by relevance
38 private FollowerBrightnessStrategy mFollowerBrightnessStrategy; field in FollowerBrightnessStrategyTest42 mFollowerBrightnessStrategy = new FollowerBrightnessStrategy(Display.DEFAULT_DISPLAY); in before()51 mFollowerBrightnessStrategy.setBrightnessToFollow(brightnessToFollow, slowChange); in testUpdateBrightness()59 .setDisplayBrightnessStrategyName(mFollowerBrightnessStrategy.getName()) in testUpdateBrightness()63 mFollowerBrightnessStrategy.updateBrightness( in testUpdateBrightness()
86 private FollowerBrightnessStrategy mFollowerBrightnessStrategy; field in DisplayBrightnessStrategySelectorTest136 return mFollowerBrightnessStrategy;255 when(mFollowerBrightnessStrategy.getBrightnessToFollow()).thenReturn(Float.NaN); in selectStrategySelectsOverrideStrategyWhenValid()267 when(mFollowerBrightnessStrategy.getBrightnessToFollow()).thenReturn(Float.NaN); in selectStrategySelectsTemporaryStrategyWhenValid()280 when(mFollowerBrightnessStrategy.getBrightnessToFollow()).thenReturn(Float.NaN); in selectStrategySelectsBoostStrategyWhenValid()294 when(mFollowerBrightnessStrategy.getBrightnessToFollow()).thenReturn(Float.NaN); in selectStrategySelectsInvalidStrategyWhenNoStrategyIsValid()307 when(mFollowerBrightnessStrategy.getBrightnessToFollow()).thenReturn(0.3f); in selectStrategySelectsFollowerStrategyWhenValid()311 mFollowerBrightnessStrategy); in selectStrategySelectsFollowerStrategyWhenValid() local322 when(mFollowerBrightnessStrategy.getBrightnessToFollow()).thenReturn(Float.NaN); in selectStrategySelectsOffloadStrategyWhenValid()346 when(mFollowerBrightnessStrategy.getBrightnessToFollow()).thenReturn(Float.NaN); in selectStrategy_selectsAutomaticStrategyWhenValid()[all …]
72 private final FollowerBrightnessStrategy mFollowerBrightnessStrategy; field in DisplayBrightnessStrategySelector126 mFollowerBrightnessStrategy = injector.getFollowerBrightnessStrategy(displayId); in DisplayBrightnessStrategySelector()151 mScreenOffBrightnessStrategy, mDozeBrightnessStrategy, mFollowerBrightnessStrategy, in DisplayBrightnessStrategySelector()178 mFollowerBrightnessStrategy.getBrightnessToFollow())) { in selectStrategy()179 displayBrightnessStrategy = mFollowerBrightnessStrategy; in selectStrategy()225 return mFollowerBrightnessStrategy; in getFollowerDisplayBrightnessStrategy()