Home
last modified time | relevance | path

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

12

/packages/modules/Media/apex/service/java/com/android/server/media/
DSessionPriorityList.java99 sessions.add(session.getSessionToken()); in getAllTokens()
110 sessions.add(session.getSessionToken()); in getTokensByUserId()
156 && mMediaButtonSession.getSessionToken().getUid() in onPlaybackStateChanged()
157 == session.getSessionToken().getUid()) { in onPlaybackStateChanged()
159 findMediaButtonSession(mMediaButtonSession.getSessionToken().getUid()); in onPlaybackStateChanged()
187 if (uid != session.getSessionToken().getUid()) { in findMediaButtonSession()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/mockable/
DMediaController.java127 public MediaSession.Token getSessionToken() { in getSessionToken() method in MediaController
128 return mDelegate.getSessionToken(); in getSessionToken()
176 return mDelegate.getSessionToken().equals(other.getWrappedInstance().getSessionToken()); in controlsSameSession()
181 return mDelegate.getSessionToken().equals(other.getSessionToken()); in controlsSameSession()
DMediaBrowser.java98 public MediaSession.Token getSessionToken() { in getSessionToken() method in MediaBrowser
99 return mDelegate.getSessionToken(); in getSessionToken()
/packages/modules/Uwb/service/support_lib/test/
DOemExtensionTests.java85 assertEquals(sessionStatus.getSessionToken(), sessionToken); in testSessionStatus()
93 assertEquals(fromBundle.getSessionToken(), sessionToken); in testSessionStatus()
160 assertEquals(sessionConfigParams.getSessionToken(), sessionToken); in testSessionConfigParams()
166 assertEquals(fromBundle.getSessionToken(), sessionToken); in testSessionConfigParams()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/
DPlayerSettingsManager.java53 MediaSessionCompat.Token.fromToken(wrapper.getSessionToken())); in PlayerSettingsManager()
80 mediaPlayerWrapper.getSessionToken())); in activePlayerChanged()
DMediaPlayerWrapper.java115 public MediaSession.Token getSessionToken() { in getSessionToken() method in MediaPlayerWrapper
116 return mMediaController.getSessionToken(); in getSessionToken()
DBrowsedPlayerWrapper.java214 mContext, wrapper.mWrappedBrowser.getSessionToken()); in playItem()
/packages/apps/Music/kotlin/src/com/android/music/
DMediaPlaybackService.kt48 setSessionToken(mSession.getSessionToken()) in onCreate()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/oemextension/
DSessionConfigParams.java58 public int getSessionToken() { in getSessionToken() method in SessionConfigParams
DSessionStatus.java69 public int getSessionToken() { in getSessionToken() method in SessionStatus
/packages/apps/Music/src/com/android/music/
DMediaPlaybackService.java53 setSessionToken(mSession.getSessionToken()); in onCreate()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/media/
DMultidisplayMediaFragment.java570 + mediaBrowser.getSessionToken()); in onConnected()
571 if (mediaBrowser.getSessionToken() == null) { in onConnected()
576 getOrCreateUserContext(mUserId), mediaBrowser.getSessionToken()); in onConnected()
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/actuators/
DMediaActuator.java197 new MediaControllerCompat(mContext, browser.getSessionToken()); in playSongOnSource()
335 mMediaController = new MediaControllerCompat(mContext, browser.getSessionToken()); in onBrowserConnectionChanged()
DRadioActuator.java165 mMediaController = new MediaControllerCompat(mContext, browser.getSessionToken()); in onBrowserConnectionChanged()
/packages/apps/Settings/src/com/android/settings/media/
DMediaOutputIndicatorSlice.java148 mediaController.getSessionToken()) in onNotifyChange()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DLocalMediaBrowserService.java119 setSessionToken(mSession.getSessionToken()); in onCreate()
/packages/apps/Settings/src/com/android/settings/sound/
DMediaOutputPreferenceController.java248 mMediaController.getSessionToken())); in handlePreferenceTreeClick()
/packages/apps/TV/src/com/android/tv/
DMediaSessionWrapper.java257 mMediaController = new MediaController(mContext, mMediaSession.getSessionToken()); in initMediaController()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DMediaPlayerListTest.java208 session.getController().getPackageName(), session.getSessionToken()); in testSkipGlobalPrioritySession()
/packages/modules/Bluetooth/android/pandora/server/src/
DMediaPlayerBrowserService.kt68 setSessionToken(mediaSession.getSessionToken()) in setupMediaSession()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackMediaSessionHelper.java174 new MediaController(mActivity, mMediaSession.getSessionToken())); in initializeMediaSession()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DBluetoothMediaBrowserService.java117 setSessionToken(mSession.getSessionToken()); in onCreate()
/packages/modules/Uwb/service/java/com/android/server/uwb/jni/
DNativeUwbManager.java513 public int getSessionToken(int sessionId, String chipId) { in getSessionToken() method in NativeUwbManager
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamMediaService.java398 mLocalSession != null ? mLocalSession.getSessionToken() : null); in buildNotification()
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/
DMediaOutputIndicatorSliceTest.java221 when(mMediaController.getSessionToken()).thenReturn(mToken); in onNotifyChange_withActiveLocalMedia_verifyIntentExtra()

12