/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/ |
D | OffloadBrightnessStrategy.java | 40 mOffloadScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in OffloadBrightnessStrategy() 52 mOffloadScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in updateBrightness() 98 mOffloadScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in strategySelectionPostProcessor()
|
D | InvalidBrightnessStrategy.java | 37 PowerManager.BRIGHTNESS_INVALID_FLOAT, PowerManager.BRIGHTNESS_INVALID_FLOAT, in updateBrightness()
|
D | AutomaticBrightnessStrategy2.java | 99 mPendingAutoBrightnessAdjustment = PowerManager.BRIGHTNESS_INVALID_FLOAT; in AutomaticBrightnessStrategy2() 100 mTemporaryAutoBrightnessAdjustment = PowerManager.BRIGHTNESS_INVALID_FLOAT; in AutomaticBrightnessStrategy2() 268 : PowerManager.BRIGHTNESS_INVALID_FLOAT; in getAutomaticScreenBrightness()
|
D | AutomaticBrightnessStrategy.java | 115 mPendingAutoBrightnessAdjustment = PowerManager.BRIGHTNESS_INVALID_FLOAT; in AutomaticBrightnessStrategy() 116 mTemporaryAutoBrightnessAdjustment = PowerManager.BRIGHTNESS_INVALID_FLOAT; in AutomaticBrightnessStrategy() 375 : PowerManager.BRIGHTNESS_INVALID_FLOAT; in getAutomaticScreenBrightness()
|
D | TemporaryBrightnessStrategy.java | 39 mTemporaryScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in TemporaryBrightnessStrategy()
|
D | FollowerBrightnessStrategy.java | 46 mBrightnessToFollow = PowerManager.BRIGHTNESS_INVALID_FLOAT; in FollowerBrightnessStrategy()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/ |
D | DisplayBrightnessController.java | 81 private float mLastUserSetScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; 126 mPendingScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in DisplayBrightnessController() 418 return PowerManager.BRIGHTNESS_INVALID_FLOAT; in getBrightnessFromNits() 483 mPendingScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in updateUserSetScreenBrightness() 484 setTemporaryBrightnessLocked(PowerManager.BRIGHTNESS_INVALID_FLOAT); in updateUserSetScreenBrightness() 489 mPendingScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in updateUserSetScreenBrightness() 490 setTemporaryBrightnessLocked(PowerManager.BRIGHTNESS_INVALID_FLOAT); in updateUserSetScreenBrightness()
|
D | BrightnessEvent.java | 130 mInitialBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in reset() 131 mBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in reset() 132 mRecommendedBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in reset() 133 mPreThresholdBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in reset()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | ScreenOffBrightnessSensorControllerTest.java | 99 assertEquals(PowerManager.BRIGHTNESS_INVALID_FLOAT, in testBrightness() 132 assertEquals(PowerManager.BRIGHTNESS_INVALID_FLOAT, in testBrightness() 150 assertNotEquals(PowerManager.BRIGHTNESS_INVALID_FLOAT, in testSensorValueValidTime() 155 assertEquals(PowerManager.BRIGHTNESS_INVALID_FLOAT, in testSensorValueValidTime()
|
D | DisplayPowerControllerTest.java | 421 .thenReturn(PowerManager.BRIGHTNESS_INVALID_FLOAT); in testDisplayBrightnessFollowers_FollowerDoesNotSupportNits() 483 .thenReturn(PowerManager.BRIGHTNESS_INVALID_FLOAT); in testDisplayBrightnessFollowers_NeitherDpcSupportsNits() 861 any(BrightnessEvent.class))).thenReturn(PowerManager.BRIGHTNESS_INVALID_FLOAT); in testSetScreenOffBrightnessSensorEnabled_DisplayIsOff() 899 any(BrightnessEvent.class))).thenReturn(PowerManager.BRIGHTNESS_INVALID_FLOAT); in testSetScreenOffBrightnessSensorEnabled_DisplayIsInDoze() 989 /* configuration= */ null, PowerManager.BRIGHTNESS_INVALID_FLOAT, in testAutoBrightnessEnabled_DisplayIsOn() 1015 /* configuration= */ null, PowerManager.BRIGHTNESS_INVALID_FLOAT, in testAutoBrightnessEnabled_DisplayIsInDoze() 1045 /* configuration= */ null, PowerManager.BRIGHTNESS_INVALID_FLOAT, in testAutoBrightnessEnabled_DisplayIsInDoze_OffloadAllows() 1068 /* configuration= */ null, PowerManager.BRIGHTNESS_INVALID_FLOAT, in testAutoBrightnessDisabled_ManualBrightnessMode() 1091 /* configuration= */ null, PowerManager.BRIGHTNESS_INVALID_FLOAT, in testAutoBrightnessDisabled_DisplayIsOff() 1117 /* configuration= */ null, PowerManager.BRIGHTNESS_INVALID_FLOAT, in testAutoBrightnessDisabled_DisplayIsInDoze_ConfigDoesNotAllow() [all …]
|
D | AutomaticBrightnessControllerTest.java | 449 PowerManager.BRIGHTNESS_INVALID_FLOAT); in testShortTermModelIsRestoredWhenSwitchingWithinTimeout() 496 PowerManager.BRIGHTNESS_INVALID_FLOAT); in testShortTermModelNotRestoredAfterTimeout() 532 PowerManager.BRIGHTNESS_INVALID_FLOAT); in testSwitchBetweenModesNoUserInteractions() 540 PowerManager.BRIGHTNESS_INVALID_FLOAT); in testSwitchBetweenModesNoUserInteractions()
|
D | BrightnessSynchronizerTest.java | 91 BrightnessInfo info = new BrightnessInfo(PowerManager.BRIGHTNESS_INVALID_FLOAT, in setUp()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | ScreenOffBrightnessSensorController.java | 110 return PowerManager.BRIGHTNESS_INVALID_FLOAT; in getAutomaticScreenBrightness() 115 return PowerManager.BRIGHTNESS_INVALID_FLOAT; in getAutomaticScreenBrightness()
|
D | AutomaticBrightnessController.java | 231 private float mScreenAutoBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; 236 private float mRawScreenAutoBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; 411 mAmbientLuxValid ? mAmbientLux : PowerManager.BRIGHTNESS_INVALID_FLOAT); in getAutomaticScreenBrightness() 422 return PowerManager.BRIGHTNESS_INVALID_FLOAT; in getAutomaticScreenBrightness() 693 mPreThresholdLux = PowerManager.BRIGHTNESS_INVALID_FLOAT; in setLightSensorEnabled() 695 mScreenAutoBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in setLightSensorEnabled() 696 mRawScreenAutoBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in setLightSensorEnabled() 697 mPreThresholdBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in setLightSensorEnabled() 1273 private float mBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; 1278 mBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT;
|
D | BrightnessMappingStrategy.java | 629 mUserBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in SimpleMappingStrategy() 692 return PowerManager.BRIGHTNESS_INVALID_FLOAT; in getBrightnessFromNits() 727 mUserBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in clearUserDataPoints() 866 mUserBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in PhysicalMappingStrategy() 1009 mUserBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in clearUserDataPoints()
|
D | DisplayPowerController.java | 1456 setBrightnessFromOffload(PowerManager.BRIGHTNESS_INVALID_FLOAT); in updatePowerStateInternal() 2560 PowerManager.BRIGHTNESS_INVALID_FLOAT, BrightnessMappingStrategy.INVALID_NITS, in removeDisplayBrightnessFollower() 2570 PowerManager.BRIGHTNESS_INVALID_FLOAT, BrightnessMappingStrategy.INVALID_NITS, in clearDisplayBrightnessFollowersLocked() 3028 : PowerManager.BRIGHTNESS_INVALID_FLOAT; in handleMessage() 3272 public MutableFloat brightness = new MutableFloat(PowerManager.BRIGHTNESS_INVALID_FLOAT); 3274 new MutableFloat(PowerManager.BRIGHTNESS_INVALID_FLOAT); 3276 new MutableFloat(PowerManager.BRIGHTNESS_INVALID_FLOAT); 3278 new MutableFloat(PowerManager.BRIGHTNESS_INVALID_FLOAT);
|
D | DisplayPowerState.java | 447 private static final float INITIAL_BACKLIGHT_FLOAT = PowerManager.BRIGHTNESS_INVALID_FLOAT;
|
D | LocalDisplayAdapter.java | 236 private float mBrightnessState = PowerManager.BRIGHTNESS_INVALID_FLOAT; 237 private float mSdrBrightnessState = PowerManager.BRIGHTNESS_INVALID_FLOAT; 1707 sdrBacklight, PowerManager.BRIGHTNESS_INVALID_FLOAT)) {
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/ |
D | OffloadBrightnessStrategyTest.java | 78 assertEquals(PowerManager.BRIGHTNESS_INVALID_FLOAT, mOffloadBrightnessStrategy in testUpdateBrightnessWhenOffloadBrightnessIsSet() 112 assertEquals(PowerManager.BRIGHTNESS_INVALID_FLOAT, in strategySelectionPostProcessor_resetsOffloadBrightness()
|
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | PowerGroupTest.java | 281 PowerManager.BRIGHTNESS_INVALID_FLOAT); in testUpdateWhileAwake_UpdatesDisplayPowerRequest() 360 PowerManager.BRIGHTNESS_INVALID_FLOAT); in testUpdateWhileDozing_DozeAfterScreenOff() 398 PowerManager.BRIGHTNESS_INVALID_FLOAT); in testUpdateQuiescent() 436 PowerManager.BRIGHTNESS_INVALID_FLOAT); in testUpdateWhileAsleep_UpdatesDisplayPowerRequest() 475 PowerManager.BRIGHTNESS_INVALID_FLOAT); in testUpdateWhileDreamingWithScreenBrightWakelock_UpdatesDisplayPowerRequest() 512 PowerManager.BRIGHTNESS_INVALID_FLOAT); in testUpdateWhileAwakeBootNotComplete_UpdatesDisplayPowerRequest() 550 PowerManager.BRIGHTNESS_INVALID_FLOAT); in testUpdateWhileAwakeUserActivityScreenBright_UpdatesDisplayPowerRequest() 587 PowerManager.BRIGHTNESS_INVALID_FLOAT); in testUpdateWhileAwakeScreenBrightnessBoostInProgress_UpdatesDisplayPowerRequest()
|
/frameworks/base/core/java/com/android/internal/display/ |
D | BrightnessSynchronizer.java | 152 return PowerManager.BRIGHTNESS_INVALID_FLOAT; in brightnessIntToFloat() 310 return PowerManager.BRIGHTNESS_INVALID_FLOAT; in brightnessIntSettingToFloat() 324 return PowerManager.BRIGHTNESS_INVALID_FLOAT; in brightnessIntSettingToFloat() 328 return PowerManager.BRIGHTNESS_INVALID_FLOAT; in brightnessIntSettingToFloat()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/ |
D | DisplayBrightnessControllerTest.java | 198 PowerManager.BRIGHTNESS_INVALID_FLOAT); in updateUserSetScreenBrightness() 200 PowerManager.BRIGHTNESS_INVALID_FLOAT, /* delta= */ 0.0f); in updateUserSetScreenBrightness() 217 PowerManager.BRIGHTNESS_INVALID_FLOAT); in updateUserSetScreenBrightness() 219 PowerManager.BRIGHTNESS_INVALID_FLOAT, /* delta= */ 0.0f); in updateUserSetScreenBrightness() 331 assertEquals(PowerManager.BRIGHTNESS_INVALID_FLOAT, in testGetBrightnessFromNits()
|
D | DisplayBrightnessStrategySelectorTest.java | 208 displayPowerRequest.dozeScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in selectStrategyDoesNotSelectDozeStrategyWhenInvalidBrightness()
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManagerInternal.java | 506 screenBrightnessOverride = PowerManager.BRIGHTNESS_INVALID_FLOAT; in DisplayPowerRequest() 510 dozeScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in DisplayPowerRequest()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerGroup.java | 465 mDisplayPowerRequest.dozeScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in updateLocked()
|