Home
last modified time | relevance | path

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

/hardware/interfaces/audio/aidl/default/
DModule.cpp246 auto portIt = findById<AudioPort>(ports, *it); in findConnectedDevices() local
247 if (portIt != ports.end() && portIt->ext.getTag() == AudioPortExt::Tag::device) { in findConnectedDevices()
248 result.push_back(portIt->ext.template get<AudioPortExt::Tag::device>().device); in findConnectedDevices()
287 auto portIt = findById<AudioPort>(ports, portId); in findPortIdForNewStream() local
288 if (portIt == ports.end()) { in findPortIdForNewStream()
298 if (portIt->ext.getTag() != AudioPortExt::Tag::mix) { in findPortIdForNewStream()
303 const size_t maxOpenStreamCount = portIt->ext.get<AudioPortExt::Tag::mix>().maxOpenStreamCount; in findPortIdForNewStream()
310 *port = &(*portIt); in findPortIdForNewStream()
714 auto portIt = findById<AudioPort>(ports, in_portId); in disconnectExternalDevice() local
715 if (portIt == ports.end()) { in disconnectExternalDevice()
[all …]