Home
last modified time | relevance | path

Searched refs:AudioPortConfig (Results 1 – 25 of 41) sorted by relevance

12

/hardware/interfaces/audio/aidl/default/include/core-impl/
DModuleRemoteSubmix.h33 const ::aidl::android::media::audio::common::AudioPortConfig& in_requested,
34 ::aidl::android::media::audio::common::AudioPortConfig* out_suggested,
53 const std::vector<::aidl::android::media::audio::common::AudioPortConfig*>& sources,
54 const std::vector<::aidl::android::media::audio::common::AudioPortConfig*>& sinks)
59 const ::aidl::android::media::audio::common::AudioPortConfig& portConfig) override;
DModuleBluetooth.h52 const ::aidl::android::media::audio::common::AudioPortConfig& in_requested,
53 ::aidl::android::media::audio::common::AudioPortConfig* out_suggested,
57 const std::vector<::aidl::android::media::audio::common::AudioPortConfig*>& sources,
58 const std::vector<::aidl::android::media::audio::common::AudioPortConfig*>& sinks)
79 const ::aidl::android::media::audio::common::AudioPortConfig& portConfig) override;
DModule.h38 std::vector<::aidl::android::media::audio::common::AudioPortConfig> portConfigs;
39 std::vector<::aidl::android::media::audio::common::AudioPortConfig> initialConfigs;
80 std::vector<::aidl::android::media::audio::common::AudioPortConfig>* _aidl_return)
103 const ::aidl::android::media::audio::common::AudioPortConfig& in_requested,
104 ::aidl::android::media::audio::common::AudioPortConfig* out_suggested,
196 const std::vector<::aidl::android::media::audio::common::AudioPortConfig*>& sources,
197 const std::vector<::aidl::android::media::audio::common::AudioPortConfig*>& sinks);
207 const ::aidl::android::media::audio::common::AudioPortConfig& portConfig);
237 ::aidl::android::media::audio::common::AudioPortConfig* config);
256 const ::aidl::android::media::audio::common::AudioPortConfig& in_requested,
[all …]
DModuleUsb.h50 const std::vector<::aidl::android::media::audio::common::AudioPortConfig*>& sources,
51 const std::vector<::aidl::android::media::audio::common::AudioPortConfig*>& sinks)
DModulePrimary.h43 const ::aidl::android::media::audio::common::AudioPortConfig& portConfig) override;
/hardware/interfaces/audio/aidl/vts/
DModuleConfig.h32 using SrcSinkPair = std::pair<aidl::android::media::audio::common::AudioPortConfig,
33 aidl::android::media::audio::common::AudioPortConfig>;
39 const aidl::android::media::audio::common::AudioPortConfig& portConfig);
98 const aidl::android::media::audio::common::AudioPortConfig& mixPortConfig) const;
119 std::vector<aidl::android::media::audio::common::AudioPortConfig>
123 std::vector<aidl::android::media::audio::common::AudioPortConfig> getPortConfigsForMixPorts() in getPortConfigsForMixPorts()
132 std::vector<aidl::android::media::audio::common::AudioPortConfig> getPortConfigsForMixPorts( in getPortConfigsForMixPorts()
137 std::vector<aidl::android::media::audio::common::AudioPortConfig> getPortConfigsForMixPorts( in getPortConfigsForMixPorts()
141 std::optional<aidl::android::media::audio::common::AudioPortConfig> getSingleConfigForMixPort( in getSingleConfigForMixPort()
150 std::optional<aidl::android::media::audio::common::AudioPortConfig> getSingleConfigForMixPort( in getSingleConfigForMixPort()
[all …]
DModuleConfig.cpp47 using aidl::android::media::audio::common::AudioPortConfig;
55 const AudioPortConfig& portConfig) { in generateOffloadInfoIfNeeded()
244 bool isInput, const AudioPortConfig& mixPortConfig) const { in getConnectedDevicesPortsForMixPort()
455 std::vector<AudioPortConfig>* result) { in combineAudioConfigs()
460 AudioPortConfig config{}; in combineAudioConfigs()
508 std::vector<AudioPortConfig> ModuleConfig::generateAudioMixPortConfigs( in generateAudioMixPortConfigs()
510 std::vector<AudioPortConfig> result; in generateAudioMixPortConfigs()
527 std::vector<AudioPortConfig> ModuleConfig::generateAudioDevicePortConfigs( in generateAudioDevicePortConfigs()
529 std::vector<AudioPortConfig> result; in generateAudioDevicePortConfigs()
543 AudioPortConfig empty; in generateAudioDevicePortConfigs()
DVtsHalAudioCoreModuleTargetTest.cpp99 using aidl::android::media::audio::common::AudioPortConfig;
301 explicit WithAudioPortConfig(const AudioPortConfig& config) : mInitialConfig(config) {} in WithAudioPortConfig()
318 const AudioPortConfig& get() const { return mConfig; } in get()
323 AudioPortConfig suggested; in SetUpImpl()
341 AudioPortConfig mInitialConfig;
343 AudioPortConfig mConfig;
500 void ApplyEveryConfig(const std::vector<AudioPortConfig>& configs) { in ApplyEveryConfig()
506 std::vector<AudioPortConfig> retrievedPortConfigs; in ApplyEveryConfig()
548 return GetAllEntityIds<AudioPortConfig>( in GetAllPortConfigIds()
1176 explicit WithStream(const AudioPortConfig& portConfig) : mPortConfig(portConfig) {} in WithStream()
[all …]
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
DAudioPrimaryHidlHalTest.cpp66 static std::vector<AudioPortConfig>& generatePortConfigs(bool valid) { in generatePortConfigs()
75 static std::vector<AudioPortConfig> valids = [] { in generatePortConfigs()
76 std::vector<AudioPortConfig> result; in generatePortConfigs()
78 result.push_back(AudioPortConfig{}); in generatePortConfigs()
79 AudioPortConfig configWithGain{}; in generatePortConfigs()
88 AudioPortConfig configWithPortExtDevice{}; in generatePortConfigs()
91 AudioPortConfig configWithPortExtMixSource{}; in generatePortConfigs()
96 AudioPortConfig configWithPortExtMixSink{}; in generatePortConfigs()
101 AudioPortConfig configWithPortExtSession{}; in generatePortConfigs()
107 static std::vector<AudioPortConfig> invalids = [&] { in generatePortConfigs()
[all …]
/hardware/interfaces/audio/aidl/default/r_submix/
DModuleRemoteSubmix.cpp36 using aidl::android::media::audio::common::AudioPortConfig;
71 ndk::ScopedAStatus ModuleRemoteSubmix::setAudioPortConfig(const AudioPortConfig& in_requested, in setAudioPortConfig()
72 AudioPortConfig* out_suggested, in setAudioPortConfig()
74 auto fillConfig = [this](const AudioPort& port, AudioPortConfig* config) { in setAudioPortConfig()
145 const std::vector<AudioPortConfig*>& sources, const std::vector<AudioPortConfig*>& sinks) { in checkAudioPatchEndpointsMatch()
170 int32_t ModuleRemoteSubmix::getNominalLatencyMs(const AudioPortConfig&) { in getNominalLatencyMs() argument
/hardware/interfaces/audio/core/all-versions/default/include/core/default/
DDevice.h129 Return<void> createAudioPatch(const hidl_vec<AudioPortConfig>& sources,
130 const hidl_vec<AudioPortConfig>& sinks,
134 Return<Result> setAudioPortConfig(const AudioPortConfig& config) override;
158 Return<void> updateAudioPatch(int32_t previousPatch, const hidl_vec<AudioPortConfig>& sources,
159 const hidl_vec<AudioPortConfig>& sinks,
185 AudioPatchHandle patch, const hidl_vec<AudioPortConfig>& sources,
186 const hidl_vec<AudioPortConfig>& sinks);
DPrimaryDevice.h83 Return<void> createAudioPatch(const hidl_vec<AudioPortConfig>& sources,
84 const hidl_vec<AudioPortConfig>& sinks,
88 Return<Result> setAudioPortConfig(const AudioPortConfig& config) override;
112 Return<void> updateAudioPatch(int32_t previousPatch, const hidl_vec<AudioPortConfig>& sources,
113 const hidl_vec<AudioPortConfig>& sinks,
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtilsCommon.cpp28 hidl_vec<AudioPortConfig>* configs) { in audioPortConfigsFromHal()
40 status_t HidlUtils::audioPortConfigsToHal(const hidl_vec<AudioPortConfig>& configs, in audioPortConfigsToHal()
DHidlUtils.h64 AudioPortConfig* config);
65 static status_t audioPortConfigToHal(const AudioPortConfig& config,
69 hidl_vec<AudioPortConfig>* configs);
70 static status_t audioPortConfigsToHal(const hidl_vec<AudioPortConfig>& configs,
/hardware/interfaces/audio/aidl/android/hardware/audio/core/
DIModule.aidl41 import android.media.audio.common.AudioPortConfig;
295 AudioPortConfig[] getAudioPortConfigs(); in getAudioPortConfigs()
590 boolean setAudioPortConfig(in AudioPortConfig requested, out AudioPortConfig suggested); in setAudioPortConfig()
/hardware/interfaces/audio/aidl/default/
DModulePrimary.cpp31 using aidl::android::media::audio::common::AudioPortConfig;
61 int32_t ModulePrimary::getNominalLatencyMs(const AudioPortConfig&) { in getNominalLatencyMs() argument
DModule.cpp58 using aidl::android::media::audio::common::AudioPortConfig;
181 auto portConfigIt = findById<AudioPortConfig>(configs, in_portConfigId); in createStreamContext()
277 auto portConfigIt = findById<AudioPortConfig>(configs, in_portConfigId); in findPortIdForNewStream()
314 bool Module::generateDefaultPortConfig(const AudioPort& port, AudioPortConfig* config) { in generateDefaultPortConfig()
358 auto portConfigIt = findById<AudioPortConfig>(portConfigs, *it); in portIdsFromPortConfigIds()
370 int32_t Module::getNominalLatencyMs(const AudioPortConfig&) { in getNominalLatencyMs() argument
417 auto configIt = findById<AudioPortConfig>(configs, portConfigId); in registerPatch()
735 const auto& initialIt = findById<AudioPortConfig>(initials, config.id); in disconnectExternalDevice()
822 ndk::ScopedAStatus Module::getAudioPortConfigs(std::vector<AudioPortConfig>* _aidl_return) { in getAudioPortConfigs()
963 selectByIds<AudioPortConfig>(configs, in_requested.sourcePortConfigIds, &missingIds); in setAudioPatch()
[all …]
/hardware/interfaces/audio/aidl/default/bluetooth/
DModuleBluetooth.cpp38 using aidl::android::media::audio::common::AudioPortConfig;
139 ndk::ScopedAStatus ModuleBluetooth::setAudioPortConfig(const AudioPortConfig& in_requested, in setAudioPortConfig()
140 AudioPortConfig* out_suggested, in setAudioPortConfig()
142 auto fillConfig = [this](const AudioPort& port, AudioPortConfig* config) { in setAudioPortConfig()
169 const std::vector<AudioPortConfig*>& sources, const std::vector<AudioPortConfig*>& sinks) { in checkAudioPatchEndpointsMatch()
176 const AudioPortConfig* mixPortConfig = isInput ? sinks[0] : sources[0]; in checkAudioPatchEndpointsMatch()
263 int32_t ModuleBluetooth::getNominalLatencyMs(const AudioPortConfig& portConfig) { in getNominalLatencyMs()
/hardware/interfaces/audio/aidl/default/usb/
DModuleUsb.cpp33 using aidl::android::media::audio::common::AudioPortConfig;
100 const std::vector<AudioPortConfig*>& sources, const std::vector<AudioPortConfig*>& sinks) { in checkAudioPatchEndpointsMatch()
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.core/1/android/hardware/audio/core/
DIModule.aidl46 android.media.audio.common.AudioPortConfig[] getAudioPortConfigs(); in getAudioPortConfigs()
54 …ortConfig(in android.media.audio.common.AudioPortConfig requested, out android.media.audio.common. in setAudioPortConfig()
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.core/2/android/hardware/audio/core/
DIModule.aidl46 android.media.audio.common.AudioPortConfig[] getAudioPortConfigs(); in getAudioPortConfigs()
54 …ortConfig(in android.media.audio.common.AudioPortConfig requested, out android.media.audio.common. in setAudioPortConfig()
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.core/current/android/hardware/audio/core/
DIModule.aidl46 android.media.audio.common.AudioPortConfig[] getAudioPortConfigs(); in getAudioPortConfigs()
54 …ortConfig(in android.media.audio.common.AudioPortConfig requested, out android.media.audio.common. in setAudioPortConfig()
/hardware/interfaces/audio/core/all-versions/default/
DPrimaryDevice.cpp120 Return<void> PrimaryDevice::createAudioPatch(const hidl_vec<AudioPortConfig>& sources, in createAudioPatch()
121 const hidl_vec<AudioPortConfig>& sinks, in createAudioPatch()
134 Return<Result> PrimaryDevice::setAudioPortConfig(const AudioPortConfig& config) { in setAudioPortConfig()
193 const hidl_vec<AudioPortConfig>& sources, in updateAudioPatch()
194 const hidl_vec<AudioPortConfig>& sinks, in updateAudioPatch()
DDevice.cpp360 Return<void> Device::createAudioPatch(const hidl_vec<AudioPortConfig>& sources, in openOutputStreamImpl()
361 const hidl_vec<AudioPortConfig>& sinks, in openOutputStreamImpl()
369 AudioPatchHandle patch, const hidl_vec<AudioPortConfig>& sources, in openOutputStreamImpl()
370 const hidl_vec<AudioPortConfig>& sinks) { in openOutputStreamImpl()
440 Return<Result> Device::setAudioPortConfig(const AudioPortConfig& config) { in openOutputStreamImpl()
598 const hidl_vec<AudioPortConfig>& sources, in openOutputStreamImpl()
599 const hidl_vec<AudioPortConfig>& sinks, in openOutputStreamImpl()
/hardware/interfaces/audio/core/all-versions/vts/functional/6.0/
DAudioPrimaryHidlHalTest.cpp51 ASSERT_OK(getDevice()->updateAudioPatch(AudioPatchHandle{}, hidl_vec<AudioPortConfig>(), in TEST_P()
52 hidl_vec<AudioPortConfig>(), returnIn(res, ignored))); in TEST_P()

12