Home
last modified time | relevance | path

Searched refs:mAmbientBrightnessThresholds (Results 1 – 2 of 2) sorted by relevance

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/display/
H A DAutomaticBrightnessControllerTest.java69 @Mock HysteresisLevels mAmbientBrightnessThresholds; field in AutomaticBrightnessControllerTest
107 mAmbientBrightnessThresholds, mScreenBrightnessThresholds, mLogicalDisplay, in setupController()
138 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMinBrightness()
140 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux1)) in testNoHysteresisAtMinBrightness()
158 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux2)) in testNoHysteresisAtMinBrightness()
160 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux2)) in testNoHysteresisAtMinBrightness()
184 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux1)) in testNoHysteresisAtMaxBrightness()
186 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux1)) in testNoHysteresisAtMaxBrightness()
205 when(mAmbientBrightnessThresholds.getBrighteningThreshold(lux2)) in testNoHysteresisAtMaxBrightness()
207 when(mAmbientBrightnessThresholds.getDarkeningThreshold(lux2)) in testNoHysteresisAtMaxBrightness()
/aosp12/frameworks/base/services/core/java/com/android/server/display/
H A DAutomaticBrightnessController.java129 private final HysteresisLevels mAmbientBrightnessThresholds; field in AutomaticBrightnessController
260 mAmbientBrightnessThresholds = ambientBrightnessThresholds; in AutomaticBrightnessController()
480 mAmbientBrightnessThresholds.dump(pw); in dump()
559 mAmbientBrighteningThreshold = mAmbientBrightnessThresholds.getBrighteningThreshold(lux); in setAmbientLux()
560 mAmbientDarkeningThreshold = mAmbientBrightnessThresholds.getDarkeningThreshold(lux); in setAmbientLux()