Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3708 size_t portsWritten = 0; in listAudioPorts() local
3719 if (portsWritten < portsMax) { in listAudioPorts()
3720 dev->toAudioPort(&ports[portsWritten++]); in listAudioPorts()
3730 if (portsWritten < portsMax) { in listAudioPorts()
3731 dev->toAudioPort(&ports[portsWritten++]); in listAudioPorts()
3739 for (size_t i = 0; i < mInputs.size() && portsWritten < portsMax; i++) { in listAudioPorts()
3740 mInputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()
3749 if (portsWritten < portsMax) { in listAudioPorts()
3750 mOutputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()
3758 ALOGV("listAudioPorts() got %zu ports needed %d", portsWritten, *num_ports); in listAudioPorts()