Lines Matching refs:activeDesc

513         for (const auto& activeDesc : mInputs.getActiveInputs()) {  in createTelephonyPatch()  local
514 if (activeDesc->hasSameHwModuleAs(txSourceDeviceDesc)) { in createTelephonyPatch()
516 activeDesc->getAudioSessions(true /*activeOnly*/); in createTelephonyPatch()
519 stopInput(activeDesc->mIoHandle, activeSession); in createTelephonyPatch()
520 releaseInput(activeDesc->mIoHandle, activeSession); in createTelephonyPatch()
715 for (const auto& activeDesc : mInputs.getActiveInputs()) { in setForceUse() local
716 audio_devices_t newDevice = getNewInputDevice(activeDesc); in setForceUse()
718 if (activeDesc->mProfile->getSupportedDevices().types() & in setForceUse()
720 setInputDevice(activeDesc->mIoHandle, newDevice); in setForceUse()
722 closeInput(activeDesc->mIoHandle); in setForceUse()
1937 for (const auto& activeDesc : activeInputs) { in startInput() local
1939 activeDesc->getId() == inputDesc->getId()) { in startInput()
1943 AudioSessionCollection activeSessions = activeDesc->getAudioSessions( in startInput()
1947 audio_io_handle_t activeInput = activeDesc->mIoHandle; in startInput()
1957 for (const auto& activeDesc : activeInputs) { in startInput() local
1959 activeDesc->getId() == inputDesc->getId()) { in startInput()
1963 audio_source_t activeSource = activeDesc->inputSource(true); in startInput()
1966 if (activeDesc->hasPreemptedSession(session)) { in startInput()
1969 input, activeDesc->mIoHandle); in startInput()
1975 input, activeDesc->mIoHandle); in startInput()
1982 input, activeDesc->mIoHandle); in startInput()
1996 for (const auto& activeDesc : activeInputs) { in startInput() local
1997 if (allowConcurrentWithSoundTrigger && activeDesc->isSoundTrigger()) { in startInput()
2001 audio_source_t activeSource = activeDesc->inputSource(true); in startInput()
2004 activeDesc->getAudioSessions(true /*activeOnly*/); in startInput()
2006 audio_io_handle_t activeHandle = activeDesc->mIoHandle; in startInput()
2007 SortedVector<audio_session_t> sessions = activeDesc->getPreemptedSessions(); in startInput()
2014 input, activeDesc->mIoHandle); in startInput()
3808 sp<AudioInputDescriptor> activeDesc = activeInputs[i]; in setRecordSilenced() local
3809 AudioSessionCollection activeSessions = activeDesc->getAudioSessions(true); in setRecordSilenced()