Home
last modified time | relevance | path

Searched refs:srcConfig (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libaudiofoundation/
DAudioPort.cpp315 struct audio_port_config *dstConfig, const struct audio_port_config *srcConfig, in updateField() argument
319 if ((srcConfig != nullptr) && (srcConfig->config_mask & configMask)) { in updateField()
320 dstConfig->*port_config_field = srcConfig->*port_config_field; in updateField()
333 const struct audio_port_config *srcConfig) const in toAudioPortConfig()
336 dstConfig, srcConfig, AUDIO_PORT_CONFIG_SAMPLE_RATE, 0u); in toAudioPortConfig()
338 dstConfig, srcConfig, AUDIO_PORT_CONFIG_CHANNEL_MASK, in toAudioPortConfig()
341 dstConfig, srcConfig, AUDIO_PORT_CONFIG_FORMAT, AUDIO_FORMAT_INVALID); in toAudioPortConfig()
347 if ((srcConfig != NULL) && (srcConfig->config_mask & AUDIO_PORT_CONFIG_GAIN) in toAudioPortConfig()
348 && audioport->checkGain(&srcConfig->gain, srcConfig->gain.index) == OK) { in toAudioPortConfig()
349 dstConfig->gain = srcConfig->gain; in toAudioPortConfig()
[all …]
DDeviceDescriptorBase.cpp58 const struct audio_port_config *srcConfig) const in toAudioPortConfig()
71 if (srcConfig != NULL) { in toAudioPortConfig()
72 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()
75 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp205 const struct audio_port_config *srcConfig) const in toAudioPortConfig()
208 if (srcConfig != NULL) { in toAudioPortConfig()
209 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()
211 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
475 const struct audio_port_config *srcConfig) const in toAudioPortConfig()
479 AudioOutputDescriptor::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
822 const struct audio_port_config *srcConfig) const in toAudioPortConfig()
824 mSource->srcDevice()->toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
DAudioInputDescriptor.cpp77 const struct audio_port_config *srcConfig) const in toAudioPortConfig()
82 if (srcConfig != NULL) { in toAudioPortConfig()
83 dstConfig->config_mask |= srcConfig->config_mask; in toAudioPortConfig()
86 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
DDeviceDescriptor.cpp131 const struct audio_port_config *srcConfig) const in toAudioPortConfig()
133 DeviceDescriptorBase::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
/frameworks/base/services/core/java/com/android/server/wm/
DAbsAppSnapshotController.java351 final Configuration srcConfig = source.getConfiguration(); in prepareTaskSnapshot() local
352 outCrop.set(srcConfig.windowConfiguration.getBounds()); in prepareTaskSnapshot()
356 builder.setOrientation(srcConfig.orientation); in prepareTaskSnapshot()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h274 const struct audio_port_config *srcConfig = NULL) const;
408 const struct audio_port_config *srcConfig = NULL) const;
524 const struct audio_port_config *srcConfig = NULL) const;
DAudioInputDescriptor.h72 const struct audio_port_config *srcConfig = NULL) const;
DDeviceDescriptor.h76 const struct audio_port_config *srcConfig = NULL) const;
/frameworks/av/media/libaudiofoundation/include/media/
DDeviceDescriptorBase.h59 const struct audio_port_config *srcConfig = NULL) const;
DAudioPort.h179 const struct audio_port_config *srcConfig = NULL) const;