Searched refs:getAmbientLux (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | AutomaticBrightnessControllerTest.java | 628 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 …]
|
D | DisplayPowerControllerTest.java | 515 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/ |
D | AutomaticBrightnessController.java | 503 float getAmbientLux() { in getAmbientLux() method in AutomaticBrightnessController
|
D | DisplayPowerController.java | 1534 : mAutomaticBrightnessController.getAmbientLux(); in updatePowerStateInternal()
|