Home
last modified time | relevance | path

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

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
DDisplayBrightnessControllerTest.java113 assertEquals(DEFAULT_BRIGHTNESS, mDisplayBrightnessController.getCurrentBrightness(), in testIfFirstScreenBrightnessIsDefault()
162 assertEquals(mDisplayBrightnessController.getCurrentBrightness(), in setCurrentScreenBrightness()
211 assertEquals(mDisplayBrightnessController.getCurrentBrightness(), in updateUserSetScreenBrightness()
274 assertEquals(mDisplayBrightnessController.getCurrentBrightness(), brightnessValue, 0.0f); in updateScreenBrightnessSetting()
376 assertEquals(brightness, mDisplayBrightnessController.getCurrentBrightness(), 0.01f); in testLoadNitBasedBrightnessSetting()
388 assertEquals(brightness, mDisplayBrightnessController.getCurrentBrightness(), 0.01f); in testLoadNitBasedBrightnessSetting()
401 assertEquals(brightness, mDisplayBrightnessController.getCurrentBrightness(), 0.01f); in testLoadNitBasedBrightnessSetting()
/frameworks/base/services/core/java/com/android/server/display/brightness/
DDisplayBrightnessController.java243 public float getCurrentBrightness() { in getCurrentBrightness() method in DisplayBrightnessController
620 float currentScreenBrightness = getCurrentBrightness(); in constructStrategyExecutionRequest()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java1428 float currentBrightnessSetting = mDisplayBrightnessController.getCurrentBrightness(); in updatePowerStateInternal()
1512 mDisplayBrightnessController.getCurrentBrightness() in updatePowerStateInternal()
2455 return mDisplayBrightnessController.getCurrentBrightness() * mDozeScaleFactor; in getDozeBrightnessForOffload()
/frameworks/base/services/
Dart-wear-profile10952 PLcom/android/server/display/brightness/DisplayBrightnessController;->getCurrentBrightness()F