Home
last modified time | relevance | path

Searched refs:HIGH_BRIGHTNESS_MODE_OFF (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DHighBrightnessModeControllerTest.java20 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 …]
DBrightnessSynchronizerTest.java93 BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF, BRIGHTNESS_MAX, in setUp()
DDisplayPowerControllerTest.java806 BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF); in testDisplayBrightnessHdr_SkipAnimationOnHdrRemoval()
/frameworks/base/core/java/android/hardware/display/
DBrightnessInfo.java35 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/
DFakeScreenBrightnessRepository.kt21 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/
DScreenBrightnessDisplayManagerRepositoryTest.kt21 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/
DBrightnessEventTest.java60 mBrightnessEvent.setHbmMode(BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF); in setUp()
/frameworks/base/services/core/java/com/android/server/display/
DHighBrightnessModeController.java103 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()
DDisplayPowerController.java2895 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/
DBrightnessObserverTest.kt101 BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF, in setUpLowBrightnessZone()
DDisplayModeDirectorTest.java2720 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/
DBrightnessEvent.java135 mHbmMode = BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF; in reset()
/frameworks/base/services/core/java/com/android/server/display/mode/
DDisplayModeDirector.java2821 final boolean isHbmActive = hbmMode != BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF in onDisplayChanged()
2846 mHbmMode.get(displayId, BrightnessInfo.HIGH_BRIGHTNESS_MODE_OFF); in recalculateVotesForDisplay()