Home
last modified time | relevance | path

Searched refs:getAmbientLux (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DAutomaticBrightnessControllerTest.java628 assertEquals(0.0f, mController.getAmbientLux(), EPSILON); in testAmbientLightHorizon()
633 assertEquals(0.0f, mController.getAmbientLux(), EPSILON); in testAmbientLightHorizon()
639 assertEquals(0.0f, mController.getAmbientLux(), EPSILON); in testAmbientLightHorizon()
645 assertTrue(mController.getAmbientLux() > 0.0f); in testAmbientLightHorizon()
646 assertTrue(mController.getAmbientLux() < 10000.0f); in testAmbientLightHorizon()
652 assertTrue(mController.getAmbientLux() > 0.0f); in testAmbientLightHorizon()
653 assertTrue(mController.getAmbientLux() < 10000.0f); in testAmbientLightHorizon()
661 assertEquals(10000.0f, mController.getAmbientLux(), EPSILON); in testAmbientLightHorizon()
667 assertEquals(10000.0f, mController.getAmbientLux(), EPSILON); in testAmbientLightHorizon()
675 assertEquals(10000.0f, mController.getAmbientLux(), EPSILON); in testAmbientLightHorizon()
[all …]
DDisplayPowerControllerTest.java515 when(mHolder.automaticBrightnessController.getAmbientLux()).thenReturn(ambientLux); in testDisplayBrightnessFollowers_AutomaticBrightness()
548 when(mHolder.automaticBrightnessController.getAmbientLux()).thenReturn(ambientLux); in testDisplayBrightnessFollowers_AutomaticBrightness()
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java503 float getAmbientLux() { in getAmbientLux() method in AutomaticBrightnessController
DDisplayPowerController.java1534 : mAutomaticBrightnessController.getAmbientLux(); in updatePowerStateInternal()