Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/
H A DAutomaticBrightnessStrategy.java137 boolean shouldResetShortTermModel) { in setBrightnessConfiguration() argument
139 setShouldResetShortTermModel(shouldResetShortTermModel); in setBrightnessConfiguration()
313 void setShouldResetShortTermModel(boolean shouldResetShortTermModel) { in setShouldResetShortTermModel() argument
314 mShouldResetShortTermModel = shouldResetShortTermModel; in setShouldResetShortTermModel()
318 boolean shouldResetShortTermModel() { in shouldResetShortTermModel() method in AutomaticBrightnessStrategy
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayPowerControllerInterface.java61 boolean shouldResetShortTermModel); in setBrightnessConfiguration() argument
H A DAutomaticBrightnessController.java413 boolean shouldResetShortTermModel) { in configure() argument
421 boolean changed = setBrightnessConfiguration(configuration, shouldResetShortTermModel); in configure()
538 boolean shouldResetShortTermModel) { in setBrightnessConfiguration() argument
540 if (!isInIdleMode() && shouldResetShortTermModel) { in setBrightnessConfiguration()
1273 && mCurrentBrightnessMapper.shouldResetShortTermModel(
H A DBrightnessMappingStrategy.java407 public boolean shouldResetShortTermModel(float ambientLux, float shortTermModelAnchor) { in shouldResetShortTermModel() method in BrightnessMappingStrategy
H A DDisplayPowerController2.java1760 boolean shouldResetShortTermModel) { in setBrightnessConfiguration() argument
1762 shouldResetShortTermModel ? 1 : 0, /* unused */ 0, c); in setBrightnessConfiguration()
H A DDisplayPowerController.java2114 boolean shouldResetShortTermModel) { in setBrightnessConfiguration() argument
2116 shouldResetShortTermModel ? 1 : 0, /* unused */ 0, c); in setBrightnessConfiguration()
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/
H A DAutomaticBrightnessStrategyTest.java264 assertFalse(mAutomaticBrightnessStrategy.shouldResetShortTermModel()); in accommodateUserBrightnessChangesWorksAsExpected()
274 assertTrue(mAutomaticBrightnessStrategy.shouldResetShortTermModel()); in accommodateUserBrightnessChangesWorksAsExpected()
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DAutomaticBrightnessControllerTest.java325 when(mBrightnessMappingStrategy.shouldResetShortTermModel( in testShortTermModelTimesOut()
362 when(mBrightnessMappingStrategy.shouldResetShortTermModel( in testShortTermModelDoesntTimeOut()
411 when(mBrightnessMappingStrategy.shouldResetShortTermModel( in testShortTermModelIsRestoredWhenSwitchingWithinTimeout()
458 when(mBrightnessMappingStrategy.shouldResetShortTermModel( in testShortTermModelNotRestoredAfterTimeout()