Lines Matching refs:mSession
129 private MediaSession mSession; field in MusicService
154 mSession = new MediaSession(this, "MusicService"); in onCreate()
155 setSessionToken(mSession.getSessionToken()); in onCreate()
156 mSession.setCallback(new MediaSessionCallback()); in onCreate()
157 mSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS | in onCreate()
169 mSession.setSessionActivity(pi); in onCreate()
173 mSession.setExtras(extras); in onCreate()
213 mSession.release(); in onDestroy()
329 mSession.setQueue(mPlayingQueue); in onPlay()
330 mSession.setQueueTitle(getString(R.string.random_queue_title)); in onPlay()
368 mSession.setQueue(mPlayingQueue); in onPlayFromMediaId()
371 mSession.setQueueTitle(queueTitle); in onPlayFromMediaId()
468 mSession.setQueue(mPlayingQueue); in onPlayFromSearch()
498 if (!mSession.isActive()) { in handlePlayRequest()
499 mSession.setActive(true); in handlePlayRequest()
561 mSession.setMetadata(track); in updateMetadata()
592 mSession.setMetadata(track); in updateMetadata()
632 mSession.setPlaybackState(stateBuilder.build()); in updatePlaybackState()