Home | History | Annotate | Download | only in media

Lines Matching refs:router

62  * <p>The media router API is not thread-safe; all interactions with it must be
175 // Bind to the media router service.
292 // TODO: All of this should be managed by the media router service.
313 // Tell the media router service all about it.
364 Log.e(TAG, "Unable to unregister media router client.", ex);
376 Log.e(TAG, "Unable to register media router client.", ex);
391 Log.e(TAG, "Unable to publish media router client discovery request.", ex);
403 Log.e(TAG, "Unable to publish media router client selected route.", ex);
415 Log.e(TAG, "Unable to retrieve media router client state.", ex);
639 * @hide To be removed when media router API is updated.
660 * When this flag is specified, the media router will actively scan for new
1127 * @return the number of routes tracked by this router
1188 * Rebinds the media router to handle routes that belong to the specified user.
1192 * media router when running inside of singleton processes like QuickSettings.
1211 cbi.cb.onRouteSelected(cbi.router, type, info);
1219 cbi.cb.onRouteUnselected(cbi.router, type, info);
1240 cbi.cb.onRouteAdded(cbi.router, info);
1242 cbi.cb.onRouteSelected(cbi.router, newSupportedTypes, info);
1246 cbi.cb.onRouteChanged(cbi.router, info);
1250 cbi.cb.onRouteUnselected(cbi.router, oldSupportedTypes, info);
1252 cbi.cb.onRouteRemoved(cbi.router, info);
1260 cbi.cb.onRouteAdded(cbi.router, info);
1268 cbi.cb.onRouteRemoved(cbi.router, info);
1276 cbi.cb.onRouteGrouped(cbi.router, info, group, index);
1284 cbi.cb.onRouteUngrouped(cbi.router, info, group);
1292 cbi.cb.onRouteVolumeChanged(cbi.router, info);
1300 cbi.cb.onRoutePresentationDisplayChanged(cbi.router, info);
1381 // TODO: This hack will go away once all of this is moved into the media router service.
1513 // An id by which the route is known to the media router service.
2574 // Don't keep empty groups in the router.
2743 public final MediaRouter router;
2745 public CallbackInfo(Callback cb, int type, int flags, MediaRouter router) {
2749 this.router = router;
2779 * @param router the MediaRouter reporting the event
2783 public abstract void onRouteSelected(MediaRouter router, int type, RouteInfo info);
2789 * @param router the MediaRouter reporting the event
2793 public abstract void onRouteUnselected(MediaRouter router, int type, RouteInfo info);
2798 * @param router the MediaRouter reporting the event
2801 public abstract void onRouteAdded(MediaRouter router, RouteInfo info);
2806 * @param router the MediaRouter reporting the event
2809 public abstract void onRouteRemoved(MediaRouter router, RouteInfo info);
2817 * @param router the MediaRouter reporting the event
2820 public abstract void onRouteChanged(MediaRouter router, RouteInfo info);
2825 * @param router the MediaRouter reporting the event
2830 public abstract void onRouteGrouped(MediaRouter router, RouteInfo info, RouteGroup group,
2836 * @param router the MediaRouter reporting the event
2840 public abstract void onRouteUngrouped(MediaRouter router, RouteInfo info, RouteGroup group);
2845 * @param router the MediaRouter reporting the event
2848 public abstract void onRouteVolumeChanged(MediaRouter router, RouteInfo info);
2857 * @param router the MediaRouter reporting the event
2862 public void onRoutePresentationDisplayChanged(MediaRouter router, RouteInfo info) {
2874 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) {
2878 public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) {
2882 public void onRouteAdded(MediaRouter router, RouteInfo info) {
2886 public void onRouteRemoved(MediaRouter router, RouteInfo info) {
2890 public void onRouteChanged(MediaRouter router, RouteInfo info) {
2894 public void onRouteGrouped(MediaRouter router, RouteInfo info, RouteGroup group,
2899 public void onRouteUngrouped(MediaRouter router, RouteInfo info, RouteGroup group) {
2903 public void onRouteVolumeChanged(MediaRouter router, RouteInfo info) {