Searched refs:mReduceBrightColorsController (Results 1 – 4 of 4) sorted by relevance
72 private ReduceBrightColorsController mReduceBrightColorsController; field in ReduceBrightColorsTileTest89 mReduceBrightColorsController, in setUp()113 when(mReduceBrightColorsController.isReduceBrightColorsActivated()).thenReturn(false); in testNotActive()124 when(mReduceBrightColorsController.isReduceBrightColorsActivated()).thenReturn(true); in testActive()135 when(mReduceBrightColorsController.isReduceBrightColorsActivated()).thenReturn(false); in testActive_clicked_featureIsActivated()143 verify(mReduceBrightColorsController, times(1)) in testActive_clicked_featureIsActivated()149 when(mReduceBrightColorsController.isReduceBrightColorsActivated()).thenReturn(true); in testIcon_whenTileEnabled_isOnState()160 when(mReduceBrightColorsController.isReduceBrightColorsActivated()).thenReturn(false); in testIcon_whenTileDisabled_isOffState()
55 private final ReduceBrightColorsController mReduceBrightColorsController; field in ReduceBrightColorsTile74 mReduceBrightColorsController = reduceBrightColorsController; in ReduceBrightColorsTile()75 mReduceBrightColorsController.observe(getLifecycle(), this); in ReduceBrightColorsTile()101 mReduceBrightColorsController.setReduceBrightColorsActivated(!mState.value); in handleClick()111 state.value = mReduceBrightColorsController.isReduceBrightColorsActivated(); in handleUpdateState()
119 @Mock private ReduceBrightColorsController mReduceBrightColorsController; field in AutoTileManagerTest203 mCastController, mReduceBrightColorsController, mDeviceControlsController, in createAutoTileManager()276 InOrder inOrderReduceBrightColors = inOrder(mReduceBrightColorsController); in testChangeUserCallbacksStoppedAndStarted()277 inOrderReduceBrightColors.verify(mReduceBrightColorsController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted()278 inOrderReduceBrightColors.verify(mReduceBrightColorsController).addCallback(any()); in testChangeUserCallbacksStoppedAndStarted()330 InOrder inOrderReduceBrightColors = inOrder(mReduceBrightColorsController); in testChangeUserSomeCallbacksNotAdded()331 inOrderReduceBrightColors.verify(mReduceBrightColorsController).removeCallback(any()); in testChangeUserSomeCallbacksNotAdded()332 inOrderReduceBrightColors.verify(mReduceBrightColorsController).addCallback(any()); in testChangeUserSomeCallbacksNotAdded()
93 private final ReduceBrightColorsController mReduceBrightColorsController; field in AutoTileManager123 mReduceBrightColorsController = reduceBrightColorsController; in AutoTileManager()177 mReduceBrightColorsController.addCallback(mReduceBrightColorsCallback); in startControllersAndSettingsListeners()210 mReduceBrightColorsController.removeCallback(mReduceBrightColorsCallback); in stopListening()421 mHandler.post(() -> mReduceBrightColorsController.removeCallback(this));