Searched refs:portsWritten (Results 1 – 1 of 1) sorted by relevance
3402 size_t portsWritten = 0; in listAudioPorts() local3413 if (portsWritten < portsMax) { in listAudioPorts()3414 dev->toAudioPort(&ports[portsWritten++]); in listAudioPorts()3424 if (portsWritten < portsMax) { in listAudioPorts()3425 dev->toAudioPort(&ports[portsWritten++]); in listAudioPorts()3433 for (size_t i = 0; i < mInputs.size() && portsWritten < portsMax; i++) { in listAudioPorts()3434 mInputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()3443 if (portsWritten < portsMax) { in listAudioPorts()3444 mOutputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()3452 ALOGV("listAudioPorts() got %zu ports needed %d", portsWritten, *num_ports); in listAudioPorts()