Searched refs:portConfig (Results 1 – 8 of 8) sorted by relevance
503 WithAudioPortConfig portConfig(config); in ApplyEveryConfig() local504 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() argument1189 ScopedAStatus SetUpNoChecks(IModule* module, const AudioPortConfig& portConfig,1218 SinkMetadata GenerateSinkMetadata(const AudioPortConfig& portConfig) { in GenerateSinkMetadata() argument1222 trackMeta.channelMask = portConfig.channelMask.value(); in GenerateSinkMetadata()[all …]
55 const AudioPortConfig& portConfig) { in generateOffloadInfoIfNeeded() argument56 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()
39 const aidl::android::media::audio::common::AudioPortConfig& portConfig);
263 int32_t ModuleBluetooth::getNominalLatencyMs(const AudioPortConfig& portConfig) { in getNominalLatencyMs() argument264 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()
43 const ::aidl::android::media::audio::common::AudioPortConfig& portConfig) override;
59 const ::aidl::android::media::audio::common::AudioPortConfig& portConfig) override;
79 const ::aidl::android::media::audio::common::AudioPortConfig& portConfig) override;
207 const ::aidl::android::media::audio::common::AudioPortConfig& portConfig);