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
/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(
/external/chromium_org/remoting/android/cast/src/org/chromium/chromoting/
CastExtensionHandler.java
70
private MediaRouter
mMediaRouter
;
280
mMediaRouter
= MediaRouter.getInstance(activity);
390
if (
mMediaRouter
!= null && mMediaRouteSelector != null && mMediaRouterCallback != null) {
391
mMediaRouter
.addCallback(mMediaRouteSelector, mMediaRouterCallback,
401
if (
mMediaRouter
!= null && mMediaRouterCallback != null) {
402
mMediaRouter
.removeCallback(mMediaRouterCallback);
/frameworks/base/services/core/java/com/android/server/media/projection/
MediaProjectionManagerService.java
72
private final MediaRouter
mMediaRouter
;
85
mMediaRouter
= (MediaRouter) mContext.getSystemService(Context.MEDIA_ROUTER_SERVICE);
94
mMediaRouter
.addCallback(MediaRouter.ROUTE_TYPE_REMOTE_DISPLAY, mMediaRouterCallback,
100
mMediaRouter
.rebindAsUser(userId);
118
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/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();
/development/samples/Support7Demos/src/com/example/android/supportv7/media/
SampleMediaRouterActivity.java
88
private MediaRouter
mMediaRouter
;
211
mMediaRouter
= MediaRouter.getInstance(this);
372
mMediaRouter
.setMediaSessionCompat(mMediaSession);
376
mMediaRouter
.getSelectedRoute(), mMediaSession);
576
RouteInfo route =
mMediaRouter
.getSelectedRoute();
584
MediaRouter.RouteInfo route =
mMediaRouter
.getSelectedRoute();
Completed in 1275 milliseconds