Home
last modified time | relevance | path

Searched refs:AudioPortConfig (Results 1 – 23 of 23) 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()
70 for (AudioPortConfig source : mSources) { in toString()
75 for (AudioPortConfig sink : mSinks) { in toString()
DAudioPort.java77 private AudioPortConfig mActiveConfig;
183 public AudioPortConfig buildConfig(int samplingRate, int channelMask, int format, in buildConfig()
185 return new AudioPortConfig(this, samplingRate, channelMask, format, gain); in buildConfig()
191 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 {
DAudioSystem.java811 AudioPortConfig[] sources, AudioPortConfig[] sinks); in createAudioPatch()
814 public static native int setAudioPortConfig(AudioPortConfig config); in setAudioPortConfig()
DAudioManager.java4326 AudioPortConfig[] sources, in createAudioPatch()
4327 AudioPortConfig[] sinks) { in createAudioPatch()
4364 AudioPortConfig activeConfig = port.activeConfig(); in setAudioPortGain()
4365 AudioPortConfig config = new AudioPortConfig(port, activeConfig.samplingRate(), in setAudioPortGain()
4367 config.mConfigMask = AudioPortConfig.GAIN; in setAudioPortGain()
4468 AudioPortConfig portCfg = updatePortConfig(newPatches.get(i).sources()[j], in updateAudioPortCache()
4473 AudioPortConfig portCfg = updatePortConfig(newPatches.get(i).sinks()[j], in updateAudioPortCache()
4481 for (AudioPortConfig portCfg : newPatch.sources()) { in updateAudioPortCache()
4487 for (AudioPortConfig portCfg : newPatch.sinks()) { in updateAudioPortCache()
4521 static AudioPortConfig updatePortConfig(AudioPortConfig portCfg, ArrayList<AudioPort> ports) { in updatePortConfig()
DAudioRecordingConfiguration.java203 final AudioPortConfig[] sources = patch.sources(); in getAudioDevice()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPort.h153 class AudioPortConfig : public virtual RefBase
156 AudioPortConfig();
157 virtual ~AudioPortConfig() {} in ~AudioPortConfig()
164 virtual bool hasSameHwModuleAs(const sp<AudioPortConfig>& other) const { in hasSameHwModuleAs()
DDeviceDescriptor.h29 class DeviceDescriptor : public AudioPort, public AudioPortConfig
DAudioInputDescriptor.h34 class AudioInputDescriptor: public AudioPortConfig, public AudioSessionInfoProvider
DAudioOutputDescriptor.h38 class AudioOutputDescriptor: public AudioPortConfig
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp389 AudioPortConfig::AudioPortConfig() in AudioPortConfig() function in android::AudioPortConfig
398 status_t AudioPortConfig::applyAudioPortConfig(const struct audio_port_config *config, in applyAudioPortConfig()
439 void AudioPortConfig::toAudioPortConfig(struct audio_port_config *dstConfig, in toAudioPortConfig()
DAudioInputDescriptor.cpp79 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
DDeviceDescriptor.cpp237 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
DAudioOutputDescriptor.cpp170 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
/frameworks/av/media/libaudiohal/2.0/
DDeviceHalHidl.cpp37 using ::android::hardware::audio::common::V2_0::AudioPortConfig;
306 hidl_vec<AudioPortConfig> hidlSources, hidlSinks; in createAudioPatch()
344 AudioPortConfig hidlConfig; in setAudioPortConfig()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java42 import android.media.AudioPortConfig;
926 AudioPortConfig sourceConfig = mAudioSource.activeConfig(); in updateAudioConfigLocked()
927 List<AudioPortConfig> sinkConfigs = new ArrayList<>(); in updateAudioConfigLocked()
932 AudioPortConfig sinkConfig = audioSink.activeConfig(); in updateAudioConfigLocked()
973 AudioPortConfig sinkConfig = sinkConfigs.get(0); in updateAudioConfigLocked()
1005 new AudioPortConfig[] { sourceConfig }, in updateAudioConfigLocked()
1006 sinkConfigs.toArray(new AudioPortConfig[sinkConfigs.size()])); in updateAudioConfigLocked()
/frameworks/av/media/libaudiohal/4.0/
DDeviceHalHidl.cpp40 using ::android::hardware::audio::common::V4_0::AudioPortConfig;
319 hidl_vec<AudioPortConfig> hidlSources, hidlSinks; in createAudioPatch()
357 AudioPortConfig hidlConfig; in setAudioPortConfig()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt2795 …udioPatch([Landroid/media/AudioPatch;[Landroid/media/AudioPortConfig;[Landroid/media/AudioPortConf…
2837 …;-><init>(Landroid/media/AudioHandle;[Landroid/media/AudioPortConfig;[Landroid/media/AudioPortConf…
2839 Landroid/media/AudioPatch;->sinks()[Landroid/media/AudioPortConfig;
2840 Landroid/media/AudioPatch;->sources()[Landroid/media/AudioPortConfig;
2854 Landroid/media/AudioPort;->mActiveConfig:Landroid/media/AudioPortConfig;
2859 Landroid/media/AudioPortConfig;-><init>(Landroid/media/AudioPort;IIILandroid/media/AudioGainConfig;…
2860 Landroid/media/AudioPortConfig;->mChannelMask:I
2861 Landroid/media/AudioPortConfig;->mConfigMask:I
2862 Landroid/media/AudioPortConfig;->mFormat:I
2863 Landroid/media/AudioPortConfig;->mGain:Landroid/media/AudioGainConfig;
[all …]
Dpreloaded-classes1971 android.media.AudioPortConfig
Dboot-image-profile.txt24599 …ia/AudioDevicePort;->buildConfig(IIILandroid/media/AudioGainConfig;)Landroid/media/AudioPortConfig;
24664 …Manager;->updatePortConfig(Landroid/media/AudioPortConfig;Ljava/util/ArrayList;)Landroid/media/Aud…
24680 …media/AudioMixPort;->buildConfig(IIILandroid/media/AudioGainConfig;)Landroid/media/AudioPortConfig;
24682 …;-><init>(Landroid/media/AudioHandle;[Landroid/media/AudioPortConfig;[Landroid/media/AudioPortConf…
24683 HSPLandroid/media/AudioPatch;->sinks()[Landroid/media/AudioPortConfig;
24684 HSPLandroid/media/AudioPatch;->sources()[Landroid/media/AudioPortConfig;
24699 HSPLandroid/media/AudioPortConfig;-><init>(Landroid/media/AudioPort;IIILandroid/media/AudioGainConf…
24700 HSPLandroid/media/AudioPortConfig;->channelMask()I
24701 HSPLandroid/media/AudioPortConfig;->format()I
24702 HSPLandroid/media/AudioPortConfig;->gain()Landroid/media/AudioGainConfig;
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3193 sp<AudioPortConfig> audioPortConfig; in setAudioPortConfig()