Lines Matching refs:activeInput
433 audio_io_handle_t activeInput = mInputs.getActiveInput(); in updateCallRouting() local
434 if (activeInput != 0) { in updateCallRouting()
435 sp<AudioInputDescriptor> activeDesc = mInputs.valueFor(activeInput); in updateCallRouting()
440 stopInput(activeInput, activeSession); in updateCallRouting()
441 releaseInput(activeInput, activeSession); in updateCallRouting()
602 audio_io_handle_t activeInput = mInputs.getActiveInput(); in setForceUse() local
603 if (activeInput != 0) { in setForceUse()
604 sp<AudioInputDescriptor> activeDesc = mInputs.valueFor(activeInput); in setForceUse()
605 audio_devices_t newDevice = getNewInputDevice(activeInput); in setForceUse()
608 setInputDevice(activeInput, newDevice); in setForceUse()
610 closeInput(activeInput); in setForceUse()
1610 audio_io_handle_t activeInput = mInputs.getActiveInput(); in startInput() local
1611 if (activeInput != 0 && activeInput != input) { in startInput()
1615 sp<AudioInputDescriptor> activeDesc = mInputs.valueFor(activeInput); in startInput()
1618 ALOGW("startInput(%d) preempting low-priority input %d", input, activeInput); in startInput()
1626 stopInput(activeInput, activeSession); in startInput()
1627 releaseInput(activeInput, activeSession); in startInput()
1629 ALOGE("startInput(%d) failed: other input %d already started", input, activeInput); in startInput()