Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/wfd/
DWifiDisplaySettingsTest.java51 private MediaRouter mMediaRouter; field in WifiDisplaySettingsTest
60 when(mActivity.getSystemService(Context.MEDIA_ROUTER_SERVICE)).thenReturn(mMediaRouter); in setUp()
79 when(mMediaRouter.getRouteCount()).thenReturn(1); in listenToSummary_connected_shouldProvideConnectedSummary()
80 when(mMediaRouter.getRouteAt(0)).thenReturn(route); in listenToSummary_connected_shouldProvideConnectedSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sound/
DAudioSwitchPreferenceController.java72 protected final MediaRouter mMediaRouter; field in AudioSwitchPreferenceController
91 mMediaRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE); in AudioSwitchPreferenceController()
302 mMediaRouter.addCallback(ROUTE_TYPE_REMOTE_DISPLAY, mMediaRouterCallback); in register()
313 mMediaRouter.removeCallback(mMediaRouterCallback); in unregister()
/packages/apps/Settings/src/com/android/settings/sound/
DAudioSwitchPreferenceController.java70 protected final MediaRouter mMediaRouter; field in AudioSwitchPreferenceController
88 mMediaRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE); in AudioSwitchPreferenceController()