Searched refs:mCastController (Results 1 – 3 of 3) sorted by relevance
94 @Mock private CastController mCastController; field in AutoTileManagerTest167 mCastController, mReduceBrightColorsController, mDeviceControlsController, in createAutoTileManager()242 InOrder inOrderCast = inOrder(mCastController); in testChangeUserCallbacksStoppedAndStarted()243 inOrderCast.verify(mCastController).removeCallback(any()); in testChangeUserCallbacksStoppedAndStarted()244 inOrderCast.verify(mCastController).addCallback(any()); in testChangeUserCallbacksStoppedAndStarted()292 InOrder inOrderCast = inOrder(mCastController); in testChangeUserSomeCallbacksNotAdded()293 inOrderCast.verify(mCastController).removeCallback(any()); in testChangeUserSomeCallbacksNotAdded()294 inOrderCast.verify(mCastController, never()).addCallback(any()); in testChangeUserSomeCallbacksNotAdded()386 doReturn(buildFakeCastDevice(true)).when(mCastController).getCastDevices(); in castTileAdded_whenDeviceIsCasting()393 doReturn(buildFakeCastDevice(false)).when(mCastController).getCastDevices(); in castTileNotAdded_whenDeviceIsNotCasting()
81 private final CastController mCastController; field in AutoTileManager111 mCastController = castController; in AutoTileManager()147 mCastController.addCallback(mCastCallback); in startControllersAndSettingsListeners()177 mCastController.removeCallback(mCastCallback); in stopListening()369 for (CastDevice device : mCastController.getCastDevices()) {380 mHandler.post(() -> mCastController.removeCallback(mCastCallback));
252 @Inject Lazy<CastController> mCastController; field in Dependency402 mProviders.put(CastController.class, mCastController::get); in start()