Searched refs:mReduceBrightColorsController (Results 1 – 5 of 5) sorted by relevance
67 private ReduceBrightColorsController mReduceBrightColorsController; field in ReduceBrightColorsTileTest82 mReduceBrightColorsController, in setUp()99 when(mReduceBrightColorsController.isReduceBrightColorsActivated()).thenReturn(false); in testNotActive()110 when(mReduceBrightColorsController.isReduceBrightColorsActivated()).thenReturn(true); in testActive()121 when(mReduceBrightColorsController.isReduceBrightColorsActivated()).thenReturn(false); in testActive_clicked_featureIsActivated()129 verify(mReduceBrightColorsController, times(1)) in testActive_clicked_featureIsActivated()
54 private final ReduceBrightColorsController mReduceBrightColorsController; field in ReduceBrightColorsTile72 mReduceBrightColorsController = reduceBrightColorsController; in ReduceBrightColorsTile()73 mReduceBrightColorsController.observe(getLifecycle(), this); in ReduceBrightColorsTile()99 mReduceBrightColorsController.setReduceBrightColorsActivated(!mState.value); in handleClick()109 state.value = mReduceBrightColorsController.isReduceBrightColorsActivated(); in handleUpdateState()
99 @Mock private ReduceBrightColorsController mReduceBrightColorsController; field in AutoTileManagerTest167 mCastController, mReduceBrightColorsController, mDeviceControlsController, in createAutoTileManager()238 InOrder inOrderReduceBrightColors = inOrder(mReduceBrightColorsController); in testChangeUserCallbacksStoppedAndStarted()239 inOrderReduceBrightColors.verify(mReduceBrightColorsController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted()240 inOrderReduceBrightColors.verify(mReduceBrightColorsController).addCallback(any()); in testChangeUserCallbacksStoppedAndStarted()288 InOrder inOrderReduceBrightColors = inOrder(mReduceBrightColorsController); in testChangeUserSomeCallbacksNotAdded()289 inOrderReduceBrightColors.verify(mReduceBrightColorsController).removeCallback(any()); in testChangeUserSomeCallbacksNotAdded()290 inOrderReduceBrightColors.verify(mReduceBrightColorsController).addCallback(any()); in testChangeUserSomeCallbacksNotAdded()
84 private final ReduceBrightColorsController mReduceBrightColorsController; field in AutoTileManager112 mReduceBrightColorsController = reduceBrightColorsController; in AutoTileManager()150 mReduceBrightColorsController.addCallback(mReduceBrightColorsCallback); in startControllersAndSettingsListeners()175 mReduceBrightColorsController.removeCallback(mReduceBrightColorsCallback); in stopListening()358 mHandler.post(() -> mReduceBrightColorsController.removeCallback(this));
260 @Inject Lazy<ReduceBrightColorsController> mReduceBrightColorsController; field in Dependency418 mProviders.put(ReduceBrightColorsController.class, mReduceBrightColorsController::get); in start()