Searched refs:mixPortConfig (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/audio/aidl/vts/ |
D | ModuleConfig.cpp | 244 bool isInput, const AudioPortConfig& mixPortConfig) const { in getConnectedDevicesPortsForMixPort() 245 const auto mixPortIt = findById<AudioPort>(mPorts, mixPortConfig.portId); in getConnectedDevicesPortsForMixPort() 341 auto mixPortConfig = getSingleConfigForMixPort(isInput, mixPort); in getNonRoutableSrcSinkPair() local 342 if (mixPortConfig.has_value()) { in getNonRoutableSrcSinkPair() 343 return make_pair(devicePortConfig, mixPortConfig.value()); in getNonRoutableSrcSinkPair() 363 auto mixPortConfig = getSingleConfigForMixPort(isInput, *mixPortIt); in getRoutableSrcSinkPair() local 364 if (!mixPortConfig.has_value()) continue; in getRoutableSrcSinkPair() 365 return std::make_pair(devicePortConfig, mixPortConfig.value()); in getRoutableSrcSinkPair() 374 auto mixPortConfig = getSingleConfigForMixPort(isInput, *mixPortIt); in getRoutableSrcSinkPair() local 376 if (!mixPortConfig.has_value()) continue; in getRoutableSrcSinkPair() [all …]
|
D | VtsHalAudioCoreModuleTargetTest.cpp | 2686 bool connectedOnly, const std::optional<AudioPortConfig>& mixPortConfig = {}) { in SetUpPortConfigForMixPortOrConfig() argument 2687 if (mixPortConfig.has_value() && !connectedOnly) { 2697 if (mixPortConfig.has_value()) { 2699 SetUpPortConfig(module, moduleConfig, *mixPortConfig, *connectedDevicePort)); 2711 auto mixPortConfig = moduleConfig->getSingleConfigForMixPort(mIsInput, mixPort); in SetUpPortConfig() local 2712 ASSERT_TRUE(mixPortConfig.has_value()) in SetUpPortConfig() 2714 ASSERT_NO_FATAL_FAILURE(SetUpPortConfig(module, moduleConfig, *mixPortConfig, devicePort)); in SetUpPortConfig() 2717 const AudioPortConfig& mixPortConfig, const AudioPort& devicePort) { in SetUpPortConfig() argument 2718 ASSERT_NO_FATAL_FAILURE(SetUpPatch(module, moduleConfig, mixPortConfig, devicePort)); in SetUpPortConfig() 2757 const AudioPortConfig& mixPortConfig) { in SetUpStreamForMixPortConfig() argument [all …]
|
D | ModuleConfig.h | 98 const aidl::android::media::audio::common::AudioPortConfig& mixPortConfig) const;
|
/hardware/interfaces/audio/aidl/default/bluetooth/ |
D | ModuleBluetooth.cpp | 176 const AudioPortConfig* mixPortConfig = isInput ? sinks[0] : sources[0]; in checkAudioPatchEndpointsMatch() local 178 pcmConfig, AudioConfigBase{.sampleRate = mixPortConfig->sampleRate->value, in checkAudioPatchEndpointsMatch() 179 .channelMask = *(mixPortConfig->channelMask), in checkAudioPatchEndpointsMatch() 180 .format = *(mixPortConfig->format)})) { in checkAudioPatchEndpointsMatch() 183 if (int32_t handle = mixPortConfig->ext.get<AudioPortExt::mix>().handle; handle > 0) { in checkAudioPatchEndpointsMatch()
|