Searched refs:screenBrightnessOverride (Results 1 – 9 of 9) sorted by relevance
471 public float screenBrightnessOverride; field in DisplayManagerInternal.DisplayPowerRequest506 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()
37 strategyExecutionRequest.getDisplayPowerRequest().screenBrightnessOverride, in updateBrightness()39 .screenBrightnessOverride, getName()); in updateBrightness()
254 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()
276 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()
51 displayPowerRequest.screenBrightnessOverride = overrideBrightness; in testUpdateBrightnessWhenScreenDozeStateIsRequested()
433 boolean updateLocked(float screenBrightnessOverride, boolean useProximitySensor, in updateLocked() argument443 mDisplayPowerRequest.screenBrightnessOverride = screenBrightnessOverride; in updateLocked()
3637 final float screenBrightnessOverride;3641 screenBrightnessOverride = mScreenBrightnessDefault;3643 screenBrightnessOverride = mScreenBrightnessOverrideFromWindowManager;3645 screenBrightnessOverride = PowerManager.BRIGHTNESS_INVALID_FLOAT;3647 boolean ready = powerGroup.updateLocked(screenBrightnessOverride,3673 + ", screenBrightnessOverride=" + screenBrightnessOverride
183 .isValidBrightnessValue(displayPowerRequest.screenBrightnessOverride)) { in selectStrategy()
19837 Landroid/hardware/display/DisplayManagerInternal$DisplayPowerRequest;->screenBrightnessOverride:I