Searched refs:portsWritten (Results 1 – 1 of 1) sorted by relevance
2763 size_t portsWritten = 0; in listAudioPorts() local2774 if (portsWritten < portsMax) { in listAudioPorts()2775 dev->toAudioPort(&ports[portsWritten++]); in listAudioPorts()2785 if (portsWritten < portsMax) { in listAudioPorts()2786 dev->toAudioPort(&ports[portsWritten++]); in listAudioPorts()2794 for (size_t i = 0; i < mInputs.size() && portsWritten < portsMax; i++) { in listAudioPorts()2795 mInputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()2804 if (portsWritten < portsMax) { in listAudioPorts()2805 mOutputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()2813 ALOGV("listAudioPorts() got %zu ports needed %d", portsWritten, *num_ports); in listAudioPorts()