Lines Matching defs:router
56 * <p>The media router API is not thread-safe; all interactions with it must be
163 // Bind to the media router service.
270 // TODO: All of this should be managed by the media router service.
291 // Tell the media router service all about it.
342 Log.e(TAG, "Unable to unregister media router client.", ex);
355 Log.e(TAG, "Unable to register media router client.", ex);
370 Log.e(TAG, "Unable to publish media router client discovery request.", ex);
382 Log.e(TAG, "Unable to publish media router client selected route.", ex);
394 Log.e(TAG, "Unable to retrieve media router client state.", ex);
617 * @hide To be removed when media router API is updated.
638 * When this flag is specified, the media router will actively scan for new
1097 * @return the number of routes tracked by this router
1158 * Rebinds the media router to handle routes that belong to the specified user.
1162 * media router when running inside of singleton processes like QuickSettings.
1181 cbi.cb.onRouteSelected(cbi.router, type, info);
1189 cbi.cb.onRouteUnselected(cbi.router, type, info);
1209 cbi.cb.onRouteAdded(cbi.router, info);
1211 cbi.cb.onRouteSelected(cbi.router, newSupportedTypes, info);
1215 cbi.cb.onRouteChanged(cbi.router, info);
1219 router, oldSupportedTypes, info);
1221 cbi.cb.onRouteRemoved(cbi.router, info);
1229 cbi.cb.onRouteAdded(cbi.router, info);
1237 cbi.cb.onRouteRemoved(cbi.router, info);
1245 cbi.cb.onRouteGrouped(cbi.router, info, group, index);
1253 cbi.cb.onRouteUngrouped(cbi.router, info, group);
1261 cbi.cb.onRouteVolumeChanged(cbi.router, info);
1269 cbi.cb.onRoutePresentationDisplayChanged(cbi.router, info);
1350 // TODO: This hack will go away once all of this is moved into the media router service.
1480 // An id by which the route is known to the media router service.
2427 // Don't keep empty groups in the router.
2594 public final MediaRouter router;
2596 public CallbackInfo(Callback cb, int type, int flags, MediaRouter router) {
2600 this.router = router;
2630 * @param router the MediaRouter reporting the event
2634 public abstract void onRouteSelected(MediaRouter router, int type, RouteInfo info);
2640 * @param router the MediaRouter reporting the event
2644 public abstract void onRouteUnselected(MediaRouter router, int type, RouteInfo info);
2649 * @param router the MediaRouter reporting the event
2652 public abstract void onRouteAdded(MediaRouter router, RouteInfo info);
2657 * @param router the MediaRouter reporting the event
2660 public abstract void onRouteRemoved(MediaRouter router, RouteInfo info);
2668 * @param router the MediaRouter reporting the event
2671 public abstract void onRouteChanged(MediaRouter router, RouteInfo info);
2676 * @param router the MediaRouter reporting the event
2681 public abstract void onRouteGrouped(MediaRouter router, RouteInfo info, RouteGroup group,
2687 * @param router the MediaRouter reporting the event
2691 public abstract void onRouteUngrouped(MediaRouter router, RouteInfo info, RouteGroup group);
2696 * @param router the MediaRouter reporting the event
2699 public abstract void onRouteVolumeChanged(MediaRouter router, RouteInfo info);
2708 * @param router the MediaRouter reporting the event
2713 public void onRoutePresentationDisplayChanged(MediaRouter router, RouteInfo info) {
2725 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) {
2729 public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) {
2733 public void onRouteAdded(MediaRouter router, RouteInfo info) {
2737 public void onRouteRemoved(MediaRouter router, RouteInfo info) {
2741 public void onRouteChanged(MediaRouter router, RouteInfo info) {
2745 public void onRouteGrouped(MediaRouter router, RouteInfo info, RouteGroup group,
2750 public void onRouteUngrouped(MediaRouter router, RouteInfo info, RouteGroup group) {
2754 public void onRouteVolumeChanged(MediaRouter router, RouteInfo info) {