Lines Matching refs:mSession
132 private MediaSessionCompat mSession;
157 mSession = new MediaSessionCompat(this, "MusicService");
158 setSessionToken(mSession.getSessionToken());
159 mSession.setCallback(new MediaSessionCallback());
160 mSession.setFlags(MediaSessionCompat.FLAG_HANDLES_MEDIA_BUTTONS |
172 mSession.setSessionActivity(pi);
176 mSession.setExtras(extras);
193 MediaButtonReceiver.handleIntent(mSession, startIntent);
219 mSession.release();
370 mSession.setQueue(mPlayingQueue);
371 mSession.setQueueTitle(getString(R.string.random_queue_title));
409 mSession.setQueue(mPlayingQueue);
412 mSession.setQueueTitle(queueTitle);
509 mSession.setQueue(mPlayingQueue);
539 if (!mSession.isActive()) {
540 mSession.setActive(true);
600 mSession.setMetadata(track);
629 mSession.setMetadata(track);
669 mSession.setPlaybackState(stateBuilder.build());