Searched refs:mDisplayBrightnessController (Results 1 – 2 of 2) sorted by relevance
95 private DisplayBrightnessController mDisplayBrightnessController; field in DisplayBrightnessControllerTest106 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 …]
422 private final DisplayBrightnessController mDisplayBrightnessController; field in DisplayPowerController578 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 …]