Home
last modified time | relevance | path

Searched refs:mAudioSessionId (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libmedia/
Dmediaplayer.cpp62 mAudioSessionId = (audio_session_t) AudioSystem::newAudioUniqueId(AUDIO_UNIQUE_ID_USE_SESSION); in MediaPlayer()
63 AudioSystem::acquireAudioSessionId(mAudioSessionId, (pid_t)-1, (uid_t)-1); // always in client. in MediaPlayer()
75 AudioSystem::releaseAudioSessionId(mAudioSessionId, (pid_t)-1); in ~MediaPlayer()
155 sp<IMediaPlayer> player(service->create(this, mAudioSessionId)); in setDataSource()
172 sp<IMediaPlayer> player(service->create(this, mAudioSessionId)); in setDataSource()
188 sp<IMediaPlayer> player(service->create(this, mAudioSessionId)); in setDataSource()
711 if (sessionId != mAudioSessionId) { in setAudioSessionId()
713 AudioSystem::releaseAudioSessionId(mAudioSessionId, (pid_t)-1); in setAudioSessionId()
714 mAudioSessionId = sessionId; in setAudioSessionId()
722 return mAudioSessionId; in getAudioSessionId()
/frameworks/av/media/libmedia/include/media/
Dmediaplayer.h307 audio_session_t mAudioSessionId; variable
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h382 audio_session_t getAudioSessionId() { return mAudioSessionId; } in getAudioSessionId()
461 audio_session_t mAudioSessionId; variable
DMediaPlayerService.cpp745 mAudioSessionId = audioSessionId; in Client()
924 mAudioOutput = new AudioOutput(mAudioSessionId, IPCThreadState::self()->getCallingUid(), in setDataSource_pre()