Home
last modified time | relevance | path

Searched refs:portsWritten (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp4954 size_t portsWritten = 0; in listAudioPorts() local
4965 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()