Home
last modified time | relevance | path

Searched refs:getUserBrightness (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DAutomaticBrightnessControllerTest.java406 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()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java387 abstract float getUserBrightness(); in getUserBrightness() method in BrightnessMappingStrategy
774 float getUserBrightness() { in getUserBrightness() method in BrightnessMappingStrategy.SimpleMappingStrategy
1081 float getUserBrightness() { in getUserBrightness() method in BrightnessMappingStrategy.PhysicalMappingStrategy
DAutomaticBrightnessController.java1148 mCurrentBrightnessMapper.getUserBrightness(), /* valid= */ true);
1202 return convertToNits(mCurrentBrightnessMapper.getUserBrightness());