Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioPatch.java33 private final AudioPortConfig[] mSources;
34 private final AudioPortConfig[] mSinks;
36 AudioPatch(AudioHandle patchHandle, AudioPortConfig[] sources, AudioPortConfig[] sinks) { in AudioPatch()
45 public AudioPortConfig[] sources() { in sources()
52 public AudioPortConfig[] sinks() { in sinks()
63 for (AudioPortConfig source : mSources) { in toString()
68 for (AudioPortConfig sink : mSinks) { in toString()
DAudioPort.java77 private AudioPortConfig mActiveConfig;
182 public AudioPortConfig buildConfig(int samplingRate, int channelMask, int format, in buildConfig()
184 return new AudioPortConfig(this, samplingRate, channelMask, format, gain); in buildConfig()
190 public AudioPortConfig activeConfig() { in activeConfig()
DAudioPortConfig.java32 public class AudioPortConfig { class
48 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, in AudioPortConfig() method in AudioPortConfig
DAudioMixPortConfig.java27 public class AudioMixPortConfig extends AudioPortConfig {
DAudioDevicePortConfig.java28 public class AudioDevicePortConfig extends AudioPortConfig {
DAudioManager.java3493 AudioPortConfig[] sources, in createAudioPatch()
3494 AudioPortConfig[] sinks) { in createAudioPatch()
3531 AudioPortConfig activeConfig = port.activeConfig(); in setAudioPortGain()
3532 AudioPortConfig config = new AudioPortConfig(port, activeConfig.samplingRate(), in setAudioPortGain()
3534 config.mConfigMask = AudioPortConfig.GAIN; in setAudioPortGain()
3627 AudioPortConfig portCfg = updatePortConfig(newPatches.get(i).sources()[j], in updateAudioPortCache()
3632 AudioPortConfig portCfg = updatePortConfig(newPatches.get(i).sinks()[j], in updateAudioPortCache()
3640 for (AudioPortConfig portCfg : newPatch.sources()) { in updateAudioPortCache()
3646 for (AudioPortConfig portCfg : newPatch.sinks()) { in updateAudioPortCache()
3680 static AudioPortConfig updatePortConfig(AudioPortConfig portCfg, ArrayList<AudioPort> ports) { in updatePortConfig()
DAudioSystem.java637 AudioPortConfig[] sources, AudioPortConfig[] sinks); in createAudioPatch()
640 public static native int setAudioPortConfig(AudioPortConfig config); in setAudioPortConfig()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPort.h109 class AudioPortConfig : public virtual RefBase
112 AudioPortConfig();
113 virtual ~AudioPortConfig() {} in ~AudioPortConfig()
DAudioInputDescriptor.h32 class AudioInputDescriptor: public AudioPortConfig
DDeviceDescriptor.h29 class DeviceDescriptor : public AudioPort, public AudioPortConfig
DAudioOutputDescriptor.h34 class AudioOutputDescriptor: public AudioPortConfig
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java40 import android.media.AudioPortConfig;
826 AudioPortConfig sourceConfig = mAudioSource.activeConfig(); in updateAudioConfigLocked()
827 List<AudioPortConfig> sinkConfigs = new ArrayList<>(); in updateAudioConfigLocked()
832 AudioPortConfig sinkConfig = audioSink.activeConfig(); in updateAudioConfigLocked()
873 AudioPortConfig sinkConfig = sinkConfigs.get(0); in updateAudioConfigLocked()
902 new AudioPortConfig[] { sourceConfig }, in updateAudioConfigLocked()
903 sinkConfigs.toArray(new AudioPortConfig[sinkConfigs.size()])); in updateAudioConfigLocked()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp825 AudioPortConfig::AudioPortConfig() in AudioPortConfig() function in android::AudioPortConfig
833 status_t AudioPortConfig::applyAudioPortConfig( in applyAudioPortConfig()
887 void AudioPortConfig::toAudioPortConfig(struct audio_port_config *dstConfig, in toAudioPortConfig()
DAudioInputDescriptor.cpp74 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
DDeviceDescriptor.cpp277 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
DAudioOutputDescriptor.cpp171 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
/frameworks/base/
Dpreloaded-classes79 [Landroid.media.AudioPortConfig;
1217 android.media.AudioPortConfig
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp2498 sp<AudioPortConfig> audioPortConfig; in setAudioPortConfig()