Home
last modified time | relevance | path

Searched refs:mCastController (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DAutoTileManagerTest.java112 @Mock private CastController mCastController; field in AutoTileManagerTest
203 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java90 private final CastController mCastController; field in AutoTileManager
122 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));
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DQuickSettingsControllerImplBaseTest.java156 @Mock protected CastController mCastController; field in QuickSettingsControllerImplBaseTest
309 mCastController, in setup()
DNotificationPanelViewControllerBaseTest.java350 @Mock private CastController mCastController; field in NotificationPanelViewControllerBaseTest
838 mCastController, in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsControllerImpl.java155 private final CastController mCastController; field in QuickSettingsControllerImpl
380 mCastController = castController; in QuickSettingsControllerImpl()
1240 mRecordingController.isRecording() || mCastController.hasConnectedCastDevice() in applyClippingImmediately()