HomeSort by relevance Sort by last modified time
    Searched refs:mMediaSession (Results 1 - 2 of 2) sorted by null

  /cts/hostsidetests/media/app/MediaSessionTestHelper/src/android/media/app/media_session_test_helper/
MediaSessionTestHelperService.java 48 private MediaSession mMediaSession;
76 if (mMediaSession == null) {
77 mMediaSession = new MediaSession(this, TAG);
80 if (mMediaSession != null) {
82 mMediaSession.setActive(true);
85 mMediaSession.setActive(false);
107 if (mMediaSession != null) {
108 mMediaSession.release();
109 mMediaSession = null;
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/media/
BluetoothSL4AAudioSrcMBS.java 42 private MediaSession mMediaSession = null;
150 mMediaSession = new MediaSession(this, TAG);
151 mSessionToken = mMediaSession.getSessionToken();
153 mMediaSession.setCallback(mMediaSessionCallback);
154 mMediaSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS
162 mPlayback.setMediaSession(mMediaSession);
169 mMediaSession.setPlaybackState(state);
170 mMediaSession.setActive(true);
177 mMediaSession.release();
178 mMediaSession = null
    [all...]

Completed in 141 milliseconds