Searched refs:mMediaRouter (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | InfoMediaManagerTest.java | 45 private MediaRouter mMediaRouter; field in InfoMediaManagerTest 58 mInfoMediaManager.mMediaRouter = mMediaRouter; in setUp() 66 verify(mMediaRouter).removeCallback(mInfoMediaManager.mMediaRouterCallback); in stopScan_shouldRemoveCallback() 73 verify(mMediaRouter).addCallback(mSelector, mInfoMediaManager.mMediaRouterCallback, in startScan_shouldAddCallback() 85 mInfoMediaManager.mMediaRouterCallback.onRouteAdded(mMediaRouter, info); in onRouteAdded_mediaDeviceNotExistInList_addMediaDevice() 102 mInfoMediaManager.mMediaRouterCallback.onRouteAdded(mMediaRouter, info); in onRouteAdded_mediaDeviceExistInList_doNothing() 118 mInfoMediaManager.mMediaRouterCallback.onRouteRemoved(mMediaRouter, info); in onRouteRemoved_mediaDeviceExistInList_removeMediaDevice() 132 mInfoMediaManager.mMediaRouterCallback.onRouteRemoved(mMediaRouter, info); in onRouteRemoved_mediaDeviceNotExistInList_doNothing()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | CastControllerImpl.java | 60 private final MediaRouter mMediaRouter; field in CastControllerImpl 73 mMediaRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE); in CastControllerImpl() 74 mMediaRouter.setRouterGroupId(MediaRouter.MIRRORING_GROUP_ID); in CastControllerImpl() 128 mMediaRouter.removeCallback(mMediaCallback); in handleDiscoveryChangeLocked() 132 mMediaRouter.addCallback(ROUTE_TYPE_REMOTE_DISPLAY, mMediaCallback, in handleDiscoveryChangeLocked() 141 mMediaRouter.addCallback(ROUTE_TYPE_REMOTE_DISPLAY, mMediaCallback, in handleDiscoveryChangeLocked() 150 mMediaRouter.rebindAsUser(currentUserId); in setCurrentUserId() 199 mMediaRouter.selectRoute(ROUTE_TYPE_REMOTE_DISPLAY, route); in startCasting() 214 mMediaRouter.getFallbackRoute().select(); in stopCasting() 261 final int n = mMediaRouter.getRouteCount(); in updateRemoteDisplays() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | InfoMediaManager.java | 39 MediaRouter mMediaRouter; field in InfoMediaManager 46 mMediaRouter = MediaRouter.getInstance(context); in InfoMediaManager() 56 mMediaRouter.addCallback(mSelector, mMediaRouterCallback, in startScan() 69 mMediaRouter.removeCallback(mMediaRouterCallback); in stopScan()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardDisplayManager.java | 47 private final MediaRouter mMediaRouter; field in KeyguardDisplayManager 95 mMediaRouter = mContext.getSystemService(MediaRouter.class); in KeyguardDisplayManager() 162 mMediaRouter.addCallback(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY, in show() 172 mMediaRouter.removeCallback(mMediaRouterCallback); in hide()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | CastControllerImplTest.java | 39 MediaRouter mMediaRouter; field in CastControllerImplTest 50 mContext.addMockSystemService(MediaRouter.class, mMediaRouter); in setUp()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 77 private final MediaRouter mMediaRouter; field in MediaProjectionManagerService 92 mMediaRouter = (MediaRouter) mContext.getSystemService(Context.MEDIA_ROUTER_SERVICE); in MediaProjectionManagerService() 101 mMediaRouter.addCallback(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY, mMediaRouterCallback, in onStart() 124 mMediaRouter.rebindAsUser(userId); in onSwitchUser() 165 mMediaRouter.getFallbackRoute().select(); in startProjectionLocked()
|