Lines Matching refs:sessionId
449 int *sessionId, in createTrack() argument
490 ALOGV("createTrack() sessionId: %d", (sessionId == NULL) ? -2 : *sessionId); in createTrack()
491 if (sessionId != NULL && *sessionId != AUDIO_SESSION_OUTPUT_MIX) { in createTrack()
497 uint32_t sessions = t->hasAudioSession(*sessionId); in createTrack()
504 lSessionId = *sessionId; in createTrack()
508 if (sessionId != NULL) { in createTrack()
509 *sessionId = lSessionId; in createTrack()
909 int sessionId = ids.keyAt(j); in setParameters() local
912 sessionId); in setParameters()
915 sessionId); in setParameters()
1137 sp<AudioFlinger::PlaybackThread> AudioFlinger::getEffectThread_l(int sessionId, int EffectId) in getEffectThread_l() argument
1142 if (mPlaybackThreads.valueAt(i)->getEffect(sessionId, EffectId) != 0) { in getEffectThread_l()
1236 int *sessionId, in openRecord() argument
1281 if (sessionId != NULL && *sessionId != AUDIO_SESSION_OUTPUT_MIX) { in openRecord()
1282 lSessionId = *sessionId; in openRecord()
1285 if (sessionId != NULL) { in openRecord()
1286 *sessionId = lSessionId; in openRecord()
1620 moveEffectChain_l(effectChains[i]->sessionId(), thread.get(), dstThread, true); in closeOutput_nonvirtual()
1927 if (ec->sessionId() > AUDIO_SESSION_OUTPUT_MIX) { in purgeStaleEffects_l()
1942 int sessionid = ec->sessionId(); in purgeStaleEffects_l()
1966 t->checkSuspendOnEffectEnabled_l(effect, false, effect->sessionId()); in purgeStaleEffects_l()
2084 int sessionId, in createEffect() argument
2095 pid, effectClient.get(), priority, sessionId, io); in createEffect()
2103 if (sessionId == AUDIO_SESSION_OUTPUT_MIX && !settingsAllowed()) { in createEffect()
2110 if (sessionId == AUDIO_SESSION_OUTPUT_STAGE && getpid_cached != pid) { in createEffect()
2153 if (sessionId != AUDIO_SESSION_OUTPUT_MIX || in createEffect()
2166 if (sessionId == AUDIO_SESSION_OUTPUT_MIX && in createEffect()
2173 if (sessionId != AUDIO_SESSION_OUTPUT_MIX && in createEffect()
2188 if (io == 0 && sessionId == AUDIO_SESSION_OUTPUT_MIX) { in createEffect()
2204 if (sessionId == AUDIO_SESSION_OUTPUT_STAGE) { in createEffect()
2212 if (mPlaybackThreads.valueAt(i)->hasAudioSession(sessionId) != 0) { in createEffect()
2219 if (mRecordThreads.valueAt(i)->hasAudioSession(sessionId) != 0) { in createEffect()
2246 handle = thread->createEffect_l(client, effectClient, priority, sessionId, in createEffect()
2260 status_t AudioFlinger::moveEffects(int sessionId, audio_io_handle_t srcOutput, in moveEffects() argument
2264 sessionId, srcOutput, dstOutput); in moveEffects()
2283 return moveEffectChain_l(sessionId, srcThread, dstThread, false); in moveEffects()
2287 status_t AudioFlinger::moveEffectChain_l(int sessionId, in moveEffectChain_l() argument
2293 sessionId, srcThread, dstThread); in moveEffectChain_l()
2295 sp<EffectChain> chain = srcThread->getEffectChain_l(sessionId); in moveEffectChain_l()
2298 sessionId, srcThread); in moveEffectChain_l()
2343 sessionId, in moveEffectChain_l()
2358 sessionId, in moveEffectChain_l()