Home
last modified time | relevance | path

Searched refs:mLocalSession (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamMediaService.java151 if (mLocalSession != null) {
152 mLocalSession.setPlaybackState(getPlaybackState());
200 @VisibleForTesting @Nullable MediaSession mLocalSession; field in AudioStreamMediaService
263 if (mLocalSession != null) { in onDestroy()
264 mLocalSession.release(); in onDestroy()
265 mLocalSession = null; in onDestroy()
297 mLocalSession = new MediaSession(this, TAG); in createLocalMediaSession()
298 mLocalSession.setMetadata( in createLocalMediaSession()
303 mLocalSession.setActive(true); in createLocalMediaSession()
304 mLocalSession.setPlaybackState(getPlaybackState()); in createLocalMediaSession()
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DAudioSession.java91 private AudioLocalSession mLocalSession; field in AudioSession
121 mLocalSession = localSession; in AudioSession()
377 mLocalSession.modifySession(config); in handleModifySession()
389 mLocalSession.addConfig(config); in handleAddConfig()
395 mLocalSession.deleteConfig(config); in handleDeleteConfig()
401 mLocalSession.confirmConfig(config); in handleConfirmConfig()
413 mLocalSession.sendDtmf(digit, duration); in handleSendDtmf()
425 mLocalSession.sendDtmf(digit, DTMF_DEFAULT_DURATION); in handleStartDtmf()
450 mLocalSession.sendHeaderExtension(extensions); in handleSendRtpHeaderExtension()
462 mLocalSession.setMediaQualityThreshold(threshold); in handleSetMediaQualityThreshold()
[all …]
DVideoSession.java73 private VideoLocalSession mLocalSession; field in VideoSession
95 mLocalSession = localSession; in VideoSession()
268 mLocalSession.modifySession(config); in handleModifySession()
272 mLocalSession.setPreviewSurface(surface); in handleSetPreviewSurface()
276 mLocalSession.setDisplaySurface(surface); in handleSetDisplaySurface()
280 mLocalSession.sendHeaderExtension(extensions); in handleSendRtpHeaderExtension()
284 mLocalSession.setMediaQualityThreshold(threshold); in handleSetMediaQualityThreshold()
288 mLocalSession.requestVideoDataUsage(); in handleRequestVideoDataUsage()
292 mLocalSession = (VideoLocalSession) session; in handleOpenSuccess()
DTextSession.java61 private TextLocalSession mLocalSession; field in TextSession
83 mLocalSession = localSession; in TextSession()
218 mLocalSession.modifySession(config); in handleModifySession()
222 mLocalSession.setMediaQualityThreshold(threshold); in handleSetMediaQualityThreshold()
226 mLocalSession.sendRtt(text); in handleSendRtt()
230 mLocalSession = (TextLocalSession) session; in handleOpenSuccess()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamMediaServiceTest.java199 assertThat(mAudioStreamMediaService.mLocalSession).isNull(); in onStartCommand_noBroadcastId_stopSelf()
210 assertThat(mAudioStreamMediaService.mLocalSession).isNull(); in onStartCommand_noDevice_stopSelf()
225 assertThat(mAudioStreamMediaService.mLocalSession).isNotNull(); in onStartCommand_createSessionAndStartForeground()