Lines Matching refs:mSessionManager
111 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()
426 mSessionManager.pause(); in handleMediaKey()
428 mSessionManager.resume(); in handleMediaKey()
436 mSessionManager.resume(); in handleMediaKey()
444 mSessionManager.pause(); in handleMediaKey()
451 mSessionManager.stop(); in handleMediaKey()
482 mSessionManager.pause(); in onPause()
491 mSessionManager.resume(); in onResume()
503 mSessionManager.stop(); in onDestroy()
537 mSessionManager.updateStatus(); in updateProgress()
557 for (PlaylistItem item : mSessionManager.getPlaylist()) { in updatePlaylist()
570 mSessionManager.getStatistics()); in updateRouteDescription()
579 mPauseResumeButton.setEnabled(mSessionManager.hasSession()); in updateButtons()
580 mStopButton.setEnabled(mSessionManager.hasSession()); in updateButtons()
677 mSessionManager.add(item.mUri, item.mMime); in getView()
714 mSessionManager.remove(item.getItemId()); in getView()