Home
last modified time | relevance | path

Searched refs:audio_port_config (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/av/media/libmedia/include/media/
DPatchBuilder.h67 PortCfgs(unsigned int *countPtr, struct audio_port_config *portCfgs) in PortCfgs()
69 audio_port_config& add(const audio_port_config& portCfg) { in add()
73 audio_port_config& add(const sp<T>& entity) { in add()
74 audio_port_config* added = advance(); in add()
88 struct audio_port_config* advance() { in advance()
92 struct audio_port_config *mPortCfgs;
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DPolicyAudioPort.h73 virtual status_t checkExactAudioProfile(const struct audio_port_config *config) const;
144 status_t validationBeforeApplyConfig(const struct audio_port_config *config) const;
146 void applyPolicyAudioPortConfig(const struct audio_port_config *config) { in applyPolicyAudioPortConfig()
153 struct audio_port_config *dstConfig,
154 const struct audio_port_config *srcConfig = NULL) const;
DAudioInputDescriptor.h69 virtual status_t applyAudioPortConfig(const struct audio_port_config *config,
70 struct audio_port_config *backupConfig = NULL);
71 virtual void toAudioPortConfig(struct audio_port_config *dstConfig,
72 const struct audio_port_config *srcConfig = NULL) const;
DAudioOutputDescriptor.h258 virtual status_t applyAudioPortConfig(const struct audio_port_config *config,
259 struct audio_port_config *backupConfig = NULL);
260 virtual void toAudioPortConfig(struct audio_port_config *dstConfig,
261 const struct audio_port_config *srcConfig = NULL) const;
361 virtual void toAudioPortConfig(struct audio_port_config *dstConfig,
362 const struct audio_port_config *srcConfig = NULL) const;
444 virtual void toAudioPortConfig(struct audio_port_config *dstConfig,
445 const struct audio_port_config *srcConfig = NULL) const;
DDeviceDescriptor.h77 virtual status_t applyAudioPortConfig(const struct audio_port_config *config,
78 struct audio_port_config *backupConfig = NULL);
79 virtual void toAudioPortConfig(struct audio_port_config *dstConfig,
80 const struct audio_port_config *srcConfig = NULL) const;
/frameworks/av/media/libaudiofoundation/
DAudioPort.cpp238 const struct audio_port_config *config, in applyAudioPortConfig()
239 struct audio_port_config *backupConfig __unused) in applyAudioPortConfig()
261 const T& portConfigField, T audio_port_config::*port_config_field, in updateField()
262 struct audio_port_config *dstConfig, const struct audio_port_config *srcConfig, in updateField()
279 struct audio_port_config *dstConfig, in toAudioPortConfig()
280 const struct audio_port_config *srcConfig) const in toAudioPortConfig()
282 updateField(mSamplingRate, &audio_port_config::sample_rate, in toAudioPortConfig()
284 updateField(mChannelMask, &audio_port_config::channel_mask, in toAudioPortConfig()
287 updateField(mFormat, &audio_port_config::format, in toAudioPortConfig()
DDeviceDescriptorBase.cpp53 void DeviceDescriptorBase::toAudioPortConfig(struct audio_port_config *dstConfig, in toAudioPortConfig()
54 const struct audio_port_config *srcConfig) const in toAudioPortConfig()
/frameworks/av/media/libaudiohal/include/media/audiohal/
DDeviceHalInterface.h98 const struct audio_port_config *sources,
100 const struct audio_port_config *sinks,
113 virtual status_t setAudioPortConfig(const struct audio_port_config *config) = 0;
/frameworks/av/media/libaudiohal/impl/
DDeviceHalLocal.h92 const struct audio_port_config *sources,
94 const struct audio_port_config *sinks,
107 virtual status_t setAudioPortConfig(const struct audio_port_config *config);
DDeviceHalHidl.h99 const struct audio_port_config *sources,
101 const struct audio_port_config *sinks,
114 virtual status_t setAudioPortConfig(const struct audio_port_config *config);
DDeviceHalLocal.cpp159 const struct audio_port_config *sources, in createAudioPatch()
161 const struct audio_port_config *sinks, in createAudioPatch()
199 status_t DeviceHalLocal::setAudioPortConfig(const struct audio_port_config *config) { in setAudioPortConfig()
DDeviceHalHidl.cpp304 const struct audio_port_config *sources, in createAudioPatch()
306 const struct audio_port_config *sinks, in createAudioPatch()
398 status_t DeviceHalHidl::setAudioPortConfig(const struct audio_port_config *config) { in setAudioPortConfig()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioPort.h140 virtual status_t applyAudioPortConfig(const struct audio_port_config *config,
141 struct audio_port_config *backupConfig = NULL);
143 virtual void toAudioPortConfig(struct audio_port_config *dstConfig,
144 const struct audio_port_config *srcConfig = NULL) const;
DDeviceDescriptorBase.h53 virtual void toAudioPortConfig(struct audio_port_config *dstConfig,
54 const struct audio_port_config *srcConfig = NULL) const;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DPolicyAudioPort.cpp64 status_t PolicyAudioPort::checkExactAudioProfile(const struct audio_port_config *config) const in checkExactAudioProfile()
272 const struct audio_port_config *config) const in validationBeforeApplyConfig()
278 void PolicyAudioPortConfig::toPolicyAudioPortConfig(struct audio_port_config *dstConfig, in toPolicyAudioPortConfig()
279 const struct audio_port_config *srcConfig) const in toPolicyAudioPortConfig()
DAudioOutputDescriptor.cpp182 status_t AudioOutputDescriptor::applyAudioPortConfig(const struct audio_port_config *config, in applyAudioPortConfig()
183 audio_port_config *backupConfig) in applyAudioPortConfig()
185 struct audio_port_config localBackupConfig = { .config_mask = config->config_mask }; in applyAudioPortConfig()
201 void AudioOutputDescriptor::toAudioPortConfig(struct audio_port_config *dstConfig, in toAudioPortConfig()
202 const struct audio_port_config *srcConfig) const in toAudioPortConfig()
416 struct audio_port_config *dstConfig, in toAudioPortConfig()
417 const struct audio_port_config *srcConfig) const in toAudioPortConfig()
474 audio_port_config config = {}; in setVolume()
670 struct audio_port_config *dstConfig, in toAudioPortConfig()
671 const struct audio_port_config *srcConfig) const in toAudioPortConfig()
DDeviceDescriptor.cpp135 status_t DeviceDescriptor::applyAudioPortConfig(const struct audio_port_config *config, in applyAudioPortConfig()
136 audio_port_config *backupConfig) in applyAudioPortConfig()
138 struct audio_port_config localBackupConfig = { .config_mask = config->config_mask }; in applyAudioPortConfig()
153 void DeviceDescriptor::toAudioPortConfig(struct audio_port_config *dstConfig, in toAudioPortConfig()
154 const struct audio_port_config *srcConfig) const in toAudioPortConfig()
DAudioPatch.cpp36 String8 *dst, int spaces, const char *prefix, int count, const audio_port_config *cfgs) in dumpPatchEndpoints()
39 const audio_port_config &cfg = cfgs[i]; in dumpPatchEndpoints()
DAudioInputDescriptor.cpp56 status_t AudioInputDescriptor::applyAudioPortConfig(const struct audio_port_config *config, in applyAudioPortConfig()
57 audio_port_config *backupConfig) in applyAudioPortConfig()
59 struct audio_port_config localBackupConfig = { .config_mask = config->config_mask }; in applyAudioPortConfig()
74 void AudioInputDescriptor::toAudioPortConfig(struct audio_port_config *dstConfig, in toAudioPortConfig()
75 const struct audio_port_config *srcConfig) const in toAudioPortConfig()
DIOProfile.cpp59 const struct audio_port_config config = { in isCompatibleProfile()
DClientDescriptor.cpp92 audio_attributes_t attributes, const struct audio_port_config &config, in SourceClientDescriptor()
/frameworks/av/media/libmediahelper/include/media/
DAudioValidator.h54 const struct audio_port_config& config, std::string_view bugNumber = {});
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h245 virtual status_t setAudioPortConfig(const struct audio_port_config *config) = 0;
265 virtual status_t startAudioSource(const struct audio_port_config *source,
429 virtual status_t setAudioPortConfig(const struct audio_port_config *config, int delayMs) = 0;
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h71 status_t setAudioPortConfig(const struct audio_port_config* /*config*/, in setAudioPortConfig() argument
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h252 virtual status_t setAudioPortConfig(const struct audio_port_config *config);
305 virtual status_t startAudioSource(const struct audio_port_config *source,
886 audio_port_config *sourceConfig,
887 audio_port_config *sinkConfig) const;

12