Lines Matching refs:mSessionManager

229         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()
405 PlaylistItem item = mSessionManager.remove(iid); in handleRemove()
422 if (sid == null || !sid.equals(mSessionManager.getSessionId())) { in handleSeek()
429 PlaylistItem item = mSessionManager.seek(iid, pos); in handleSeek()
448 PlaylistItem item = mSessionManager.getStatus(iid); in handleGetStatus()
465 boolean success = (sid != null) && sid.equals(mSessionManager.getSessionId()); in handlePause()
466 mSessionManager.pause(); in handlePause()
480 boolean success = (sid != null) && sid.equals(mSessionManager.getSessionId()); in handleResume()
481 mSessionManager.resume(); in handleResume()
495 boolean success = (sid != null) && sid.equals(mSessionManager.getSessionId()); in handleStop()
496 mSessionManager.stop(); in handleStop()
509 String sid = mSessionManager.startSession(); in handleStartSession()
516 mSessionManager.getSessionStatus(sid).asBundle()); in handleStartSession()
531 MediaSessionStatus sessionStatus = mSessionManager.getSessionStatus(sid); in handleGetSessionStatus()
536 mSessionManager.getSessionStatus(sid).asBundle()); in handleGetSessionStatus()
547 boolean success = (sid != null) && sid.equals(mSessionManager.getSessionId()) in handleEndSession()
548 && mSessionManager.endSession(); in handleEndSession()
567 item = mSessionManager.getCurrentItem(); in handleStatusChange()
592 mSessionManager.getSessionStatus(sid).asBundle()); in handleSessionStatusChange()