Home
last modified time | relevance | path

Searched refs:mSessionManager (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java229 private final SessionManager mSessionManager = new SessionManager("mrp"); field in SampleMediaRouteProvider.SampleRouteController
236 mSessionManager.setPlayer(mPlayer); in SampleRouteController()
237 mSessionManager.setCallback(new SessionManager.Callback() { in SampleRouteController()
313 Log.d(TAG, mSessionManager.toString()); in onControlRequest()
342 if (sid != null && !sid.equals(mSessionManager.getSessionId())) { in handlePlay()
346 if (mSessionManager.hasSession()) { in handlePlay()
347 mSessionManager.stop(); in handlePlay()
354 if (sid != null && !sid.equals(mSessionManager.getSessionId())) { in handleEnqueue()
381 PlaylistItem item = mSessionManager.add(uri, mime, receiver); in handleEnqueue()
400 if (sid == null || !sid.equals(mSessionManager.getSessionId())) { in handleRemove()
[all …]
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DMainActivity.java111 private final SessionManager mSessionManager = new SessionManager("app"); field in MainActivity
138 mSessionManager.setPlayer(mPlayer);
139 mSessionManager.unsuspend();
154 mSessionManager.suspend(pos);
318 mSessionManager.pause(); in onCreate()
320 mSessionManager.resume(); in onCreate()
330 mSessionManager.stop(); in onCreate()
341 mSessionManager.seek(item.getItemId(), pos); in onCreate()
375 mSessionManager.setPlayer(mPlayer); in onCreate()
376 mSessionManager.setCallback(new SessionManager.Callback() { in onCreate()
[all …]