Searched refs:sourcePortIds (Results 1 – 10 of 10) sorted by relevance
/hardware/interfaces/audio/aidl/vts/ |
D | ModuleConfig.cpp | 258 std::find(route.sourcePortIds.begin(), route.sourcePortIds.end(), mixPort.id) != in getConnectedSinkDevicesPortsForMixPort() 259 route.sourcePortIds.end()) { in getConnectedSinkDevicesPortsForMixPort() 273 for (const auto srcId : route.sourcePortIds) { in getConnectedSourceDevicesPortsForMixPort() 288 const auto mixPortIt = findById<AudioPort>(mPorts, route.sourcePortIds[0]); in getSourceMixPortForConnectedDevice() 326 for (const auto srcPortId : route.sourcePortIds) { in getNonRoutableSrcSinkPair() 356 route.sourcePortIds.begin(), route.sourcePortIds.end(), in getRoutableSrcSinkPair() 358 if (srcPortIdIt == route.sourcePortIds.end()) continue; in getRoutableSrcSinkPair() 371 const auto mixPortIt = findById<AudioPort>(mPorts, route.sourcePortIds[0]); in getRoutableSrcSinkPair() 389 std::copy_if(route.sourcePortIds.begin(), route.sourcePortIds.end(), in getRoutableSrcSinkGroups() 418 for (const auto srcPortId : route.sourcePortIds) { in getRoutableSrcSinkGroups() [all …]
|
D | VtsHalAudioCoreModuleTargetTest.cpp | 1394 std::set<int32_t> sources(route.sourcePortIds.begin(), route.sourcePortIds.end()); in TEST_P() 1397 EXPECT_EQ(sources.size(), route.sourcePortIds.size()) in TEST_P() 1411 for (const auto& source : route.sourcePortIds) { in TEST_P() 1428 const auto& srcs = r.sourcePortIds; in TEST_P() 1993 for (const auto& srcPortId : r.sourcePortIds) { in GetAllRoutedPorts()
|
/hardware/interfaces/audio/aidl/android/hardware/audio/core/ |
D | AudioRoute.aidl | 34 int[] sourcePortIds;
|
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.core/2/android/hardware/audio/core/ |
D | AudioRoute.aidl | 37 int[] sourcePortIds;
|
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.core/current/android/hardware/audio/core/ |
D | AudioRoute.aidl | 37 int[] sourcePortIds;
|
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.core/1/android/hardware/audio/core/ |
D | AudioRoute.aidl | 37 int[] sourcePortIds;
|
/hardware/interfaces/audio/aidl/default/r_submix/ |
D | ModuleRemoteSubmix.cpp | 131 if (route->sourcePortIds.empty()) { in populateConnectedDevicePort() 135 RETURN_STATUS_IF_ERROR(getAudioPort(*route->sourcePortIds.begin(), &mixPort)); in populateConnectedDevicePort()
|
/hardware/interfaces/audio/aidl/default/ |
D | XsdcConversion.cpp | 337 std::vector<int32_t> sourcePortIds; in getSourcePortIds() local 347 sourcePortIds.push_back(portMapIter->second); in getSourcePortIds() 349 return sourcePortIds; in getSourcePortIds() 358 return AudioRoute{.sourcePortIds = VALUE_OR_FATAL(getSourcePortIds(xRoute, portMap)), in convertRouteToAidl()
|
D | Module.cpp | 380 const auto& srcs = r.sourcePortIds; in getAudioRoutesForAudioPortImpl() 405 result.insert(r->sourcePortIds.begin(), r->sourcePortIds.end()); in getRoutableAudioPortIds() 676 newRoutes.push_back(AudioRoute{.sourcePortIds = r->sourcePortIds, in connectExternalDevice() 680 r->sourcePortIds.push_back(connectedPort.id); in connectExternalDevice() 757 erase_if(routesIt->sourcePortIds, [in_portId](auto src) { return src == in_portId; }); in disconnectExternalDevice() 982 const auto& srcs = r.sourcePortIds; in setAudioPatch() 1503 for (int sourcePortId : route.sourcePortIds) { in getMmapPolicyInfos() 1534 if (count_any(mmapSources, route.sourcePortIds)) { in getMmapPolicyInfos()
|
D | Configuration.cpp | 136 std::transform(sources.begin(), sources.end(), std::back_inserter(route.sourcePortIds), in createRoute()
|