Home
last modified time | relevance | path

Searched refs:screenBrightnessOverride (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java471 public float screenBrightnessOverride; field in DisplayManagerInternal.DisplayPowerRequest
506 screenBrightnessOverride = PowerManager.BRIGHTNESS_INVALID_FLOAT; in DisplayPowerRequest()
526 screenBrightnessOverride = other.screenBrightnessOverride; in copyFrom()
547 && floatEquals(screenBrightnessOverride, in equals()
548 other.screenBrightnessOverride) in equals()
574 + ", screenBrightnessOverride=" + screenBrightnessOverride in toString()
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/
DOverrideBrightnessStrategy.java37 strategyExecutionRequest.getDisplayPowerRequest().screenBrightnessOverride, in updateBrightness()
39 .screenBrightnessOverride, getName()); in updateBrightness()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
DDisplayBrightnessStrategySelectorTest.java254 displayPowerRequest.screenBrightnessOverride = 0.4f; in selectStrategySelectsOverrideStrategyWhenValid()
266 displayPowerRequest.screenBrightnessOverride = Float.NaN; in selectStrategySelectsTemporaryStrategyWhenValid()
281 displayPowerRequest.screenBrightnessOverride = Float.NaN; in selectStrategySelectsBoostStrategyWhenValid()
293 displayPowerRequest.screenBrightnessOverride = Float.NaN; in selectStrategySelectsInvalidStrategyWhenNoStrategyIsValid()
321 displayPowerRequest.screenBrightnessOverride = Float.NaN; in selectStrategySelectsOffloadStrategyWhenValid()
345 displayPowerRequest.screenBrightnessOverride = Float.NaN; in selectStrategy_selectsAutomaticStrategyWhenValid()
367 displayPowerRequest.screenBrightnessOverride = Float.NaN; in selectStrategy_selectsAutomaticFallbackStrategyWhenValid()
386 displayPowerRequest.screenBrightnessOverride = Float.NaN; in selectStrategyDoesNotSelectOffloadStrategyWhenFeatureFlagDisabled()
404 displayPowerRequest.screenBrightnessOverride = Float.NaN; in selectStrategy_selectsFallbackStrategyAsAnUltimateFallback()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerGroupTest.java276 assertThat(displayPowerRequest.screenBrightnessOverride).isWithin(PRECISION).of(BRIGHTNESS); in testUpdateWhileAwake_UpdatesDisplayPowerRequest()
316 assertThat(displayPowerRequest.screenBrightnessOverride).isWithin(PRECISION).of(BRIGHTNESS); in testUpdateWhileDozing_UpdatesDisplayPowerRequest()
355 assertThat(displayPowerRequest.screenBrightnessOverride).isWithin(PRECISION).of(BRIGHTNESS); in testUpdateWhileDozing_DozeAfterScreenOff()
393 assertThat(displayPowerRequest.screenBrightnessOverride).isWithin(PRECISION).of(BRIGHTNESS); in testUpdateQuiescent()
431 assertThat(displayPowerRequest.screenBrightnessOverride).isWithin(PRECISION).of(BRIGHTNESS); in testUpdateWhileAsleep_UpdatesDisplayPowerRequest()
470 assertThat(displayPowerRequest.screenBrightnessOverride).isWithin(PRECISION).of(BRIGHTNESS); in testUpdateWhileDreamingWithScreenBrightWakelock_UpdatesDisplayPowerRequest()
507 assertThat(displayPowerRequest.screenBrightnessOverride).isWithin(PRECISION).of(BRIGHTNESS); in testUpdateWhileAwakeBootNotComplete_UpdatesDisplayPowerRequest()
545 assertThat(displayPowerRequest.screenBrightnessOverride).isWithin(PRECISION).of(BRIGHTNESS); in testUpdateWhileAwakeUserActivityScreenBright_UpdatesDisplayPowerRequest()
582 assertThat(displayPowerRequest.screenBrightnessOverride).isWithin(PRECISION).of(BRIGHTNESS); in testUpdateWhileAwakeScreenBrightnessBoostInProgress_UpdatesDisplayPowerRequest()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/
DOverrideBrightnessStrategyTest.java51 displayPowerRequest.screenBrightnessOverride = overrideBrightness; in testUpdateBrightnessWhenScreenDozeStateIsRequested()
/frameworks/base/services/core/java/com/android/server/power/
DPowerGroup.java433 boolean updateLocked(float screenBrightnessOverride, boolean useProximitySensor, in updateLocked() argument
443 mDisplayPowerRequest.screenBrightnessOverride = screenBrightnessOverride; in updateLocked()
DPowerManagerService.java3637 final float screenBrightnessOverride;
3641 screenBrightnessOverride = mScreenBrightnessDefault;
3643 screenBrightnessOverride = mScreenBrightnessOverrideFromWindowManager;
3645 screenBrightnessOverride = PowerManager.BRIGHTNESS_INVALID_FLOAT;
3647 boolean ready = powerGroup.updateLocked(screenBrightnessOverride,
3673 + ", screenBrightnessOverride=" + screenBrightnessOverride
/frameworks/base/services/core/java/com/android/server/display/brightness/
DDisplayBrightnessStrategySelector.java183 .isValidBrightnessValue(displayPowerRequest.screenBrightnessOverride)) { in selectStrategy()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt19837 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->screenBrightnessOverride:I