Home
last modified time | relevance | path

Searched refs:mDisplayBrightnessController (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
DDisplayBrightnessControllerTest.java95 private DisplayBrightnessController mDisplayBrightnessController; field in DisplayBrightnessControllerTest
106 mDisplayBrightnessController = new DisplayBrightnessController(mContext, mInjector, in before()
113 assertEquals(DEFAULT_BRIGHTNESS, mDisplayBrightnessController.getCurrentBrightness(), in testIfFirstScreenBrightnessIsDefault()
124 mDisplayBrightnessController.updateBrightness(displayPowerRequest, targetDisplayState, mock( in testUpdateBrightness()
129 assertEquals(mDisplayBrightnessController.getCurrentDisplayBrightnessStrategy(), in testUpdateBrightness()
135 mDisplayBrightnessController.isAllowAutoBrightnessWhileDozing(); in isAllowAutoBrightnessWhileDozingDelegatesToDozeBrightnessStrategy()
141 mDisplayBrightnessController.isAllowAutoBrightnessWhileDozingConfig(); in isAllowAutoBrightnessWhileDozingConfigDelegatesToDozeBrightnessStrategy()
152 mDisplayBrightnessController.setTemporaryBrightness(temporaryBrightness); in setTemporaryBrightness()
161 mDisplayBrightnessController.setAndNotifyCurrentScreenBrightness(currentScreenBrightness); in setCurrentScreenBrightness()
162 assertEquals(mDisplayBrightnessController.getCurrentBrightness(), in setCurrentScreenBrightness()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java422 private final DisplayBrightnessController mDisplayBrightnessController; field in DisplayPowerController
578 mDisplayBrightnessController = in DisplayPowerController()
594 mDisplayBrightnessController.getAutomaticBrightnessStrategy(); in DisplayPowerController()
714 mDisplayBrightnessController.setAndNotifyCurrentScreenBrightness(newBrightness); in handleOnSwitchUser()
922 mDisplayBrightnessController.stop(); in stop()
987 final float brightness = mDisplayBrightnessController.convertToAdjustedNits( in initialize()
997 mDisplayBrightnessController in initialize()
1120 mDisplayBrightnessController.setUpAutoBrightness( in setUpAutoBrightness()
1357 DisplayBrightnessState displayBrightnessState = mDisplayBrightnessController in updatePowerStateInternal()
1367 mDisplayBrightnessController.getIsUserSetScreenBrightnessUpdated(); in updatePowerStateInternal()
[all …]