Searched refs:portsWritten (Results 1 – 1 of 1) sorted by relevance
3287 size_t portsWritten = 0; in listAudioPorts() local3298 if (portsWritten < portsMax) { in listAudioPorts()3299 dev->toAudioPort(&ports[portsWritten++]); in listAudioPorts()3309 if (portsWritten < portsMax) { in listAudioPorts()3310 dev->toAudioPort(&ports[portsWritten++]); in listAudioPorts()3318 for (size_t i = 0; i < mInputs.size() && portsWritten < portsMax; i++) { in listAudioPorts()3319 mInputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()3328 if (portsWritten < portsMax) { in listAudioPorts()3329 mOutputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()3337 ALOGV("listAudioPorts() got %zu ports needed %d", portsWritten, *num_ports); in listAudioPorts()