Home
last modified time | relevance | path

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

/hardware/interfaces/audio/aidl/vts/
DModuleConfig.cpp245 const auto mixPortIt = findById<AudioPort>(mPorts, mixPortConfig.portId); in getConnectedDevicesPortsForMixPort() local
246 if (mixPortIt != mPorts.end()) { in getConnectedDevicesPortsForMixPort()
247 return getConnectedDevicesPortsForMixPort(isInput, *mixPortIt); in getConnectedDevicesPortsForMixPort()
288 const auto mixPortIt = findById<AudioPort>(mPorts, route.sourcePortIds[0]); in getSourceMixPortForConnectedDevice() local
289 if (mixPortIt != mPorts.end()) return *mixPortIt; in getSourceMixPortForConnectedDevice()
360 const auto mixPortIt = findById<AudioPort>(mPorts, route.sinkPortId); in getRoutableSrcSinkPair() local
361 if (devicePortIt == mPorts.end() || mixPortIt == mPorts.end()) continue; in getRoutableSrcSinkPair()
363 auto mixPortConfig = getSingleConfigForMixPort(isInput, *mixPortIt); in getRoutableSrcSinkPair()
371 const auto mixPortIt = findById<AudioPort>(mPorts, route.sourcePortIds[0]); in getRoutableSrcSinkPair() local
373 if (devicePortIt == mPorts.end() || mixPortIt == mPorts.end()) continue; in getRoutableSrcSinkPair()
[all …]
DVtsHalAudioCoreModuleTargetTest.cpp2762 const auto mixPortIt = findById<AudioPort>(ports, mixPortConfig.portId); in SetUpStreamForMixPortConfig() local
2763 ASSERT_NE(mixPortIt, ports.end()) << "Port id " << mixPortConfig.portId << " not found"; in SetUpStreamForMixPortConfig()
2764 ASSERT_NO_FATAL_FAILURE(SetUpPortConfigForMixPortOrConfig(module, moduleConfig, *mixPortIt, in SetUpStreamForMixPortConfig()
2773 const auto mixPortIt = findById<AudioPort>(ports, mixPortConfig.portId); in SetUpPatchForMixPortConfig() local
2774 ASSERT_NE(mixPortIt, ports.end()) << "Port id " << mixPortConfig.portId << " not found"; in SetUpPatchForMixPortConfig()
2776 ASSERT_NO_FATAL_FAILURE(SetUpDevicePortForMixPort(module, moduleConfig, *mixPortIt, in SetUpPatchForMixPortConfig()
/hardware/interfaces/audio/aidl/default/
DModule.cpp771 auto mixPortIt = findById<AudioPort>(ports, mixPortId); in disconnectExternalDevice() local
772 if (mixPortIt != ports.end()) { in disconnectExternalDevice()
773 mixPortIt->profiles = {}; in disconnectExternalDevice()