Home
last modified time | relevance | path

Searched refs:getSessionToken (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerService.java144 cb.onSessionChanged(getSessionToken()); in registerCallback()
157 public MediaSession.Token getSessionToken() throws RemoteException { in getSessionToken() method in PlayerService.PlayerBinder
162 return mSession.getSessionToken(); in getSessionToken()
DPlayerController.java140 public MediaSession.Token getSessionToken() { in getSessionToken() method in PlayerController
143 return mBinder.getSessionToken(); in getSessionToken()
181 token = mBinder.getSessionToken();
DIPlayerService.aidl26 MediaSession.Token getSessionToken(); in getSessionToken() method
DPlayerSession.java106 public MediaSession.Token getSessionToken() { in getSessionToken() method in PlayerSession
107 return mSession.getSessionToken(); in getSessionToken()
DNotificationHelper.java228 .setMediaSession(mSession.getSessionToken())) in updateNotification()
/frameworks/support/media-compat/api21/android/support/v4/media/
DMediaBrowserCompatApi21.java68 public static Object getSessionToken(Object browserObj) { in getSessionToken() method in MediaBrowserCompatApi21
69 return ((MediaBrowser)browserObj).getSessionToken(); in getSessionToken()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DQueueFragment.java62 Log.d(TAG, "onConnected: session token " + mMediaBrowser.getSessionToken());
64 if (mMediaBrowser.getSessionToken() == null) {
70 mMediaBrowser.getSessionToken());
DBrowseFragment.java136 Log.d(TAG, "onConnected: session token " + mMediaBrowser.getSessionToken());
138 if (mMediaBrowser.getSessionToken() == null) {
144 mMediaBrowser.getSessionToken());
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DMediaSessions.java120 final Token token = controller.getSessionToken(); in onRemoteVolumeChangedH()
137 final Token token = controller.getSessionToken(); in onActiveSessionsUpdatedH()
281 mCallbacks.onRemoteRemoved(controller.getSessionToken()); in onAudioInfoChanged()
284 updateRemoteH(controller.getSessionToken(), name, info); in onAudioInfoChanged()
/frameworks/support/media-compat/tests/src/android/support/v4/media/
DStubMediaBrowserServiceCompatWithDelayedMediaSession.java60 setSessionToken(mSession.getSessionToken()); in callSetSessionToken()
DStubRemoteMediaBrowserServiceCompat.java47 setSessionToken(mSession.getSessionToken()); in onCreate()
DMediaBrowserServiceCompatTest.java102 assertEquals(StubMediaBrowserServiceCompat.sSession.getSessionToken(), in testGetSessionToken()
103 mMediaBrowserService.getSessionToken()); in testGetSessionToken()
413 mMediaBrowserForDelayedMediaSession.getSessionToken().getExtraBinder()); in testDelayedSetSessionToken()
DStubMediaBrowserServiceCompat.java72 setSessionToken(sSession.getSessionToken()); in onCreate()
DMediaBrowserCompatTest.java98 assertEquals(StubMediaBrowserServiceCompat.sSession.getSessionToken(), in testMediaBrowser()
99 mMediaBrowser.getSessionToken()); in testMediaBrowser()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java67 .setStyle(new Notification.MediaStyle().setMediaSession(session.getSessionToken())); in getMediaNotification()
/frameworks/support/media-compat/api21/android/support/v4/media/session/
DMediaSessionCompatApi21.java101 public static Parcelable getSessionToken(Object sessionObj) { in getSessionToken() method in MediaSessionCompatApi21
102 return ((MediaSession)sessionObj).getSessionToken(); in getSessionToken()
DMediaControllerCompatApi21.java66 public static Object getSessionToken(Object controllerObj) { in getSessionToken() method in MediaControllerCompatApi21
67 return ((MediaController) controllerObj).getSessionToken(); in getSessionToken()
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/
DMediaSessionCompatTest.java117 assertNotNull(mSession.getSessionToken()); in testCreateSession()
142 assertEquals(session.getSessionToken(), mSession.getSessionToken()); in testFromSession()
156 MediaSessionCompat.Token sessionToken = mSession.getSessionToken(); in testSessionToken()
765 assertNotNull(controller.getSessionToken()); in verifyNewSession()
DMediaControllerCompatTest.java111 assertEquals(mSession.getSessionToken(), mController.getSessionToken()); in testGetSessionToken()
441 getContext(), (MediaSession.Token) mSession.getSessionToken().getToken()); in testGetPlaybackStateWithPositionUpdate()
/frameworks/base/media/java/android/media/
DRemoteController.java606 || !controller.getSessionToken() in updateController()
607 .equals(mCurrentSession.getSessionToken())) { in updateController()
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
DBrowserService.java111 setSessionToken(mSession.getSessionToken()); in onCreate()
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaBrowserCompat.java263 public @NonNull MediaSessionCompat.Token getSessionToken() { in getSessionToken() method in MediaBrowserCompat
264 return mImpl.getSessionToken(); in getSessionToken()
944 @NonNull MediaSessionCompat.Token getSessionToken(); in getSessionToken() method
1148 public @NonNull MediaSessionCompat.Token getSessionToken() { in getSessionToken() method in MediaBrowserCompat.MediaBrowserImplBase
1639 public MediaSessionCompat.Token getSessionToken() { in getSessionToken() method in MediaBrowserCompat.MediaBrowserImplApi21
1642 MediaBrowserCompatApi21.getSessionToken(mBrowserObj)); in getSessionToken()
1861 MediaBrowserCompatApi21.getSessionToken(mBrowserObj), sessionToken); in onConnected()
/frameworks/support/media-compat/java/android/support/v4/media/session/
DMediaControllerCompat.java137 Object sessionTokenObj = mediaController.getSessionToken().getToken(); in setMediaController()
165 Object sessionTokenObj = MediaControllerCompatApi21.getSessionToken(controllerObj); in getMediaController()
205 mToken = session.getSessionToken(); in MediaControllerCompat()
476 public MediaSessionCompat.Token getSessionToken() { in getSessionToken() method in MediaControllerCompat
1779 session.getSessionToken().getToken()); in MediaControllerImplApi21()
1780 mExtraBinder = session.getSessionToken().getExtraBinder(); in MediaControllerImplApi21()
DMediaSessionCompat.java601 public Token getSessionToken() { in getSessionToken() method in MediaSessionCompat
602 return mImpl.getSessionToken(); in getSessionToken()
1251 IMediaSession extraBinder = impl.getSessionToken().getExtraBinder(); in onCommand()
1776 Token getSessionToken(); in getSessionToken() method
1994 public Token getSessionToken() { in getSessionToken() method in MediaSessionCompat.MediaSessionImplBase
3193 mToken = new Token(MediaSessionCompatApi21.getSessionToken(mSessionObj), in MediaSessionImplApi21()
3199 mToken = new Token(MediaSessionCompatApi21.getSessionToken(mSessionObj), in MediaSessionImplApi21()
3261 public Token getSessionToken() { in getSessionToken() method in MediaSessionCompat.MediaSessionImplApi21
DMediaButtonReceiver.java150 mMediaBrowser.getSessionToken()); in onConnected()

123