Home
last modified time | relevance | path

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

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