Searched refs:mixPort (Results 1 – 6 of 6) sorted by relevance
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/ |
D | Generators.cpp | 59 const xsd::MixPorts::MixPort& mixPort) { in generateOutFlags() argument 62 if (mixPort.hasFlags()) { in generateOutFlags() 63 auto xsdFlags = mixPort.getFlags(); in generateOutFlags() 94 for (const auto& mixPort : module->getFirstMixPorts()->getMixPort()) { in generateOutputDeviceConfigParameters() local 95 if (mixPort.getRole() != xsd::Role::source) continue; // not an output profile in generateOutputDeviceConfigParameters() 98 moduleName, mixPort.getName()); in generateOutputDeviceConfigParameters() 100 auto [flags, isOffload] = generateOutFlags(mixPort); in generateOutputDeviceConfigParameters() 101 for (const auto& profile : mixPort.getProfile()) { in generateOutputDeviceConfigParameters() 113 result.emplace_back(device, mixPort.getName(), attachedDeviceAddress.value(), in generateOutputDeviceConfigParameters() 146 for (const auto& mixPort : module->getFirstMixPorts()->getMixPort()) { in getOutputDeviceInvalidConfigParameters() local [all …]
|
D | PolicyConfig.cpp | 94 for (const auto& mixPort : module->getFirstMixPorts()->getMixPort()) { in haveInputProfilesInModule() local 95 if (mixPort.getRole() == xsd::Role::sink) return true; in haveInputProfilesInModule()
|
/hardware/interfaces/audio/aidl/default/r_submix/ |
D | ModuleRemoteSubmix.cpp | 129 AudioPort mixPort; in populateConnectedDevicePort() local 135 RETURN_STATUS_IF_ERROR(getAudioPort(*route->sourcePortIds.begin(), &mixPort)); in populateConnectedDevicePort() 137 RETURN_STATUS_IF_ERROR(getAudioPort(route->sinkPortId, &mixPort)); in populateConnectedDevicePort() 139 audioPort->profiles = mixPort.profiles; in populateConnectedDevicePort()
|
/hardware/interfaces/audio/aidl/vts/ |
D | ModuleConfig.cpp | 253 const AudioPort& mixPort) const { in getConnectedSinkDevicesPortsForMixPort() 258 std::find(route.sourcePortIds.begin(), route.sourcePortIds.end(), mixPort.id) != in getConnectedSinkDevicesPortsForMixPort() 268 const AudioPort& mixPort) const { in getConnectedSourceDevicesPortsForMixPort() 272 if (route.sinkPortId == mixPort.id) { in getConnectedSourceDevicesPortsForMixPort() 338 for (const auto& mixPort : mixPorts) { in getNonRoutableSrcSinkPair() local 340 make_pair(portId, mixPort.id)) == allowedRoutes.end()) { in getNonRoutableSrcSinkPair() 341 auto mixPortConfig = getSingleConfigForMixPort(isInput, mixPort); in getNonRoutableSrcSinkPair() 511 for (const auto& mixPort : ports) { in generateAudioMixPortConfigs() local 512 if (getConnectedDevicesPortsForMixPort(isInput, mixPort).empty()) { in generateAudioMixPortConfigs() 515 for (const auto& profile : mixPort.profiles) { in generateAudioMixPortConfigs() [all …]
|
D | ModuleConfig.h | 92 bool isInput, const aidl::android::media::audio::common::AudioPort& mixPort) const { in getConnectedDevicesPortsForMixPort() argument 93 return isInput ? getConnectedSourceDevicesPortsForMixPort(mixPort) in getConnectedDevicesPortsForMixPort() 94 : getConnectedSinkDevicesPortsForMixPort(mixPort); in getConnectedDevicesPortsForMixPort() 101 const aidl::android::media::audio::common::AudioPort& mixPort) const; 104 const aidl::android::media::audio::common::AudioPort& mixPort) const;
|
D | VtsHalAudioCoreModuleTargetTest.cpp | 1493 const auto& mixPort = port.ext.get<AudioPortExt::Tag::mix>(); in TEST_P() local 1501 EXPECT_GE(mixPort.maxOpenStreamCount, 0) in TEST_P() 1503 << mixPort.maxOpenStreamCount; in TEST_P() 1560 for (const auto& mixPort : routableMixPorts) { in TEST_P() local 1561 const auto& mixPortProfiles = mixPort.profiles; in TEST_P() 2676 for (const auto& mixPort : mixPorts) { in SetUpPortConfigAnyMixPort() local 2678 ASSERT_NO_FATAL_FAILURE(SetUpPortConfigForMixPortOrConfig(module, moduleConfig, mixPort, in SetUpPortConfigAnyMixPort() 2702 AudioPort mixPort; local 2703 ASSERT_NO_FATAL_FAILURE(module->getAudioPort(initialMixPort.id, &mixPort)); 2705 SetUpPortConfig(module, moduleConfig, mixPort, *connectedDevicePort)); [all …]
|