/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | HighBrightnessModeControllerTest.java | 20 import static android.hardware.display.BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF; 132 assertState(hbmc, DEFAULT_MIN, DEFAULT_MAX, HIGH_BRIGHTNESS_MODE_OFF); in testNoHbmData() 145 assertState(hbmc, DEFAULT_MIN, DEFAULT_MAX, HIGH_BRIGHTNESS_MODE_OFF); in testNoHbmData_Enabled() 153 assertState(hbmc, DEFAULT_MIN, TRANSITION_POINT, HIGH_BRIGHTNESS_MODE_OFF); in testOffByDefault() 161 assertState(hbmc, DEFAULT_MIN, TRANSITION_POINT, HIGH_BRIGHTNESS_MODE_OFF); in testAutoBrightnessEnabled_NoLux() 170 assertState(hbmc, DEFAULT_MIN, TRANSITION_POINT, HIGH_BRIGHTNESS_MODE_OFF); in testAutoBrightnessEnabled_LowLux() 190 assertState(hbmc, DEFAULT_MIN, TRANSITION_POINT, HIGH_BRIGHTNESS_MODE_OFF); in testAutoBrightnessEnabled_HighLux_ThenDisable() 245 assertState(hbmc, DEFAULT_MIN, TRANSITION_POINT, HIGH_BRIGHTNESS_MODE_OFF); in testInHBM_ThenLowLux() 275 assertState(hbmc, DEFAULT_MIN, TRANSITION_POINT, HIGH_BRIGHTNESS_MODE_OFF); in testInHBM_TestMultipleEvents_DueToAutoBrightness() 293 assertState(hbmc, DEFAULT_MIN, TRANSITION_POINT, HIGH_BRIGHTNESS_MODE_OFF); in testInHBM_TestMultipleEvents_DueToLux() [all …]
|
D | BrightnessSynchronizerTest.java | 93 BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF, BRIGHTNESS_MAX, in setUp()
|
D | DisplayPowerControllerTest.java | 806 BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF); in testDisplayBrightnessHdr_SkipAnimationOnHdrRemoval()
|
/frameworks/base/core/java/android/hardware/display/ |
D | BrightnessInfo.java | 35 HIGH_BRIGHTNESS_MODE_OFF, 46 public static final int HIGH_BRIGHTNESS_MODE_OFF = 0; field in BrightnessInfo 139 case HIGH_BRIGHTNESS_MODE_OFF: in hbmToString()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/brightness/data/repository/ |
D | FakeScreenBrightnessRepository.kt | 21 import android.hardware.display.BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF 29 BrightnessInfo(0f, 0f, 1f, HIGH_BRIGHTNESS_MODE_OFF, 1f, BRIGHTNESS_MAX_REASON_NONE)
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/data/repository/ |
D | ScreenBrightnessDisplayManagerRepositoryTest.kt | 21 import android.hardware.display.BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF 248 HIGH_BRIGHTNESS_MODE_OFF, in BrightnessInfo()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/ |
D | BrightnessEventTest.java | 60 mBrightnessEvent.setHbmMode(BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF); in setUp()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | HighBrightnessModeController.java | 103 private int mHbmMode = BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF; 575 return BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF; in calculateHighBrightnessMode() 582 return BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF; in calculateHighBrightnessMode()
|
D | DisplayPowerController.java | 2895 event.getHbmMode() == BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF in logBrightnessEvent() 3279 public MutableInt hbmMode = new MutableInt(BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF);
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | BrightnessObserverTest.kt | 101 BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF, in setUpLowBrightnessZone()
|
D | DisplayModeDirectorTest.java | 2720 new BrightnessInfo(0.45f, 0.0f, 1.0f, BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF, in testHbmVoting_forHdr() 2738 new BrightnessInfo(0.45f, 0.0f, 1.0f, BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF, in testHbmVoting_forHdr() 2755 new BrightnessInfo(0.45f, 0.0f, 1.0f, BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF, in testHbmVoting_forHdr() 2844 new BrightnessInfo(0.43f, 0.1f, 0.8f, BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF, in testHbmVoting_forSunlight() 2868 new BrightnessInfo(0.43f, 0.1f, 0.8f, BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF, in testHbmVoting_forSunlight() 2908 new BrightnessInfo(0.43f, 0.1f, 0.8f, BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF, in testHbmVoting_forSunlight_NoLimitation() 2948 new BrightnessInfo(1.0f, 0.0f, 1.0f, BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF, in testHbmVoting_HbmUnsupported() 2974 new BrightnessInfo(1.0f, 0.0f, 1.0f, BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF, in testHbmVoting_HbmUnsupported() 3030 director, listener, BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF, Float.NaN); in testHbmVoting_forSunlightAndHdr() 3036 director, listener, BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF, Float.NaN); in testHbmVoting_forSunlightAndHdr() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/brightness/ |
D | BrightnessEvent.java | 135 mHbmMode = BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF; in reset()
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | DisplayModeDirector.java | 2821 final boolean isHbmActive = hbmMode != BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF in onDisplayChanged() 2846 mHbmMode.get(displayId, BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF); in recalculateVotesForDisplay()
|