Searched refs:getUserBrightness (Results 1 – 3 of 3) sorted by relevance
406 when(mBrightnessMappingStrategy.getUserBrightness()).thenReturn(0.51f); in testShortTermModelDoesntTimeOut()444 when(mBrightnessMappingStrategy.getUserBrightness()).thenReturn(0.5f); in testShortTermModelIsRestoredWhenSwitchingWithinTimeout()448 when(mIdleBrightnessMappingStrategy.getUserBrightness()).thenReturn( in testShortTermModelIsRestoredWhenSwitchingWithinTimeout()491 when(mBrightnessMappingStrategy.getUserBrightness()).thenReturn(0.5f); in testShortTermModelNotRestoredAfterTimeout()495 when(mIdleBrightnessMappingStrategy.getUserBrightness()).thenReturn( in testShortTermModelNotRestoredAfterTimeout()531 when(mBrightnessMappingStrategy.getUserBrightness()).thenReturn( in testSwitchBetweenModesNoUserInteractions()539 when(mIdleBrightnessMappingStrategy.getUserBrightness()).thenReturn( in testSwitchBetweenModesNoUserInteractions()591 verify(mBrightnessMappingStrategy, times(1)).getUserBrightness(); in testSwitchToIdleMappingStrategy()
387 abstract float getUserBrightness(); in getUserBrightness() method in BrightnessMappingStrategy774 float getUserBrightness() { in getUserBrightness() method in BrightnessMappingStrategy.SimpleMappingStrategy1081 float getUserBrightness() { in getUserBrightness() method in BrightnessMappingStrategy.PhysicalMappingStrategy
1148 mCurrentBrightnessMapper.getUserBrightness(), /* valid= */ true);1202 return convertToNits(mCurrentBrightnessMapper.getUserBrightness());