Lines Matching defs:session

325     result.append("Global session refs:\n");
326 result.append(" session pid count\n");
603 // check if an effect chain with the same session ID is present on another
616 // if no audio session id is provided, create one here
629 // move effect chain to this output thread if an effect on same session was waiting
638 // Look for sync events awaiting for a session to be used.
1038 // collect all of the thread's session IDs
1040 // suspend effects associated with those session IDs
1250 ALOGV(" removing entry for pid %d session %d", pid, ref->mSessionid);
1442 // if no audio session id is provided, create one here
1459 // session and move it to this thread.
1627 ALOGV("getAudioHwSyncForSession found ID %d for session %d",
1642 ALOGW("getAudioHwSyncForSession error getting sync for session %d", sessionId);
1646 // allow only one session for a given HW A/V sync ID.
1649 ALOGV("getAudioHwSyncForSession removing ID %d for session %d",
1669 ALOGV("getAudioHwSyncForSession adding ID %d for session %d", value, sessionId);
1679 ALOGV("setAudioHwSyncForSession_l found ID %d for session %d", syncId, sessionId);
2114 // same session ID or put it aside in case a new record thread is opened for a
2115 // new capture on the same session
2126 // first check if a record thread is already opened with a client on the same session.
2137 ALOGV("closeInput() found thread %d for effect session %d",
2143 // put the chain aside if we could not find a record thread with the same session id.
2205 // called from a different pid leaving a stale session reference. Also we don't know how
2208 ALOGW("acquireAudioSessionId() unknown client %d for session %d", caller, audioSession);
2248 // If the caller is mediaserver it is likely that the session being released was acquired
2250 ALOGW_IF(caller != getpid_cached, "session id %d not found for pid %d", audioSession, caller);
2288 ALOGV(" session %d still exists for %d with %d refs",
2484 // If matching type found save effect descriptor. If the session is
2508 // Do not allow auxiliary effects on a session different from 0 (output mix)
2534 // If output is not specified try to find a matching audio session ID in one of the
2541 // output must be specified by AudioPolicyManager when using session
2546 // look for the thread where the specified audio session is present
2561 // If no output thread contains the requested session ID, default to
2563 // thread when a track with the same session ID is created
2579 // session and used it instead of creating a new one.
2610 ALOGV("moveEffects() session %d, srcOutput %d, dstOutput %d",
2639 ALOGV("moveEffectChain_l() session %d from thread %p to thread %p",
2644 ALOGW("moveEffectChain_l() effect chain for session %d not on source thread %p",
2760 audio_session_t session = (audio_session_t)chain->sessionId();
2761 ssize_t index = mOrphanEffectChains.indexOfKey(session);
2762 ALOGV("putOrphanEffectChain_l session %d index %d", session, index);
2764 ALOGW("putOrphanEffectChain_l chain for session %d already present", session);
2767 mOrphanEffectChains.add(session, chain);
2771 sp<AudioFlinger::EffectChain> AudioFlinger::getOrphanEffectChain_l(audio_session_t session)
2774 ssize_t index = mOrphanEffectChains.indexOfKey(session);
2775 ALOGV("getOrphanEffectChain_l session %d index %d", session, index);
2786 audio_session_t session = (audio_session_t)effect->sessionId();
2787 ssize_t index = mOrphanEffectChains.indexOfKey(session);
2788 ALOGV("updateOrphanEffectChains session %d index %d", session, index);