Searched refs:portsWritten (Results 1 – 1 of 1) sorted by relevance
2632 size_t portsWritten = 0; in listAudioPorts() local2643 if (portsWritten < portsMax) { in listAudioPorts()2644 mAvailableOutputDevices[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()2654 if (portsWritten < portsMax) { in listAudioPorts()2655 mAvailableInputDevices[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()2663 for (size_t i = 0; i < mInputs.size() && portsWritten < portsMax; i++) { in listAudioPorts()2664 mInputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()2673 if (portsWritten < portsMax) { in listAudioPorts()2674 mOutputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()2682 ALOGV("listAudioPorts() got %zu ports needed %d", portsWritten, *num_ports); in listAudioPorts()