Home
last modified time | relevance | path

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

/hardware/interfaces/audio/aidl/vts/
DModuleConfig.cpp297 std::set<int32_t> portIds = findRoutablePortIds(port.id); in getRoutableDevicePortsForMixPort() local
303 devicePortIds = portIds; in getRoutableDevicePortsForMixPort()
307 return port.ext.getTag() == AudioPortExt::Tag::device && portIds.count(port.id) > 0 && in getRoutableDevicePortsForMixPort()
315 std::set<int32_t> portIds = findRoutablePortIds(port.id); in getRoutableMixPortsForDevicePort() local
318 [&portIds](const AudioPort& p) { return portIds.count(p.id) > 0; }); in getRoutableMixPortsForDevicePort()
495 std::set<int32_t> portIds; in findRoutablePortIds() local
498 portIds.insert(route.sourcePortIds.begin(), route.sourcePortIds.end()); in findRoutablePortIds()
502 portIds.insert(route.sinkPortId); in findRoutablePortIds()
505 return portIds; in findRoutablePortIds()
DVtsHalAudioCoreModuleTargetTest.cpp541 void GetAllPortIds(std::set<int32_t>* portIds) { in GetAllPortIds() argument
543 portIds, &IModule::getAudioPorts, in GetAllPortIds()
1368 std::set<int32_t> portIds; in TEST_P() local
1369 ASSERT_NO_FATAL_FAILURE(GetAllPortIds(&portIds)); in TEST_P()
1404 std::set<int32_t> portIds; in TEST_P() local
1405 ASSERT_NO_FATAL_FAILURE(GetAllPortIds(&portIds)); in TEST_P()
1409 EXPECT_EQ(1UL, portIds.count(route.sinkPortId)) in TEST_P()
1412 EXPECT_EQ(1UL, portIds.count(source)) << source << " source port id is unknown"; in TEST_P()
1418 std::set<int32_t> portIds; in TEST_P() local
1419 ASSERT_NO_FATAL_FAILURE(GetAllPortIds(&portIds)); in TEST_P()
[all …]
/hardware/interfaces/audio/aidl/default/
DModule.cpp244 auto portIds = portIdsFromPortConfigIds(findConnectedPortConfigIds(portConfigId)); in findConnectedDevices() local
245 for (auto it = portIds.begin(); it != portIds.end(); ++it) { in findConnectedDevices()