Searched refs:mAudioSessionId (Results 1 – 4 of 4) sorted by relevance
62 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()
307 audio_session_t mAudioSessionId; variable
382 audio_session_t getAudioSessionId() { return mAudioSessionId; } in getAudioSessionId()461 audio_session_t mAudioSessionId; variable
745 mAudioSessionId = audioSessionId; in Client()924 mAudioOutput = new AudioOutput(mAudioSessionId, IPCThreadState::self()->getCallingUid(), in setDataSource_pre()