Home
last modified time | relevance | path

Searched refs:AudioConfig (Results 1 – 25 of 36) sorted by relevance

12

/hardware/interfaces/audio/core/all-versions/vts/functional/
DConfigHelper.h62 static const std::vector<AudioConfig> getRequiredSupportPlaybackAudioConfig() { in getRequiredSupportPlaybackAudioConfig()
68 static const std::vector<AudioConfig> getRecommendedSupportPlaybackAudioConfig() { in getRecommendedSupportPlaybackAudioConfig()
73 static const std::vector<AudioConfig> getRequiredSupportCaptureAudioConfig() { in getRequiredSupportCaptureAudioConfig()
78 static const std::vector<AudioConfig> getRecommendedSupportCaptureAudioConfig() { in getRecommendedSupportCaptureAudioConfig()
84 static std::vector<AudioConfig> combineAudioConfig( in combineAudioConfig()
87 std::vector<AudioConfig> configs; in combineAudioConfig()
91 AudioConfig config{}; in combineAudioConfig()
102 static std::vector<AudioConfig> combineAudioConfig(std::vector<AudioChannelMask> channelMasks, in combineAudioConfig()
105 std::vector<AudioConfig> configs; in combineAudioConfig()
110 AudioConfig config{}; in combineAudioConfig()
DAudioTestDefinitions.h38 DeviceParameter, android::hardware::audio::common::COMMON_TYPES_CPP_VERSION::AudioConfig,
46 android::hardware::audio::common::COMMON_TYPES_CPP_VERSION::AudioConfig,
DAudioPrimaryHidlHalTest.h577 const AudioConfig& config = std::get<PARAM_CONFIG>(info.param); in DeviceConfigParameterToString()
644 const AudioConfig& getConfig() const { return std::get<PARAM_CONFIG>(GetParam()); } in getConfig()
686 void inputBufferSizeTest(const AudioConfig& audioConfig, bool supportRequired) { in inputBufferSizeTest()
842 void open(Open openStream, const AudioConfig& config, Result* res, in open()
843 AudioConfig* suggestedConfigPtr) { in open()
844 AudioConfig suggestedConfig{}; in open()
859 AudioConfig suggestedConfigRetry; in open()
905 void testOpen(Open openStream, const AudioConfig& config) { in testOpen()
925 AudioConfig audioConfig;
1078 const AudioConfig& config = getConfig(); in SetUp()
[all …]
/hardware/interfaces/audio/core/all-versions/default/include/core/default/
DDevice.h66 Return<void> getInputBufferSize(const AudioConfig& config,
71 const AudioConfig& config,
73 AudioConfig* suggestedConfig);
75 int32_t ioHandle, const DeviceAddress& device, const AudioConfig& config,
76 const AudioInputFlags& flags, AudioSource source, AudioConfig* suggestedConfig);
78 std::tuple<Result, sp<IStreamOut>, AudioConfig> openOutputStreamImpl(
79 int32_t ioHandle, const DeviceAddress& device, const AudioConfig& config,
86 std::tuple<Result, sp<IStreamIn>, AudioConfig> openInputStreamImpl(
87 int32_t ioHandle, const DeviceAddress& device, const AudioConfig& config,
97 const AudioConfig& config,
[all …]
DPrimaryDevice.h54 Return<void> getInputBufferSize(const AudioConfig& config,
58 const AudioConfig& config,
69 const AudioConfig& config,
/hardware/interfaces/audio/aidl/default/r_submix/
DSubmixRoute.h52 struct AudioConfig { struct
67 const AudioConfig& pipeConfig); argument
102 AudioConfig getPipeConfig() { in getPipeConfig()
107 bool isStreamConfigValid(bool isInput, const AudioConfig& streamConfig);
109 ::android::status_t createPipe(const AudioConfig& streamConfig);
114 AudioConfig releasePipe();
139 bool isStreamConfigCompatible(const AudioConfig& streamConfig);
142 AudioConfig mPipeConfig GUARDED_BY(mLock);
DSubmixRoute.cpp42 const AudioConfig& pipeConfig) { in findOrCreateRoute()
88 bool SubmixRoute::isStreamConfigValid(bool isInput, const AudioConfig& streamConfig) { in isStreamConfigValid()
104 bool SubmixRoute::isStreamConfigCompatible(const AudioConfig& streamConfig) { in isStreamConfigCompatible()
184 ::android::status_t SubmixRoute::createPipe(const AudioConfig& streamConfig) { in createPipe()
240 AudioConfig SubmixRoute::releasePipe() { in releasePipe()
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
DGenerators.cpp41 static std::vector<AudioConfig> combineAudioConfig(std::vector<xsd::AudioChannelMask> channelMasks, in combineAudioConfig()
44 std::vector<AudioConfig> configs; in combineAudioConfig()
48 AudioConfig config{}; in combineAudioConfig()
161 AudioConfig config{.base = validBase}; in getOutputDeviceInvalidConfigParameters()
170 AudioConfig config{.base = validBase}; in getOutputDeviceInvalidConfigParameters()
179 AudioConfig config{.base = validBase}; in getOutputDeviceInvalidConfigParameters()
189 AudioConfig config{.base = validBase}; in getOutputDeviceInvalidConfigParameters()
196 AudioConfig config{.base = validBase}; in getOutputDeviceInvalidConfigParameters()
203 AudioConfig config{.base = validBase}; in getOutputDeviceInvalidConfigParameters()
210 AudioConfig config{.base = validBase}; in getOutputDeviceInvalidConfigParameters()
[all …]
/hardware/interfaces/audio/core/all-versions/default/
DDevice.cpp142 Return<void> Device::getInputBufferSize(const AudioConfig& config, getInputBufferSize_cb _hidl_cb) { in getInputBufferSize()
159 const AudioConfig& config, in openOutputStreamCore()
161 AudioConfig* suggestedConfig) { in openOutputStreamCore()
196 int32_t ioHandle, const DeviceAddress& device, const AudioConfig& config, in openInputStreamCore()
197 const AudioInputFlags& flags, AudioSource source, AudioConfig* suggestedConfig) { in openInputStreamCore()
235 const AudioConfig& config, AudioOutputFlags flags, in openOutputStream()
237 AudioConfig suggestedConfig; in openOutputStream()
245 const AudioConfig& config, AudioInputFlags flags, in openInputStream()
247 AudioConfig suggestedConfig; in openInputStream()
255 std::tuple<Result, sp<IStreamOut>, AudioConfig> Device::openOutputStreamImpl( in openOutputStreamImpl()
[all …]
DPrimaryDevice.cpp73 Return<void> PrimaryDevice::getInputBufferSize(const AudioConfig& config, in getInputBufferSize()
80 const AudioConfig& config, AudioOutputFlags flags, in openOutputStream()
86 const AudioConfig& config, AudioInputFlags flags, in openInputStream()
92 const AudioConfig& config, in openOutputStream()
104 const AudioConfig& config, in openInputStream()
/hardware/interfaces/audio/aidl/android/hardware/audio/effect/
DParameter.aidl38 import android.media.audio.common.AudioConfig;
132 AudioConfig input;
136 AudioConfig output;
/hardware/interfaces/soundtrigger/aidl/cli/java/android/hardware/soundtrigger3/cli/
DSthalCli.java23 import android.media.audio.common.AudioConfig;
352 private static AudioConfig createConfig() { in createConfig()
353 AudioConfig config = new AudioConfig(); in createConfig()
/hardware/interfaces/audio/core/all-versions/vts/functional/tests/
Dgenerators_tests.cpp90 static void validateConfig(const AudioConfig& config) { in validateConfig()
151 const AudioConfig& config = std::get<PARAM_CONFIG>(configParam); in TEST()
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.effect/1/android/hardware/audio/effect/
DParameter.aidl68 android.media.audio.common.AudioConfig input;
69 android.media.audio.common.AudioConfig output;
/hardware/interfaces/audio/2.0/
DIDevice.hal100 getInputBufferSize(AudioConfig config)
119 AudioConfig config,
123 AudioConfig suggestedConfig);
142 AudioConfig config,
147 AudioConfig suggestedConfig);
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.effect/current/android/hardware/audio/effect/
DParameter.aidl71 android.media.audio.common.AudioConfig input;
72 android.media.audio.common.AudioConfig output;
/hardware/interfaces/audio/7.1/
DIDevice.hal50 AudioConfig config,
55 AudioConfig suggestedConfig);
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.effect/2/android/hardware/audio/effect/
DParameter.aidl71 android.media.audio.common.AudioConfig input;
72 android.media.audio.common.AudioConfig output;
/hardware/interfaces/audio/common/all-versions/default/tests/
Dhidlutils_tests.cpp806 AudioConfig invalid; in TEST()
820 AudioConfig invalidChannelMask; in TEST()
825 AudioConfig invalidFormat; in TEST()
833 AudioConfig defaultOut, defaultIn; in TEST()
840 AudioConfig defaultCfg{}; in TEST()
845 AudioConfig defaultCfgBackOut, defaultCfgBackIn; in TEST()
855 AudioConfig configOut{}; in TEST()
859 AudioConfig configOutBack; in TEST()
864 AudioConfig configIn{}; in TEST()
868 AudioConfig configInBack; in TEST()
[all …]
/hardware/interfaces/audio/4.0/
DIDevice.hal98 getInputBufferSize(AudioConfig config)
119 AudioConfig config,
124 AudioConfig suggestedConfig);
144 AudioConfig config,
149 AudioConfig suggestedConfig);
/hardware/interfaces/audio/5.0/
DIDevice.hal98 getInputBufferSize(AudioConfig config)
119 AudioConfig config,
124 AudioConfig suggestedConfig);
144 AudioConfig config,
149 AudioConfig suggestedConfig);
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/
DAudioPrimaryHidlHalTest.cpp86 AudioConfig config{}; in TEST_P()
98 AudioConfig suggestedConfig{}; in TEST_P()
100 [&](AudioIoHandle handle, AudioConfig config, auto cb) { in TEST_P()
/hardware/interfaces/audio/6.0/
DIDevice.hal98 getInputBufferSize(AudioConfig config)
119 AudioConfig config,
124 AudioConfig suggestedConfig);
144 AudioConfig config,
149 AudioConfig suggestedConfig);
/hardware/interfaces/audio/7.0/
DIDevice.hal98 getInputBufferSize(AudioConfig config)
125 AudioConfig config,
130 AudioConfig suggestedConfig);
156 AudioConfig config,
161 AudioConfig suggestedConfig);
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.h42 AudioConfig* config);
43 static status_t audioConfigToHal(const AudioConfig& config, audio_config_t* halConfig);

12