Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/
DAutomaticBrightnessStrategy2.java142 boolean shouldResetShortTermModel) { in setBrightnessConfiguration() argument
144 setShouldResetShortTermModel(shouldResetShortTermModel); in setBrightnessConfiguration()
315 void setShouldResetShortTermModel(boolean shouldResetShortTermModel) { in setShouldResetShortTermModel() argument
316 mShouldResetShortTermModel = shouldResetShortTermModel; in setShouldResetShortTermModel()
320 boolean shouldResetShortTermModel() { in shouldResetShortTermModel() method in AutomaticBrightnessStrategy2
DAutomaticBrightnessStrategy.java196 boolean shouldResetShortTermModel) { in setBrightnessConfiguration() argument
198 setShouldResetShortTermModel(shouldResetShortTermModel); in setBrightnessConfiguration()
417 void setShouldResetShortTermModel(boolean shouldResetShortTermModel) { in setShouldResetShortTermModel() argument
418 mShouldResetShortTermModel = shouldResetShortTermModel; in setShouldResetShortTermModel()
422 boolean shouldResetShortTermModel() { in shouldResetShortTermModel() method in AutomaticBrightnessStrategy
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerControllerInterface.java62 boolean shouldResetShortTermModel); in setBrightnessConfiguration() argument
DAutomaticBrightnessController.java445 boolean shouldResetShortTermModel) { in configure() argument
447 boolean changed = setBrightnessConfiguration(configuration, shouldResetShortTermModel); in configure()
562 boolean shouldResetShortTermModel) { in setBrightnessConfiguration() argument
565 if (!isInIdleMode() && shouldResetShortTermModel) { in setBrightnessConfiguration()
1302 if (mCurrentBrightnessMapper.shouldResetShortTermModel(currentLux, mAnchor)) {
DBrightnessMappingStrategy.java400 public boolean shouldResetShortTermModel(float ambientLux, float shortTermModelAnchor) { in shouldResetShortTermModel() method in BrightnessMappingStrategy
DDisplayPowerController.java1893 boolean shouldResetShortTermModel) { in setBrightnessConfiguration() argument
1895 shouldResetShortTermModel ? 1 : 0, /* unused */ 0, c); in setBrightnessConfiguration()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/
DAutomaticBrightnessStrategy2Test.java271 assertFalse(mAutomaticBrightnessStrategy.shouldResetShortTermModel()); in accommodateUserBrightnessChangesWorksAsExpected()
281 assertTrue(mAutomaticBrightnessStrategy.shouldResetShortTermModel()); in accommodateUserBrightnessChangesWorksAsExpected()
DAutomaticBrightnessStrategyTest.java324 assertFalse(mAutomaticBrightnessStrategy.shouldResetShortTermModel()); in accommodateUserBrightnessChangesWorksAsExpected()
334 assertTrue(mAutomaticBrightnessStrategy.shouldResetShortTermModel()); in accommodateUserBrightnessChangesWorksAsExpected()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DAutomaticBrightnessControllerTest.java366 when(mBrightnessMappingStrategy.shouldResetShortTermModel( in testShortTermModelTimesOut()
403 when(mBrightnessMappingStrategy.shouldResetShortTermModel( in testShortTermModelDoesntTimeOut()
452 when(mBrightnessMappingStrategy.shouldResetShortTermModel( in testShortTermModelIsRestoredWhenSwitchingWithinTimeout()
500 when(mBrightnessMappingStrategy.shouldResetShortTermModel( in testShortTermModelNotRestoredAfterTimeout()