Home
last modified time | relevance | path

Searched refs:autoBrightnessState (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DNormalBrightnessModeControllerTest.java107 public void testReturnsCorrectMaxBrightness(float ambientLux, int autoBrightnessState, in testReturnsCorrectMaxBrightness() argument
110 setupController(ambientLux, autoBrightnessState, maxBrightnessConfig); in testReturnsCorrectMaxBrightness()
115 private void setupController(float ambientLux, int autoBrightnessState, in setupController() argument
118 mController.setAutoBrightnessState(autoBrightnessState); in setupController()
/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/
DAutomaticBrightnessStrategy2.java118 final int autoBrightnessState = mIsAutoBrightnessEnabled in setAutoBrightnessState() local
126 policy, targetDisplayState, mBrightnessConfiguration, autoBrightnessState); in setAutoBrightnessState()
363 BrightnessConfiguration brightnessConfiguration, int autoBrightnessState) { in accommodateUserBrightnessChanges() argument
376 mAutomaticBrightnessController.configure(autoBrightnessState, in accommodateUserBrightnessChanges()
DAutomaticBrightnessStrategy.java144 final int autoBrightnessState = mIsAutoBrightnessEnabled in setAutoBrightnessState() local
152 policy, targetDisplayState, mBrightnessConfiguration, autoBrightnessState); in setAutoBrightnessState()
465 BrightnessConfiguration brightnessConfiguration, int autoBrightnessState) { in accommodateUserBrightnessChanges() argument
478 mAutomaticBrightnessController.configure(autoBrightnessState, in accommodateUserBrightnessChanges()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/
DAutomaticBrightnessStrategy2Test.java257 int autoBrightnessState = AutomaticBrightnessController.AUTO_BRIGHTNESS_ENABLED; in accommodateUserBrightnessChangesWorksAsExpected() local
263 autoBrightnessState); in accommodateUserBrightnessChangesWorksAsExpected()
264 verify(mAutomaticBrightnessController).configure(autoBrightnessState, in accommodateUserBrightnessChangesWorksAsExpected()
279 autoBrightnessState); in accommodateUserBrightnessChangesWorksAsExpected()
DAutomaticBrightnessStrategyTest.java310 int autoBrightnessState = AutomaticBrightnessController.AUTO_BRIGHTNESS_ENABLED; in accommodateUserBrightnessChangesWorksAsExpected() local
316 autoBrightnessState); in accommodateUserBrightnessChangesWorksAsExpected()
317 verify(mAutomaticBrightnessController).configure(autoBrightnessState, in accommodateUserBrightnessChangesWorksAsExpected()
332 autoBrightnessState); in accommodateUserBrightnessChangesWorksAsExpected()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java1418 final int autoBrightnessState = mAutomaticBrightnessStrategy.isAutoBrightnessEnabled() in updatePowerStateInternal() local
1424 mBrightnessRangeController.setAutoBrightnessEnabled(autoBrightnessState); in updatePowerStateInternal()