Home
last modified time | relevance | path

Searched refs:portConfig (Results 1 – 8 of 8) sorted by relevance

/hardware/interfaces/audio/aidl/vts/
DVtsHalAudioCoreModuleTargetTest.cpp503 WithAudioPortConfig portConfig(config); in ApplyEveryConfig() local
504 ASSERT_NO_FATAL_FAILURE(portConfig.SetUp(module.get())); // calls setAudioPortConfig in ApplyEveryConfig()
505 EXPECT_EQ(config.portId, portConfig.get().portId); in ApplyEveryConfig()
508 const int32_t portConfigId = portConfig.getId(); in ApplyEveryConfig()
516 EXPECT_EQ(portConfig.get(), *configIt) in ApplyEveryConfig()
518 << portConfig.get().toString() in ApplyEveryConfig()
1176 explicit WithStream(const AudioPortConfig& portConfig) : mPortConfig(portConfig) {} in WithStream() argument
1189 ScopedAStatus SetUpNoChecks(IModule* module, const AudioPortConfig& portConfig,
1218 SinkMetadata GenerateSinkMetadata(const AudioPortConfig& portConfig) { in GenerateSinkMetadata() argument
1222 trackMeta.channelMask = portConfig.channelMask.value(); in GenerateSinkMetadata()
[all …]
DModuleConfig.cpp55 const AudioPortConfig& portConfig) { in generateOffloadInfoIfNeeded() argument
56 if (portConfig.flags.has_value() && in generateOffloadInfoIfNeeded()
57 portConfig.flags.value().getTag() == AudioIoFlags::Tag::output && in generateOffloadInfoIfNeeded()
58 isBitPositionFlagSet(portConfig.flags.value().get<AudioIoFlags::Tag::output>(), in generateOffloadInfoIfNeeded()
61 offloadInfo.base.sampleRate = portConfig.sampleRate.value().value; in generateOffloadInfoIfNeeded()
62 offloadInfo.base.channelMask = portConfig.channelMask.value(); in generateOffloadInfoIfNeeded()
63 offloadInfo.base.format = portConfig.format.value(); in generateOffloadInfoIfNeeded()
DModuleConfig.h39 const aidl::android::media::audio::common::AudioPortConfig& portConfig);
/hardware/interfaces/audio/aidl/default/bluetooth/
DModuleBluetooth.cpp263 int32_t ModuleBluetooth::getNominalLatencyMs(const AudioPortConfig& portConfig) { in getNominalLatencyMs() argument
264 const auto connectionsIt = mConnections.find(portConfig.ext.get<AudioPortExt::mix>().handle); in getNominalLatencyMs()
273 const bool isInput = portConfig.flags->getTag() == AudioIoFlags::input; in getNominalLatencyMs()
278 LOG(ERROR) << __func__ << ": no connection or proxy found for " << portConfig.toString(); in getNominalLatencyMs()
279 return Module::getNominalLatencyMs(portConfig); in getNominalLatencyMs()
/hardware/interfaces/audio/aidl/default/include/core-impl/
DModulePrimary.h43 const ::aidl::android::media::audio::common::AudioPortConfig& portConfig) override;
DModuleRemoteSubmix.h59 const ::aidl::android::media::audio::common::AudioPortConfig& portConfig) override;
DModuleBluetooth.h79 const ::aidl::android::media::audio::common::AudioPortConfig& portConfig) override;
DModule.h207 const ::aidl::android::media::audio::common::AudioPortConfig& portConfig);