Home
last modified time | relevance | path

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

/hardware/interfaces/audio/aidl/default/
DModule.cpp562 AudioPort connectedPort; in connectExternalDevice() local
586 connectedPort = *templateIt; in connectExternalDevice()
587 connectedPort.extraAudioDescriptors = in_templateIdAndAdditionalData.extraAudioDescriptors; in connectExternalDevice()
590 auto& connectedDevicePort = connectedPort.ext.get<AudioPortExt::Tag::device>(); in connectExternalDevice()
592 LOG(DEBUG) << __func__ << ": " << mType << ": device port " << connectedPort.id in connectExternalDevice()
637 RETURN_STATUS_IF_ERROR(populateConnectedDevicePort(&connectedPort, nextPortId)); in connectExternalDevice()
638 } else if (hasDynamicProfilesOnly(connectedPort.profiles)) { in connectExternalDevice()
642 connectedPort.profiles = connectedProfilesIt->second; in connectExternalDevice()
645 if (hasDynamicProfilesOnly(connectedPort.profiles)) { in connectExternalDevice()
655 << "external device " << connectedPort.toString() << ", and there exist " in connectExternalDevice()
[all …]
/hardware/interfaces/audio/aidl/vts/
DVtsHalAudioCoreModuleTargetTest.cpp1551 AudioPort connectedPort; in TEST_P() local
1552 EXPECT_IS_OK(module->getAudioPort(connectedPortId, &connectedPort)) in TEST_P()
1554 EXPECT_EQ(portConnected.get(), connectedPort); in TEST_P()
1555 const auto& portProfiles = connectedPort.profiles; in TEST_P()
1558 connectedPort, true /*connectedOnly*/); in TEST_P()
1573 << connectedPort.toString(); in TEST_P()
1580 << "profiles: " << connectedPort.toString(); in TEST_P()
1781 AudioPort portWithData = GenerateUniqueDeviceAddress(port), connectedPort; in TEST_P() local
1782 ScopedAStatus status = module->connectExternalDevice(portWithData, &connectedPort); in TEST_P()
1786 module->prepareToDisconnectExternalDevice(connectedPort.id)) in TEST_P()
[all …]