Lines Matching refs:mInputs
609 for (const auto& activeDesc : mInputs.getActiveInputs()) { in createTelephonyPatch()
811 for (const auto& activeDesc : mInputs.getActiveInputs()) { in setForceUse()
1957 ssize_t index = mInputs.indexOfKey(*input); in getInputForAttr()
1963 sp<AudioInputDescriptor> inputDesc = mInputs.valueAt(index); in getInputForAttr()
2073 inputDesc = mInputs.valueFor(*input); in getInputForAttr()
2149 for (size_t i = 0; i < mInputs.size(); ) { in getInputForDevice()
2150 sp <AudioInputDescriptor> desc = mInputs.valueAt(i); in getInputForDevice()
2219 sp<AudioInputDescriptor> inputDesc = mInputs.getInputForClient(portId); in startInput()
2235 Vector<sp<AudioInputDescriptor>> activeInputs = mInputs.getActiveInputs(); in startInput()
2262 mInputs.activeInputsCountOnDevices(primaryInputDevices) == 1) { in startInput()
2293 sp<AudioInputDescriptor> inputDesc = mInputs.getInputForClient(portId); in stopInput()
2340 mInputs.activeInputsCountOnDevices(primaryInputDevices) == 0) { in stopInput()
2352 sp<AudioInputDescriptor> inputDesc = mInputs.getInputForClient(portId); in releaseInput()
2396 for (size_t i = 0; i < mInputs.size(); i++) { in checkCloseInputs()
2397 const sp<AudioInputDescriptor> input = mInputs.valueAt(i); in checkCloseInputs()
2401 inputsToClose.push_back(mInputs.keyAt(i)); in checkCloseInputs()
2413 inputsToClose.push_back(mInputs.keyAt(i)); in checkCloseInputs()
2740 index = mInputs.indexOfKey(io); in registerEffect()
2782 mInputs.trackEffectEnabled(effect, enabled); in setEffectEnabled()
2806 for (size_t i = 0; i < mInputs.size(); i++) { in isSourceActive()
2807 const sp<AudioInputDescriptor> inputDescriptor = mInputs.valueAt(i); in isSourceActive()
3088 mInputs.dump(dst); in dump()
3254 for (size_t i = 0; i < mInputs.size() && portsWritten < portsMax; i++) { in listAudioPorts()
3255 mInputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()
3257 *num_ports += mInputs.size(); in listAudioPorts()
3297 sp<AudioInputDescriptor> in = mInputs.getInputFromId(port->id); in getAudioPort()
3429 sp<AudioInputDescriptor> inputDesc = mInputs.getInputFromId(patch->sinks[0].id); in createAudioPatch()
3581 sp<AudioInputDescriptor> inputDesc = mInputs.getInputFromId(patch->sinks[0].id); in releaseAudioPatch()
3642 sp<AudioInputDescriptor> inputDesc = mInputs.getInputFromId(config->id); in setAudioPortConfig()
3752 for (size_t i = 0; i < mInputs.size(); i++) { in clearSessionRoutes()
3753 sp<AudioInputDescriptor> inputDesc = mInputs.valueAt(i); in clearSessionRoutes()
3763 for (size_t i = 0; i < mInputs.size(); i++) { in clearSessionRoutes()
3764 sp<AudioInputDescriptor> inputDesc = mInputs.valueAt(i); in clearSessionRoutes()
4157 for (size_t i = 0; i < mInputs.size(); i++) { in setAppState()
4158 mInputs.valueAt(i)->setAppState(uid, state); in setAppState()
4505 for (size_t i = 0; i < mInputs.size(); i++) { in ~AudioPolicyManager()
4506 mInputs.valueAt(i)->close(); in ~AudioPolicyManager()
4511 mInputs.clear(); in ~AudioPolicyManager()
4543 mInputs.add(input, inputDesc); in addInput()
4796 for (input_index = 0; input_index < mInputs.size(); input_index++) { in checkInputsForDevice()
4797 desc = mInputs.valueAt(input_index); in checkInputsForDevice()
4805 if (input_index != mInputs.size()) { in checkInputsForDevice()
4960 sp<AudioInputDescriptor> inputDesc = mInputs.valueFor(input); in closeInput()
4978 mInputs.removeItem(input); in closeInput()
4982 mInputs.activeInputsCountOnDevices(primaryInputDevices) == 0) { in closeInput()
5577 sp<AudioInputDescriptor> inputDesc = mInputs.valueFor(input); in setInputDevice()
5603 sp<AudioInputDescriptor> inputDesc = mInputs.valueFor(input); in resetInputDevice()
6025 mInputs.clearSessionRoutesForDevice(deviceDesc); in cleanUpForDevice()