Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DAutoTileManagerTest.java94 @Mock private CastController mCastController; field in AutoTileManagerTest
167 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java81 private final CastController mCastController; field in AutoTileManager
111 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));
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java252 @Inject Lazy<CastController> mCastController; field in Dependency
402 mProviders.put(CastController.class, mCastController::get); in start()