Searched refs:portsWritten (Results 1 – 1 of 1) sorted by relevance
3223 size_t portsWritten = 0; in listAudioPorts() local3234 if (portsWritten < portsMax) { in listAudioPorts()3235 dev->toAudioPort(&ports[portsWritten++]); in listAudioPorts()3245 if (portsWritten < portsMax) { in listAudioPorts()3246 dev->toAudioPort(&ports[portsWritten++]); in listAudioPorts()3254 for (size_t i = 0; i < mInputs.size() && portsWritten < portsMax; i++) { in listAudioPorts()3255 mInputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()3264 if (portsWritten < portsMax) { in listAudioPorts()3265 mOutputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()3273 ALOGV("listAudioPorts() got %zu ports needed %d", portsWritten, *num_ports); in listAudioPorts()