Home
last modified time | relevance | path

Searched refs:getAutomaticScreenBrightness (Results 1 – 11 of 11) sorted by relevance

/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DScreenOffBrightnessSensorControllerTest.java100 mController.getAutomaticScreenBrightness(), 0); in testBrightness()
107 assertEquals(brightness, mController.getAutomaticScreenBrightness(), 0); in testBrightness()
114 assertEquals(brightness, mController.getAutomaticScreenBrightness(), 0); in testBrightness()
121 assertEquals(brightness, mController.getAutomaticScreenBrightness(), 0); in testBrightness()
128 assertEquals(brightness, mController.getAutomaticScreenBrightness(), 0); in testBrightness()
133 mController.getAutomaticScreenBrightness(), 0); in testBrightness()
151 mController.getAutomaticScreenBrightness(), 0); in testSensorValueValidTime()
156 mController.getAutomaticScreenBrightness(), 0); in testSensorValueValidTime()
H A DAutomaticBrightnessControllerTest.java187 assertEquals(normalizedBrightness1, mController.getAutomaticScreenBrightness(), EPSILON); in testNoHysteresisAtMinBrightness()
201 assertEquals(normalizedBrightness2, mController.getAutomaticScreenBrightness(), EPSILON); in testNoHysteresisAtMinBrightness()
230 assertEquals(normalizedBrightness1, mController.getAutomaticScreenBrightness(), EPSILON); in testNoHysteresisAtMaxBrightness()
245 assertEquals(normalizedBrightness2, mController.getAutomaticScreenBrightness(), EPSILON); in testNoHysteresisAtMaxBrightness()
703 assertEquals(BRIGHTNESS_MAX_FLOAT, mController.getAutomaticScreenBrightness(), 0.0f);
714 assertEquals(throttledBrightness, mController.getAutomaticScreenBrightness(), 0.0f);
725 assertEquals(BRIGHTNESS_MAX_FLOAT, mController.getAutomaticScreenBrightness(), 0.0f);
H A DDisplayPowerControllerTest.java470 .getAutomaticScreenBrightness(any(BrightnessEvent.class))) in testDisplayBrightnessFollowers_AutomaticBrightness()
504 .getAutomaticScreenBrightness(any(BrightnessEvent.class))) in testDisplayBrightnessFollowers_AutomaticBrightness()
737 when(mHolder.screenOffBrightnessSensorController.getAutomaticScreenBrightness()) in testSetScreenOffBrightnessSensorEnabled_DisplayIsOff()
741 when(mHolder.automaticBrightnessController.getAutomaticScreenBrightness( in testSetScreenOffBrightnessSensorEnabled_DisplayIsOff()
748 .getAutomaticScreenBrightness(); in testSetScreenOffBrightnessSensorEnabled_DisplayIsOff()
772 when(mHolder.screenOffBrightnessSensorController.getAutomaticScreenBrightness()) in testSetScreenOffBrightnessSensorEnabled_DisplayIsInDoze()
776 when(mHolder.automaticBrightnessController.getAutomaticScreenBrightness( in testSetScreenOffBrightnessSensorEnabled_DisplayIsInDoze()
783 .getAutomaticScreenBrightness(); in testSetScreenOffBrightnessSensorEnabled_DisplayIsInDoze()
H A DDisplayPowerController2Test.java465 .getAutomaticScreenBrightness(any(BrightnessEvent.class))) in testDisplayBrightnessFollowers_AutomaticBrightness()
499 .getAutomaticScreenBrightness(any(BrightnessEvent.class))) in testDisplayBrightnessFollowers_AutomaticBrightness()
734 when(mHolder.screenOffBrightnessSensorController.getAutomaticScreenBrightness()) in testSetScreenOffBrightnessSensorEnabled_DisplayIsOff()
738 when(mHolder.automaticBrightnessController.getAutomaticScreenBrightness( in testSetScreenOffBrightnessSensorEnabled_DisplayIsOff()
745 .getAutomaticScreenBrightness(); in testSetScreenOffBrightnessSensorEnabled_DisplayIsOff()
772 when(mHolder.screenOffBrightnessSensorController.getAutomaticScreenBrightness()) in testSetScreenOffBrightnessSensorEnabled_DisplayIsInDoze()
776 when(mHolder.automaticBrightnessController.getAutomaticScreenBrightness( in testSetScreenOffBrightnessSensorEnabled_DisplayIsInDoze()
783 .getAutomaticScreenBrightness(); in testSetScreenOffBrightnessSensorEnabled_DisplayIsInDoze()
/aosp14/frameworks/base/services/core/java/com/android/server/display/brightness/strategy/
H A DAutomaticBrightnessStrategy.java263 public float getAutomaticScreenBrightness(BrightnessEvent brightnessEvent) { in getAutomaticScreenBrightness() method in AutomaticBrightnessStrategy
265 ? mAutomaticBrightnessController.getAutomaticScreenBrightness(brightnessEvent) in getAutomaticScreenBrightness()
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DScreenOffBrightnessSensorController.java99 float getAutomaticScreenBrightness() { in getAutomaticScreenBrightness() method in ScreenOffBrightnessSensorController
H A DAutomaticBrightnessController.java364 public float getAutomaticScreenBrightness() { in getAutomaticScreenBrightness() method in AutomaticBrightnessController
365 return getAutomaticScreenBrightness(null); in getAutomaticScreenBrightness()
374 public float getAutomaticScreenBrightness(BrightnessEvent brightnessEvent) { in getAutomaticScreenBrightness() method in AutomaticBrightnessController
1232 setScreenBrightnessByUser(getAutomaticScreenBrightness());
H A DDisplayPowerController2.java1342 brightnessState = mAutomaticBrightnessStrategy.getAutomaticScreenBrightness( in updatePowerStateInternal()
1386 mScreenOffBrightnessSensorController.getAutomaticScreenBrightness(); in updatePowerStateInternal()
H A DDisplayPowerController.java1689 brightnessState = mAutomaticBrightnessController.getAutomaticScreenBrightness( in updatePowerStateInternal()
1739 mScreenOffBrightnessSensorController.getAutomaticScreenBrightness(); in updatePowerStateInternal()
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/strategy/
H A DAutomaticBrightnessStrategyTest.java337 when(automaticBrightnessController.getAutomaticScreenBrightness(any(BrightnessEvent.class))) in setAutomaticBrightnessWorksAsExpected()
342 mAutomaticBrightnessStrategy.getAutomaticScreenBrightness( in setAutomaticBrightnessWorksAsExpected()
/aosp14/frameworks/base/services/
H A Dart-profile3255 HPLcom/android/server/display/AutomaticBrightnessController;->getAutomaticScreenBrightness(Lcom/and…