/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
D | MediaRouteDiscoveryFragment.java | 43 private MediaRouter mRouter; field in MediaRouteDiscoveryFragment 55 return mRouter; in getMediaRouter() 59 if (mRouter == null) { in ensureRouter() 60 mRouter = MediaRouter.getInstance(getContext()); in ensureRouter() 97 mRouter.removeCallback(mCallback); in setRouteSelector() 98 mRouter.addCallback(mSelector, mCallback, onPrepareCallbackFlags()); in setRouteSelector() 150 mRouter.addCallback(mSelector, mCallback, onPrepareCallbackFlags()); in onStart() 157 mRouter.removeCallback(mCallback); in onStop()
|
D | MediaRouteActionProvider.java | 131 private final MediaRouter mRouter; field in MediaRouteActionProvider 146 mRouter = MediaRouter.getInstance(context); in MediaRouteActionProvider() 181 mRouter.removeCallback(mCallback); in setRouteSelector() 184 mRouter.addCallback(selector, mCallback); in setRouteSelector() 278 return mRouter.isRouteAvailable(mSelector, in isVisible()
|
D | MediaRouteButton.java | 86 private final MediaRouter mRouter; field in MediaRouteButton 125 mRouter = MediaRouter.getInstance(context); in MediaRouteButton() 183 mRouter.removeCallback(mCallback); in setRouteSelector() 186 mRouter.addCallback(selector, mCallback); in setRouteSelector() 247 MediaRouter.RouteInfo route = mRouter.getSelectedRoute(); in showDialog() 391 mRouter.addCallback(mSelector, mCallback); in onAttachedToWindow() 400 mRouter.removeCallback(mCallback); in onDetachedFromWindow() 471 final MediaRouter.RouteInfo route = mRouter.getSelectedRoute(); in refreshRoute() 489 setEnabled(mRouter.isRouteAvailable(mSelector, in refreshRoute()
|
D | MediaRouteChooserDialog.java | 69 private final MediaRouter mRouter; field in MediaRouteChooserDialog 98 mRouter = MediaRouter.getInstance(context); in MediaRouteChooserDialog() 126 mRouter.removeCallback(mCallback); in setRouteSelector() 127 mRouter.addCallback(selector, mCallback, in setRouteSelector() 208 mRouter.addCallback(mSelector, mCallback, MediaRouter.CALLBACK_FLAG_PERFORM_ACTIVE_SCAN); in onAttachedToWindow() 215 mRouter.removeCallback(mCallback); in onDetachedFromWindow() 226 ArrayList<MediaRouter.RouteInfo> routes = new ArrayList<>(mRouter.getRoutes()); in refreshRoutes()
|
D | MediaRouteControllerDialog.java | 114 final MediaRouter mRouter; field in MediaRouteControllerDialog 209 mRouter = MediaRouter.getInstance(mContext); in MediaRouteControllerDialog() 211 mRoute = mRouter.getSelectedRoute(); in MediaRouteControllerDialog() 212 setMediaSession(mRouter.getMediaSessionToken()); in MediaRouteControllerDialog() 481 mRouter.addCallback(MediaRouteSelector.EMPTY, mCallback, in onAttachedToWindow() 483 setMediaSession(mRouter.getMediaSessionToken()); in onAttachedToWindow() 488 mRouter.removeCallback(mCallback); in onDetachedFromWindow() 1193 mRouter.unselect(id == BUTTON_STOP_RES_ID ? in onClick()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | MediaRouteChooserDialog.java | 51 private final MediaRouter mRouter; field in MediaRouteChooserDialog 64 mRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE); in MediaRouteChooserDialog() 89 mRouter.removeCallback(mCallback); in setRouteTypes() 90 mRouter.addCallback(types, mCallback, in setRouteTypes() 158 mRouter.addCallback(mRouteTypes, mCallback, MediaRouter.CALLBACK_FLAG_PERFORM_ACTIVE_SCAN); in onAttachedToWindow() 165 mRouter.removeCallback(mCallback); in onDetachedFromWindow() 190 final int count = mRouter.getRouteCount(); in update() 192 MediaRouter.RouteInfo route = mRouter.getRouteAt(i); in update()
|
D | MediaRouteControllerDialog.java | 59 private final MediaRouter mRouter; field in MediaRouteControllerDialog 79 mRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE); in MediaRouteControllerDialog() 81 mRoute = mRouter.getSelectedRoute(); in MediaRouteControllerDialog() 145 mRouter.getDefaultRoute().select(); in onCreate() 215 mRouter.addCallback(0, mCallback, MediaRouter.CALLBACK_FLAG_UNFILTERED_EVENTS); in onAttachedToWindow() 221 mRouter.removeCallback(mCallback); in onDetachedFromWindow()
|
/frameworks/base/core/java/android/app/ |
D | MediaRouteActionProvider.java | 49 private final MediaRouter mRouter; field in MediaRouteActionProvider 60 mRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE); in MediaRouteActionProvider() 85 mRouter.removeCallback(mCallback); in setRouteTypes() 89 mRouter.addCallback(types, mCallback, in setRouteTypes() 145 return mRouter.isRouteAvailable(mRouteTypes, in isVisible()
|
D | MediaRouteButton.java | 36 private final MediaRouter mRouter; field in MediaRouteButton 78 mRouter = (MediaRouter)context.getSystemService(Context.MEDIA_ROUTER_SERVICE); in MediaRouteButton() 118 mRouter.removeCallback(mCallback); in setRouteTypes() 124 mRouter.addCallback(types, mCallback, in setRouteTypes() 261 mRouter.addCallback(mRouteTypes, mCallback, in onAttachedToWindow() 271 mRouter.removeCallback(mCallback); in onDetachedFromWindow() 343 final MediaRouter.RouteInfo route = mRouter.getSelectedRoute(); in refreshRoute() 361 setEnabled(mRouter.isRouteAvailable(mRouteTypes, in refreshRoute()
|
/frameworks/support/v7/mediarouter/tests/src/android/support/v7/media/ |
D | MediaRouterTest.java | 45 private MediaRouter mRouter; field in MediaRouterTest 55 mRouter = MediaRouter.getInstance(mContext); in setUp() 77 mRouter.setMediaSessionCompat(mSession); in testSessionCallbackAfterSetMediaSessionCompat()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | MediaRouter.java | 1897 public final MediaRouter mRouter; field in MediaRouter.CallbackRecord 1903 mRouter = router; in CallbackRecord() 2932 final MediaRouter router = record.mRouter; in invokeCallback()
|