Home
last modified time | relevance | path

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

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DBrightnessObserverTest.kt82 val brightnessObserver = displayModeDirector.BrightnessObserver( in testLowLightBlockingZoneVotes() constant
85 brightnessObserver.onRefreshRateSettingChangedLocked(0.0f, 120.0f) in testLowLightBlockingZoneVotes()
86 brightnessObserver.updateBlockingZoneThresholds(mockDeviceConfig, false) in testLowLightBlockingZoneVotes()
87 brightnessObserver.onDeviceConfigRefreshRateInLowZoneChanged(testCase.refreshRateInLowZone) in testLowLightBlockingZoneVotes()
89 brightnessObserver.onDisplayChanged(Display.DEFAULT_DISPLAY) in testLowLightBlockingZoneVotes()
DDisplayModeDirectorTest.java848 BrightnessObserver brightnessObserver = mock(BrightnessObserver.class);
849 director.injectBrightnessObserver(brightnessObserver);
851 verify(brightnessObserver)
/frameworks/base/services/core/java/com/android/server/display/mode/
DDisplayModeDirector.java671 void injectBrightnessObserver(BrightnessObserver brightnessObserver) { in injectBrightnessObserver() argument
672 mBrightnessObserver = brightnessObserver; in injectBrightnessObserver()