OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mMediaRouter
(Results
1 - 12
of
12
) sorted by null
/cts/tests/tests/media/src/android/media/cts/
MediaRouterTest.java
33
private MediaRouter
mMediaRouter
;
40
mMediaRouter
= (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE);
41
mTestCategory =
mMediaRouter
.createRouteCategory("testCategory", false);
45
mMediaRouter
.clearUserRoutes();
50
RouteInfo prevSelectedRoute =
mMediaRouter
.getSelectedRoute(
55
UserRouteInfo newRoute =
mMediaRouter
.createUserRoute(mTestCategory);
57
mMediaRouter
.addUserRoute(newRoute);
58
mMediaRouter
.selectRoute(newRoute.getSupportedTypes(), newRoute);
60
RouteInfo nowSelectedRoute =
mMediaRouter
.getSelectedRoute(MediaRouter.ROUTE_TYPE_USER);
64
mMediaRouter
.selectRoute(prevSelectedRoute.getSupportedTypes(), prevSelectedRoute)
[
all
...]
/developers/build/prebuilts/gradle/BasicMediaRouter/Application/src/main/java/com/example/android/basicmediarouter/
MainActivity.java
59
private MediaRouter
mMediaRouter
;
86
mMediaRouter
= (MediaRouter) getSystemService(Context.MEDIA_ROUTER_SERVICE);
152
RouteInfo selectedRoute =
mMediaRouter
.getSelectedRoute(
209
mMediaRouter
.addCallback(MediaRouter.ROUTE_TYPE_LIVE_VIDEO, mMediaRouterCallback);
226
mMediaRouter
.removeCallback(mMediaRouterCallback);
/developers/samples/android/media/BasicMediaRouter/Application/src/main/java/com/example/android/basicmediarouter/
MainActivity.java
59
private MediaRouter
mMediaRouter
;
86
mMediaRouter
= (MediaRouter) getSystemService(Context.MEDIA_ROUTER_SERVICE);
152
RouteInfo selectedRoute =
mMediaRouter
.getSelectedRoute(
209
mMediaRouter
.addCallback(MediaRouter.ROUTE_TYPE_LIVE_VIDEO, mMediaRouterCallback);
226
mMediaRouter
.removeCallback(mMediaRouterCallback);
/development/samples/browseable/BasicMediaRouter/src/com.example.android.basicmediarouter/
MainActivity.java
59
private MediaRouter
mMediaRouter
;
86
mMediaRouter
= (MediaRouter) getSystemService(Context.MEDIA_ROUTER_SERVICE);
152
RouteInfo selectedRoute =
mMediaRouter
.getSelectedRoute(
209
mMediaRouter
.addCallback(MediaRouter.ROUTE_TYPE_LIVE_VIDEO, mMediaRouterCallback);
226
mMediaRouter
.removeCallback(mMediaRouterCallback);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardDisplayManager.java
35
private MediaRouter
mMediaRouter
;
41
mMediaRouter
= (MediaRouter) mContext.getSystemService(Context.MEDIA_ROUTER_SERVICE);
47
mMediaRouter
.addCallback(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY,
57
mMediaRouter
.removeCallback(mMediaRouterCallback);
94
MediaRouter.RouteInfo route =
mMediaRouter
.getSelectedRoute(
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
CastControllerImpl.java
51
private final MediaRouter
mMediaRouter
;
63
mMediaRouter
= (MediaRouter) context.getSystemService(Context.MEDIA_ROUTER_SERVICE);
113
mMediaRouter
.removeCallback(mMediaCallback);
117
mMediaRouter
.addCallback(ROUTE_TYPE_REMOTE_DISPLAY, mMediaCallback,
121
mMediaRouter
.addCallback(ROUTE_TYPE_REMOTE_DISPLAY, mMediaCallback,
129
mMediaRouter
.rebindAsUser(currentUserId);
170
mMediaRouter
.selectRoute(ROUTE_TYPE_REMOTE_DISPLAY, route);
185
mMediaRouter
.getDefaultRoute().select();
228
final int n =
mMediaRouter
.getRouteCount();
230
final RouteInfo route =
mMediaRouter
.getRouteAt(i)
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/app/
PresentationWithMediaRouterActivity.java
70
private MediaRouter
mMediaRouter
;
87
mMediaRouter
= (MediaRouter)getSystemService(Context.MEDIA_ROUTER_SERVICE);
108
mMediaRouter
.addCallback(MediaRouter.ROUTE_TYPE_LIVE_VIDEO, mMediaRouterCallback);
121
mMediaRouter
.removeCallback(mMediaRouterCallback);
160
MediaRouter.RouteInfo route =
mMediaRouter
.getSelectedRoute(
/frameworks/base/services/core/java/com/android/server/media/projection/
MediaProjectionManagerService.java
67
private final MediaRouter
mMediaRouter
;
80
mMediaRouter
= (MediaRouter) mContext.getSystemService(Context.MEDIA_ROUTER_SERVICE);
89
mMediaRouter
.addCallback(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY, mMediaRouterCallback,
95
mMediaRouter
.rebindAsUser(userId);
113
mMediaRouter
.getDefaultRoute().select();
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
MainActivity.java
82
private MediaRouter
mMediaRouter
;
209
mMediaRouter
= MediaRouter.getInstance(this);
374
mPlayer = Player.create(MainActivity.this,
mMediaRouter
.getSelectedRoute());
398
mMediaRouter
.addRemoteControlClient(mRemoteControlClient);
413
mMediaRouter
.removeRemoteControlClient(mRemoteControlClient);
565
RouteInfo route =
mMediaRouter
.getSelectedRoute();
574
MediaRouter.RouteInfo route =
mMediaRouter
.getSelectedRoute();
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
MainActivity.java
82
private MediaRouter
mMediaRouter
;
209
mMediaRouter
= MediaRouter.getInstance(this);
374
mPlayer = Player.create(MainActivity.this,
mMediaRouter
.getSelectedRoute());
398
mMediaRouter
.addRemoteControlClient(mRemoteControlClient);
413
mMediaRouter
.removeRemoteControlClient(mRemoteControlClient);
565
RouteInfo route =
mMediaRouter
.getSelectedRoute();
574
MediaRouter.RouteInfo route =
mMediaRouter
.getSelectedRoute();
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
SampleMediaRouterActivity.java
82
private MediaRouter
mMediaRouter
;
206
mMediaRouter
= MediaRouter.getInstance(this);
215
mMediaRouter
.addCallback(mSelector, mMediaRouterCB);
355
mMediaRouter
.setMediaSessionCompat(mMediaSession);
359
mMediaRouter
.getSelectedRoute(), mMediaSession);
559
RouteInfo route =
mMediaRouter
.getSelectedRoute();
567
MediaRouter.RouteInfo route =
mMediaRouter
.getSelectedRoute();
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
MainActivity.java
82
private MediaRouter
mMediaRouter
;
209
mMediaRouter
= MediaRouter.getInstance(this);
374
mPlayer = Player.create(MainActivity.this,
mMediaRouter
.getSelectedRoute());
398
mMediaRouter
.addRemoteControlClient(mRemoteControlClient);
413
mMediaRouter
.removeRemoteControlClient(mRemoteControlClient);
565
RouteInfo route =
mMediaRouter
.getSelectedRoute();
574
MediaRouter.RouteInfo route =
mMediaRouter
.getSelectedRoute();
Completed in 389 milliseconds