/frameworks/support/v4/jellybean/android/support/v4/media/routing/ |
D | MediaRouterJellybean.java | 47 final android.media.MediaRouter router = (android.media.MediaRouter)routerObj; in getRoutes() 58 final android.media.MediaRouter router = (android.media.MediaRouter)routerObj; in getCategories() 68 return ((android.media.MediaRouter)routerObj).getSelectedRoute(type); in getSelectedRoute() 72 ((android.media.MediaRouter)routerObj).selectRoute(types, in selectRoute() 73 (android.media.MediaRouter.RouteInfo)routeObj); in selectRoute() 77 ((android.media.MediaRouter)routerObj).addCallback(types, in addCallback() 78 (android.media.MediaRouter.Callback)callbackObj); in addCallback() 82 ((android.media.MediaRouter)routerObj).removeCallback( in removeCallback() 83 (android.media.MediaRouter.Callback)callbackObj); in removeCallback() 88 return ((android.media.MediaRouter)routerObj).createRouteCategory(name, isGroupable); in createRouteCategory() [all …]
|
/frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/ |
D | MediaRouterJellybean.java | 47 final android.media.MediaRouter router = (android.media.MediaRouter)routerObj; in getRoutes() 58 final android.media.MediaRouter router = (android.media.MediaRouter)routerObj; in getCategories() 68 return ((android.media.MediaRouter)routerObj).getSelectedRoute(type); in getSelectedRoute() 72 ((android.media.MediaRouter)routerObj).selectRoute(types, in selectRoute() 73 (android.media.MediaRouter.RouteInfo)routeObj); in selectRoute() 77 ((android.media.MediaRouter)routerObj).addCallback(types, in addCallback() 78 (android.media.MediaRouter.Callback)callbackObj); in addCallback() 82 ((android.media.MediaRouter)routerObj).removeCallback( in removeCallback() 83 (android.media.MediaRouter.Callback)callbackObj); in removeCallback() 88 return ((android.media.MediaRouter)routerObj).createRouteCategory(name, isGroupable); in createRouteCategory() [all …]
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
D | MediaRouteChooserDialog.java | 23 import android.support.v7.media.MediaRouter; 51 private final MediaRouter mRouter; 55 private ArrayList<MediaRouter.RouteInfo> mRoutes; 68 mRouter = MediaRouter.getInstance(context); in MediaRouteChooserDialog() 98 MediaRouter.CALLBACK_FLAG_PERFORM_ACTIVE_SCAN); in setRouteSelector() 114 public void onFilterRoutes(@NonNull List<MediaRouter.RouteInfo> routes) { in onFilterRoutes() 133 public boolean onFilterRoute(@NonNull MediaRouter.RouteInfo route) { in onFilterRoute() 151 mRoutes = new ArrayList<MediaRouter.RouteInfo>(); in onCreate() 164 mRouter.addCallback(mSelector, mCallback, MediaRouter.CALLBACK_FLAG_PERFORM_ACTIVE_SCAN); in onAttachedToWindow() 189 private final class RouteAdapter extends ArrayAdapter<MediaRouter.RouteInfo> [all …]
|
D | MediaRouteActionProvider.java | 23 import android.support.v7.media.MediaRouter; 131 private final MediaRouter mRouter; 146 mRouter = MediaRouter.getInstance(context); in MediaRouteActionProvider() 279 MediaRouter.AVAILABILITY_FLAG_IGNORE_DEFAULT_ROUTE); in isVisible() 286 private static final class MediaRouterCallback extends MediaRouter.Callback { 294 public void onRouteAdded(MediaRouter router, MediaRouter.RouteInfo info) { in onRouteAdded() 299 public void onRouteRemoved(MediaRouter router, MediaRouter.RouteInfo info) { in onRouteRemoved() 304 public void onRouteChanged(MediaRouter router, MediaRouter.RouteInfo info) { in onRouteChanged() 309 public void onProviderAdded(MediaRouter router, MediaRouter.ProviderInfo provider) { in onProviderAdded() 314 public void onProviderRemoved(MediaRouter router, MediaRouter.ProviderInfo provider) { in onProviderRemoved() [all …]
|
D | MediaRouteButton.java | 32 import android.support.v7.media.MediaRouter; 88 private final MediaRouter mRouter; 126 mRouter = MediaRouter.getInstance(context); in MediaRouteButton() 232 MediaRouter.RouteInfo route = mRouter.getSelectedRoute(); in showDialog() 493 final MediaRouter.RouteInfo route = mRouter.getSelectedRoute(); in refreshRoute() 519 MediaRouter.AVAILABILITY_FLAG_IGNORE_DEFAULT_ROUTE)); in refreshRoute() 523 private final class MediaRouterCallback extends MediaRouter.Callback { 525 public void onRouteAdded(MediaRouter router, MediaRouter.RouteInfo info) { in onRouteAdded() 530 public void onRouteRemoved(MediaRouter router, MediaRouter.RouteInfo info) { in onRouteRemoved() 535 public void onRouteChanged(MediaRouter router, MediaRouter.RouteInfo info) { in onRouteChanged() [all …]
|
D | MediaRouteDiscoveryFragment.java | 21 import android.support.v7.media.MediaRouter; 39 private MediaRouter mRouter; 41 private MediaRouter.Callback mCallback; 49 public MediaRouter getMediaRouter() { in getMediaRouter() 56 mRouter = MediaRouter.getInstance(getActivity()); in ensureRouter() 121 public MediaRouter.Callback onCreateCallback() { in onCreateCallback() 122 return new MediaRouter.Callback() { }; in onCreateCallback() 135 return MediaRouter.CALLBACK_FLAG_REQUEST_DISCOVERY; in onPrepareCallbackFlags()
|
D | MediaRouteControllerDialog.java | 30 import android.support.v7.media.MediaRouter; 61 private final MediaRouter mRouter; 63 private final MediaRouter.RouteInfo mRoute; 102 mRouter = MediaRouter.getInstance(context); in MediaRouteControllerDialog() 111 public MediaRouter.RouteInfo getRoute() { in getRoute() 281 MediaRouter.CALLBACK_FLAG_UNFILTERED_EVENTS); in onAttachedToWindow() 427 MediaRouter.RouteInfo.PLAYBACK_VOLUME_VARIABLE; in isVolumeControlAvailable() 430 private final class MediaRouterCallback extends MediaRouter.Callback { 432 public void onRouteUnselected(MediaRouter router, MediaRouter.RouteInfo route) { in onRouteUnselected() 437 public void onRouteChanged(MediaRouter router, MediaRouter.RouteInfo route) { in onRouteChanged() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | MediaRouteChooserDialog.java | 23 import android.media.MediaRouter; 24 import android.media.MediaRouter.RouteInfo; 51 private final MediaRouter mRouter; 64 mRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE); in MediaRouteChooserDialog() 91 MediaRouter.CALLBACK_FLAG_PERFORM_ACTIVE_SCAN); in setRouteTypes() 116 public boolean onFilterRoute(MediaRouter.RouteInfo route) { in onFilterRoute() 127 setTitle(mRouteTypes == MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY in onCreate() 158 mRouter.addCallback(mRouteTypes, mCallback, MediaRouter.CALLBACK_FLAG_PERFORM_ACTIVE_SCAN); in onAttachedToWindow() 179 private final class RouteAdapter extends ArrayAdapter<MediaRouter.RouteInfo> 192 MediaRouter.RouteInfo route = mRouter.getRouteAt(i); in update() [all …]
|
D | MediaRouteControllerDialog.java | 26 import android.media.MediaRouter; 27 import android.media.MediaRouter.RouteGroup; 28 import android.media.MediaRouter.RouteInfo; 55 private final MediaRouter mRouter; 57 private final MediaRouter.RouteInfo mRoute; 76 mRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE); in MediaRouteControllerDialog() 84 public MediaRouter.RouteInfo getRoute() { in getRoute() 209 mRouter.addCallback(0, mCallback, MediaRouter.CALLBACK_FLAG_UNFILTERED_EVENTS); in onAttachedToWindow() 286 MediaRouter.RouteInfo.PLAYBACK_VOLUME_VARIABLE; in isVolumeControlAvailable() 289 private final class MediaRouterCallback extends MediaRouter.SimpleCallback { [all …]
|
D | MediaRouteDialogPresenter.java | 25 import android.media.MediaRouter; 43 final MediaRouter router = (MediaRouter)activity.getSystemService( in showDialogFragment() 47 MediaRouter.RouteInfo route = router.getSelectedRoute(); in showDialogFragment() 71 final MediaRouter router = (MediaRouter)context.getSystemService( in createDialog() 74 MediaRouter.RouteInfo route = router.getSelectedRoute(); in createDialog()
|
/frameworks/base/core/java/android/app/ |
D | MediaRouteActionProvider.java | 20 import android.media.MediaRouter; 21 import android.media.MediaRouter.RouteInfo; 49 private final MediaRouter mRouter; 60 mRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE); in MediaRouteActionProvider() 66 setRouteTypes(MediaRouter.ROUTE_TYPE_LIVE_AUDIO); in MediaRouteActionProvider() 90 MediaRouter.CALLBACK_FLAG_PASSIVE_DISCOVERY); in setRouteTypes() 147 MediaRouter.AVAILABILITY_FLAG_IGNORE_DEFAULT_ROUTE); in isVisible() 154 private static class MediaRouterCallback extends MediaRouter.SimpleCallback { 162 public void onRouteAdded(MediaRouter router, RouteInfo info) { in onRouteAdded() 167 public void onRouteRemoved(MediaRouter router, RouteInfo info) { in onRouteRemoved() [all …]
|
D | MediaRouteButton.java | 28 import android.media.MediaRouter; 29 import android.media.MediaRouter.RouteGroup; 30 import android.media.MediaRouter.RouteInfo; 40 private final MediaRouter mRouter; 83 mRouter = (MediaRouter)context.getSystemService(Context.MEDIA_ROUTER_SERVICE); in MediaRouteButton() 96 MediaRouter.ROUTE_TYPE_LIVE_AUDIO); in MediaRouteButton() 131 MediaRouter.CALLBACK_FLAG_PASSIVE_DISCOVERY); in setRouteTypes() 311 MediaRouter.CALLBACK_FLAG_PASSIVE_DISCOVERY); in onAttachedToWindow() 392 final MediaRouter.RouteInfo route = mRouter.getSelectedRoute(); in refreshRoute() 411 MediaRouter.AVAILABILITY_FLAG_IGNORE_DEFAULT_ROUTE)); in refreshRoute() [all …]
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardDisplayManager.java | 23 import android.media.MediaRouter; 24 import android.media.MediaRouter.RouteInfo; 35 private MediaRouter mMediaRouter; 41 mMediaRouter = (MediaRouter) mContext.getSystemService(Context.MEDIA_ROUTER_SERVICE); in KeyguardDisplayManager() 47 mMediaRouter.addCallback(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY, in show() 48 mMediaRouterCallback, MediaRouter.CALLBACK_FLAG_PASSIVE_DISCOVERY); in show() 63 private final MediaRouter.SimpleCallback mMediaRouterCallback = 64 new MediaRouter.SimpleCallback() { 66 public void onRouteSelected(MediaRouter router, int type, RouteInfo info) { 72 public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) { [all …]
|
/frameworks/support/v7/mediarouter/jellybean-mr2/android/support/v7/media/ |
D | MediaRouterJellybeanMr2.java | 21 return ((android.media.MediaRouter)routerObj).getDefaultRoute(); in getDefaultRoute() 25 ((android.media.MediaRouter)routerObj).addCallback(types, in addCallback() 26 (android.media.MediaRouter.Callback)callbackObj, flags); in addCallback() 31 return ((android.media.MediaRouter.RouteInfo)routeObj).getDescription(); in getDescription() 35 return ((android.media.MediaRouter.RouteInfo)routeObj).isConnecting(); in isConnecting() 41 ((android.media.MediaRouter.UserRouteInfo)routeObj).setDescription(description); in setDescription()
|
/frameworks/support/v4/jellybean-mr2/android/support/v4/media/routing/ |
D | MediaRouterJellybeanMr2.java | 21 return ((android.media.MediaRouter)routerObj).getDefaultRoute(); in getDefaultRoute() 25 ((android.media.MediaRouter)routerObj).addCallback(types, in addCallback() 26 (android.media.MediaRouter.Callback)callbackObj, flags); in addCallback() 31 return ((android.media.MediaRouter.RouteInfo)routeObj).getDescription(); in getDescription() 35 return ((android.media.MediaRouter.RouteInfo)routeObj).isConnecting(); in isConnecting() 41 ((android.media.MediaRouter.UserRouteInfo)routeObj).setDescription(description); in setDescription()
|
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/ |
D | MediaRouterJellybeanMr1.java | 39 return ((android.media.MediaRouter.RouteInfo)routeObj).isEnabled(); in isEnabled() 43 return ((android.media.MediaRouter.RouteInfo)routeObj).getPresentationDisplay(); in getPresentationDisplay() 136 android.media.MediaRouter.RouteInfo.class.getField("STATUS_CONNECTING"); in IsConnectingWorkaround() 139 android.media.MediaRouter.RouteInfo.class.getMethod("getStatusCode"); in IsConnectingWorkaround() 147 android.media.MediaRouter.RouteInfo route = in isConnecting() 148 (android.media.MediaRouter.RouteInfo)routeObj; in isConnecting() 171 public void onRoutePresentationDisplayChanged(android.media.MediaRouter router, in onRoutePresentationDisplayChanged() 172 android.media.MediaRouter.RouteInfo route) { in onRoutePresentationDisplayChanged()
|
/frameworks/support/v4/jellybean-mr1/android/support/v4/media/routing/ |
D | MediaRouterJellybeanMr1.java | 39 return ((android.media.MediaRouter.RouteInfo)routeObj).isEnabled(); in isEnabled() 43 return ((android.media.MediaRouter.RouteInfo)routeObj).getPresentationDisplay(); in getPresentationDisplay() 136 android.media.MediaRouter.RouteInfo.class.getField("STATUS_CONNECTING"); in IsConnectingWorkaround() 139 android.media.MediaRouter.RouteInfo.class.getMethod("getStatusCode"); in IsConnectingWorkaround() 147 android.media.MediaRouter.RouteInfo route = in isConnecting() 148 (android.media.MediaRouter.RouteInfo)routeObj; in isConnecting() 171 public void onRoutePresentationDisplayChanged(android.media.MediaRouter router, in onRoutePresentationDisplayChanged() 172 android.media.MediaRouter.RouteInfo route) { in onRoutePresentationDisplayChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | CastControllerImpl.java | 19 import static android.media.MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY; 25 import android.media.MediaRouter; 26 import android.media.MediaRouter.RouteInfo; 51 private final MediaRouter mMediaRouter; 63 mMediaRouter = (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE); in CastControllerImpl() 118 MediaRouter.CALLBACK_FLAG_REQUEST_DISCOVERY); in handleDiscoveryChangeLocked() 122 MediaRouter.CALLBACK_FLAG_PASSIVE_DISCOVERY); in handleDiscoveryChangeLocked() 273 private final MediaRouter.SimpleCallback mMediaCallback = new MediaRouter.SimpleCallback() { 275 public void onRouteAdded(MediaRouter router, RouteInfo route) { 280 public void onRouteChanged(MediaRouter router, RouteInfo route) { [all …]
|
/frameworks/support/v7/mediarouter/api/ |
D | 22.0.0.txt | 31 method public boolean onFilterRoute(android.support.v7.media.MediaRouter.RouteInfo); 32 … method public void onFilterRoutes(java.util.List<android.support.v7.media.MediaRouter.RouteInfo>); 49 method public android.support.v7.media.MediaRouter.RouteInfo getRoute(); 67 method public android.support.v7.media.MediaRouter getMediaRouter(); 69 method public android.support.v7.media.MediaRouter.Callback onCreateCallback(); 232 …lean onControlRequest(android.content.Intent, android.support.v7.media.MediaRouter.ControlRequestC… 285 public final class MediaRouter { 286 …llback(android.support.v7.media.MediaRouteSelector, android.support.v7.media.MediaRouter.Callback); 287 …k(android.support.v7.media.MediaRouteSelector, android.support.v7.media.MediaRouter.Callback, int); 290 method public android.support.v7.media.MediaRouter.RouteInfo getDefaultRoute(); [all …]
|
D | 22.1.0.txt | 31 method public boolean onFilterRoute(android.support.v7.media.MediaRouter.RouteInfo); 32 … method public void onFilterRoutes(java.util.List<android.support.v7.media.MediaRouter.RouteInfo>); 49 method public android.support.v7.media.MediaRouter.RouteInfo getRoute(); 67 method public android.support.v7.media.MediaRouter getMediaRouter(); 69 method public android.support.v7.media.MediaRouter.Callback onCreateCallback(); 232 …lean onControlRequest(android.content.Intent, android.support.v7.media.MediaRouter.ControlRequestC… 285 public final class MediaRouter { 286 …llback(android.support.v7.media.MediaRouteSelector, android.support.v7.media.MediaRouter.Callback); 287 …k(android.support.v7.media.MediaRouteSelector, android.support.v7.media.MediaRouter.Callback, int); 290 method public android.support.v7.media.MediaRouter.RouteInfo getDefaultRoute(); [all …]
|
D | 22.2.1.txt | 31 method public boolean onFilterRoute(android.support.v7.media.MediaRouter.RouteInfo); 32 … method public void onFilterRoutes(java.util.List<android.support.v7.media.MediaRouter.RouteInfo>); 49 method public android.support.v7.media.MediaRouter.RouteInfo getRoute(); 69 method public android.support.v7.media.MediaRouter getMediaRouter(); 71 method public android.support.v7.media.MediaRouter.Callback onCreateCallback(); 234 …lean onControlRequest(android.content.Intent, android.support.v7.media.MediaRouter.ControlRequestC… 287 public final class MediaRouter { 288 …llback(android.support.v7.media.MediaRouteSelector, android.support.v7.media.MediaRouter.Callback); 289 …k(android.support.v7.media.MediaRouteSelector, android.support.v7.media.MediaRouter.Callback, int); 292 method public android.support.v7.media.MediaRouter.RouteInfo getDefaultRoute(); [all …]
|
D | 22.2.0.txt | 31 method public boolean onFilterRoute(android.support.v7.media.MediaRouter.RouteInfo); 32 … method public void onFilterRoutes(java.util.List<android.support.v7.media.MediaRouter.RouteInfo>); 49 method public android.support.v7.media.MediaRouter.RouteInfo getRoute(); 69 method public android.support.v7.media.MediaRouter getMediaRouter(); 71 method public android.support.v7.media.MediaRouter.Callback onCreateCallback(); 234 …lean onControlRequest(android.content.Intent, android.support.v7.media.MediaRouter.ControlRequestC… 287 public final class MediaRouter { 288 …llback(android.support.v7.media.MediaRouteSelector, android.support.v7.media.MediaRouter.Callback); 289 …k(android.support.v7.media.MediaRouteSelector, android.support.v7.media.MediaRouter.Callback, int); 292 method public android.support.v7.media.MediaRouter.RouteInfo getDefaultRoute(); [all …]
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | MediaRouter.java | 70 public final class MediaRouter { class 218 MediaRouter(Context context) { in MediaRouter() method in MediaRouter 239 public static MediaRouter getInstance(@NonNull Context context) { in getInstance() 396 if (reason < MediaRouter.UNSELECT_REASON_UNKNOWN || in unselect() 397 reason > MediaRouter.UNSELECT_REASON_ROUTE_CHANGED) { in unselect() 1458 public void onRouteSelected(MediaRouter router, RouteInfo route) { in onRouteSelected() 1467 public void onRouteUnselected(MediaRouter router, RouteInfo route) { in onRouteUnselected() 1476 public void onRouteAdded(MediaRouter router, RouteInfo route) { in onRouteAdded() 1485 public void onRouteRemoved(MediaRouter router, RouteInfo route) { in onRouteRemoved() 1494 public void onRouteChanged(MediaRouter router, RouteInfo route) { in onRouteChanged() [all …]
|
D | SystemMediaRouteProvider.java | 68 public void onSyncRouteAdded(MediaRouter.RouteInfo route) { in onSyncRouteAdded() 75 public void onSyncRouteRemoved(MediaRouter.RouteInfo route) { in onSyncRouteRemoved() 82 public void onSyncRouteChanged(MediaRouter.RouteInfo route) { in onSyncRouteChanged() 89 public void onSyncRouteSelected(MediaRouter.RouteInfo route) { in onSyncRouteSelected() 96 public MediaRouter.RouteInfo getSystemRouteByDescriptorId(String id); in getSystemRouteByDescriptorId() 137 .setPlaybackType(MediaRouter.RouteInfo.PLAYBACK_TYPE_LOCAL) in publishRoutes() 138 .setVolumeHandling(MediaRouter.RouteInfo.PLAYBACK_VOLUME_VARIABLE) in publishRoutes() 407 MediaRouter.RouteInfo route = mSyncCallback.getSystemRouteByDescriptorId( in onRouteSelected() 449 public void onSyncRouteAdded(MediaRouter.RouteInfo route) { in onSyncRouteAdded() 476 public void onSyncRouteRemoved(MediaRouter.RouteInfo route) { in onSyncRouteRemoved() [all …]
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 26 import android.media.MediaRouter; 67 private final MediaRouter mMediaRouter; 69 private MediaRouter.RouteInfo mMediaRouteInfo; 80 mMediaRouter = (MediaRouter) mContext.getSystemService(Context.MEDIA_ROUTER_SERVICE); in MediaProjectionManagerService() 89 mMediaRouter.addCallback(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY, mMediaRouterCallback, in onStart() 90 MediaRouter.CALLBACK_FLAG_PASSIVE_DISCOVERY); in onStart() 471 private class MediaRouterCallback extends MediaRouter.SimpleCallback { 473 public void onRouteSelected(MediaRouter router, int type, MediaRouter.RouteInfo info) { in onRouteSelected() 475 if ((type & MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY) != 0) { in onRouteSelected() 485 public void onRouteUnselected(MediaRouter route, int type, MediaRouter.RouteInfo info) { in onRouteUnselected()
|