Searched refs:mCastController (Results 1 – 5 of 5) sorted by relevance
112 @Mock private CastController mCastController; field in AutoTileManagerTest203 mCastController, mReduceBrightColorsController, mDeviceControlsController, in createAutoTileManager()280 InOrder inOrderCast = inOrder(mCastController); in testChangeUserCallbacksStoppedAndStarted()281 inOrderCast.verify(mCastController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted()282 inOrderCast.verify(mCastController).addCallback(any()); in testChangeUserCallbacksStoppedAndStarted()334 InOrder inOrderCast = inOrder(mCastController); in testChangeUserSomeCallbacksNotAdded()335 inOrderCast.verify(mCastController).removeCallback(any()); in testChangeUserSomeCallbacksNotAdded()336 inOrderCast.verify(mCastController, never()).addCallback(any()); in testChangeUserSomeCallbacksNotAdded()432 doReturn(buildFakeCastDevice(true)).when(mCastController).getCastDevices(); in castTileAdded_whenDeviceIsCasting()439 doReturn(buildFakeCastDevice(false)).when(mCastController).getCastDevices(); in castTileNotAdded_whenDeviceIsNotCasting()
90 private final CastController mCastController; field in AutoTileManager122 mCastController = castController; in AutoTileManager()174 mCastController.addCallback(mCastCallback); in startControllersAndSettingsListeners()212 mCastController.removeCallback(mCastCallback); in stopListening()432 for (CastDevice device : mCastController.getCastDevices()) {443 mHandler.post(() -> mCastController.removeCallback(mCastCallback));
156 @Mock protected CastController mCastController; field in QuickSettingsControllerImplBaseTest309 mCastController, in setup()
350 @Mock private CastController mCastController; field in NotificationPanelViewControllerBaseTest838 mCastController, in setup()
155 private final CastController mCastController; field in QuickSettingsControllerImpl380 mCastController = castController; in QuickSettingsControllerImpl()1240 mRecordingController.isRecording() || mCastController.hasConnectedCastDevice() in applyClippingImmediately()