/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
H A D | ScreenOffBrightnessSensorControllerTest.java | 100 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 D | AutomaticBrightnessControllerTest.java | 187 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 D | DisplayPowerControllerTest.java | 470 .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 D | DisplayPowerController2Test.java | 465 .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 D | AutomaticBrightnessStrategy.java | 263 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 D | ScreenOffBrightnessSensorController.java | 99 float getAutomaticScreenBrightness() { in getAutomaticScreenBrightness() method in ScreenOffBrightnessSensorController
|
H A D | AutomaticBrightnessController.java | 364 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 D | DisplayPowerController2.java | 1342 brightnessState = mAutomaticBrightnessStrategy.getAutomaticScreenBrightness( in updatePowerStateInternal() 1386 mScreenOffBrightnessSensorController.getAutomaticScreenBrightness(); in updatePowerStateInternal()
|
H A D | DisplayPowerController.java | 1689 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 D | AutomaticBrightnessStrategyTest.java | 337 when(automaticBrightnessController.getAutomaticScreenBrightness(any(BrightnessEvent.class))) in setAutomaticBrightnessWorksAsExpected() 342 mAutomaticBrightnessStrategy.getAutomaticScreenBrightness( in setAutomaticBrightnessWorksAsExpected()
|
/aosp14/frameworks/base/services/ |
H A D | art-profile | 3255 HPLcom/android/server/display/AutomaticBrightnessController;->getAutomaticScreenBrightness(Lcom/and…
|