Searched refs:portsWritten (Results 1 – 1 of 1) sorted by relevance
4954 size_t portsWritten = 0; in listAudioPorts() local4965 if (portsWritten < portsMax) { in listAudioPorts()4966 dev->toAudioPort(&ports[portsWritten++]); in listAudioPorts()4976 if (portsWritten < portsMax) { in listAudioPorts()4977 dev->toAudioPort(&ports[portsWritten++]); in listAudioPorts()4985 for (size_t i = 0; i < mInputs.size() && portsWritten < portsMax; i++) { in listAudioPorts()4986 mInputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()4995 if (portsWritten < portsMax) { in listAudioPorts()4996 mOutputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()5005 ALOGV("listAudioPorts() got %zu ports needed %d", portsWritten, *num_ports); in listAudioPorts()