Lines Matching refs:portsIt

332         auto portsIt = findPort(device);  in findOrCreateDevicePortConfig()  local
333 if (portsIt == mPorts.end()) { in findOrCreateDevicePortConfig()
339 requestedPortConfig.portId = portsIt->first; in findOrCreateDevicePortConfig()
377 auto portsIt = findPort(config, matchFlags, destinationPortIds); in findOrCreateMixPortConfig() local
378 while (portsIt == mPorts.end() && matchFlags.getTag() == AudioIoFlags::Tag::input in findOrCreateMixPortConfig()
387 portsIt = findPort(config, matchFlags, destinationPortIds); in findOrCreateMixPortConfig()
393 if (portsIt == mPorts.end()) { in findOrCreateMixPortConfig()
400 requestedPortConfig.portId = portsIt->first; in findOrCreateMixPortConfig()
402 requestedPortConfig.flags = portsIt->second.flags; in findOrCreateMixPortConfig()
642 if (auto portsIt = findPort(device); portsIt != mPorts.end()) { in getAudioPortCached() local
643 *port = portsIt->second; in getAudioPortCached()
766 auto portsIt = findPort(devicePort.ext.get<AudioPortExt::device>().device); in prepareToDisconnectExternalDevice() local
767 if (portsIt == mPorts.end()) { in prepareToDisconnectExternalDevice()
770 return statusTFromBinderStatus(mModule->prepareToDisconnectExternalDevice(portsIt->second.id)); in prepareToDisconnectExternalDevice()
1005 auto portsIt = findPort(matchDevice); in setDevicePortConnectedState() local
1006 if (portsIt == mPorts.end()) { in setDevicePortConnectedState()
1014 templatePort = portsIt->second; in setDevicePortConnectedState()
1033 auto portsIt = findPort(matchDevice); in setDevicePortConnectedState() local
1034 if (portsIt == mPorts.end()) { in setDevicePortConnectedState()
1045 const int32_t portId = portsIt->second.id; in setDevicePortConnectedState()
1052 port.profiles = portsIt->second.profiles; in setDevicePortConnectedState()