Home
last modified time | relevance | path

Searched refs:BRIGHTNESS_INVALID_FLOAT (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/
DOffloadBrightnessStrategy.java40 mOffloadScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in OffloadBrightnessStrategy()
52 mOffloadScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in updateBrightness()
98 mOffloadScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in strategySelectionPostProcessor()
DInvalidBrightnessStrategy.java37 PowerManager.BRIGHTNESS_INVALID_FLOAT, PowerManager.BRIGHTNESS_INVALID_FLOAT, in updateBrightness()
DAutomaticBrightnessStrategy2.java99 mPendingAutoBrightnessAdjustment = PowerManager.BRIGHTNESS_INVALID_FLOAT; in AutomaticBrightnessStrategy2()
100 mTemporaryAutoBrightnessAdjustment = PowerManager.BRIGHTNESS_INVALID_FLOAT; in AutomaticBrightnessStrategy2()
268 : PowerManager.BRIGHTNESS_INVALID_FLOAT; in getAutomaticScreenBrightness()
DAutomaticBrightnessStrategy.java115 mPendingAutoBrightnessAdjustment = PowerManager.BRIGHTNESS_INVALID_FLOAT; in AutomaticBrightnessStrategy()
116 mTemporaryAutoBrightnessAdjustment = PowerManager.BRIGHTNESS_INVALID_FLOAT; in AutomaticBrightnessStrategy()
375 : PowerManager.BRIGHTNESS_INVALID_FLOAT; in getAutomaticScreenBrightness()
DTemporaryBrightnessStrategy.java39 mTemporaryScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in TemporaryBrightnessStrategy()
DFollowerBrightnessStrategy.java46 mBrightnessToFollow = PowerManager.BRIGHTNESS_INVALID_FLOAT; in FollowerBrightnessStrategy()
/frameworks/base/services/core/java/com/android/server/display/brightness/
DDisplayBrightnessController.java81 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()
DBrightnessEvent.java130 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/
DScreenOffBrightnessSensorControllerTest.java99 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()
DDisplayPowerControllerTest.java421 .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 …]
DAutomaticBrightnessControllerTest.java449 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()
DBrightnessSynchronizerTest.java91 BrightnessInfo info = new BrightnessInfo(PowerManager.BRIGHTNESS_INVALID_FLOAT, in setUp()
/frameworks/base/services/core/java/com/android/server/display/
DScreenOffBrightnessSensorController.java110 return PowerManager.BRIGHTNESS_INVALID_FLOAT; in getAutomaticScreenBrightness()
115 return PowerManager.BRIGHTNESS_INVALID_FLOAT; in getAutomaticScreenBrightness()
DAutomaticBrightnessController.java231 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;
DBrightnessMappingStrategy.java629 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()
DDisplayPowerController.java1456 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);
DDisplayPowerState.java447 private static final float INITIAL_BACKLIGHT_FLOAT = PowerManager.BRIGHTNESS_INVALID_FLOAT;
DLocalDisplayAdapter.java236 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/
DOffloadBrightnessStrategyTest.java78 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/
DPowerGroupTest.java281 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/
DBrightnessSynchronizer.java152 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/
DDisplayBrightnessControllerTest.java198 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()
DDisplayBrightnessStrategySelectorTest.java208 displayPowerRequest.dozeScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in selectStrategyDoesNotSelectDozeStrategyWhenInvalidBrightness()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java506 screenBrightnessOverride = PowerManager.BRIGHTNESS_INVALID_FLOAT; in DisplayPowerRequest()
510 dozeScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in DisplayPowerRequest()
/frameworks/base/services/core/java/com/android/server/power/
DPowerGroup.java465 mDisplayPowerRequest.dozeScreenBrightness = PowerManager.BRIGHTNESS_INVALID_FLOAT; in updateLocked()

12