Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioPatch.java36 private final AudioPortConfig[] mSources;
37 private final AudioPortConfig[] mSinks;
40 AudioPatch(AudioHandle patchHandle, AudioPortConfig[] sources, AudioPortConfig[] sinks) { in AudioPatch()
50 public AudioPortConfig[] sources() { in sources()
58 public AudioPortConfig[] sinks() { in sinks()
76 for (AudioPortConfig source : mSources) { in toString()
81 for (AudioPortConfig sink : mSinks) { in toString()
DAudioPort.java83 private AudioPortConfig mActiveConfig;
192 public AudioPortConfig buildConfig(int samplingRate, int channelMask, int format, in buildConfig()
194 return new AudioPortConfig(this, samplingRate, channelMask, format, gain); in buildConfig()
200 public AudioPortConfig activeConfig() { in activeConfig()
DAudioPortConfig.java34 public class AudioPortConfig { class
57 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, in AudioPortConfig() method in AudioPortConfig
DAudioMixPortConfig.java29 public class AudioMixPortConfig extends AudioPortConfig {
DAudioDevicePortConfig.java30 public class AudioDevicePortConfig extends AudioPortConfig {
DAudioSystem.java1542 AudioPortConfig[] sources, AudioPortConfig[] sinks); in createAudioPatch()
1548 public static native int setAudioPortConfig(AudioPortConfig config); in setAudioPortConfig()
1551 public static native int startAudioSource(AudioPortConfig config, in startAudioSource()
DAudioManager.java5274 AudioPortConfig[] sources, in createAudioPatch()
5275 AudioPortConfig[] sinks) { in createAudioPatch()
5314 AudioPortConfig activeConfig = port.activeConfig(); in setAudioPortGain()
5315 AudioPortConfig config = new AudioPortConfig(port, activeConfig.samplingRate(), in setAudioPortGain()
5317 config.mConfigMask = AudioPortConfig.GAIN; in setAudioPortGain()
5420 AudioPortConfig portCfg = updatePortConfig(newPatches.get(i).sources()[j], in updateAudioPortCache()
5425 AudioPortConfig portCfg = updatePortConfig(newPatches.get(i).sinks()[j], in updateAudioPortCache()
5433 for (AudioPortConfig portCfg : newPatch.sources()) { in updateAudioPortCache()
5439 for (AudioPortConfig portCfg : newPatch.sinks()) { in updateAudioPortCache()
5473 static AudioPortConfig updatePortConfig(AudioPortConfig portCfg, ArrayList<AudioPort> ports) { in updatePortConfig()
DAudioRecordingConfiguration.java261 final AudioPortConfig[] sources = patch.sources(); in getAudioDevice()
/frameworks/av/media/libaudiofoundation/
DAudioPort.cpp150 status_t AudioPortConfig::applyAudioPortConfig( in applyAudioPortConfig()
191 void AudioPortConfig::toAudioPortConfig( in toAudioPortConfig()
221 bool AudioPortConfig::hasGainController(bool canUseForVolume) const in hasGainController()
231 bool AudioPortConfig::equals(const sp<AudioPortConfig> &other) const in equals()
246 status_t AudioPortConfig::writeToParcel(Parcel *parcel) const in writeToParcel()
263 status_t AudioPortConfig::readFromParcel(const Parcel *parcel) in readFromParcel()
DDeviceDescriptorBase.cpp66 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
153 static_cast<const AudioPortConfig*>(this)->equals(other) && in equals()
161 if ((status = AudioPortConfig::writeToParcel(parcel)) != NO_ERROR) return status; in writeToParcel()
172 if ((status = AudioPortConfig::readFromParcel(parcel)) != NO_ERROR) return status; in readFromParcel()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioPort.h98 class AudioPortConfig : public virtual RefBase, public virtual Parcelable
101 virtual ~AudioPortConfig() = default;
118 bool equals(const sp<AudioPortConfig>& other) const;
DDeviceDescriptorBase.h33 class DeviceDescriptorBase : public AudioPort, public AudioPortConfig
/frameworks/av/media/libaudiofoundation/tests/
Daudiofoundation_parcelable_test.cpp49 class AudioPortConfigTestStub : public AudioPortConfig {
117 sp<AudioPortConfig> audioPortConfig = new AudioPortConfigTestStub(); in TEST()
122 sp<AudioPortConfig> audioPortConfigFromParcel = new AudioPortConfigTestStub(); in TEST()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java41 import android.media.AudioPortConfig;
950 AudioPortConfig sourceConfig = mAudioSource.activeConfig(); in updateAudioConfigLocked()
951 List<AudioPortConfig> sinkConfigs = new ArrayList<>(); in updateAudioConfigLocked()
956 AudioPortConfig sinkConfig = audioSink.activeConfig(); in updateAudioConfigLocked()
997 AudioPortConfig sinkConfig = sinkConfigs.get(0); in updateAudioConfigLocked()
1029 new AudioPortConfig[] { sourceConfig }, in updateAudioConfigLocked()
1030 sinkConfigs.toArray(new AudioPortConfig[sinkConfigs.size()])); in updateAudioConfigLocked()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioInputDescriptor.h37 class AudioInputDescriptor: public AudioPortConfig,
DAudioOutputDescriptor.h142 class AudioOutputDescriptor: public AudioPortConfig,
/frameworks/av/media/libaudiohal/impl/
DDeviceHalHidl.cpp338 hidl_vec<AudioPortConfig> hidlSources, hidlSinks; in createAudioPatch()
393 AudioPortConfig hidlConfig; in setAudioPortConfig()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp64 AudioPortConfig::applyAudioPortConfig(config, backupConfig); in applyAudioPortConfig()
85 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
DAudioOutputDescriptor.cpp184 AudioPortConfig::applyAudioPortConfig(config, backupConfig); in applyAudioPortConfig()
203 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
DDeviceDescriptor.cpp136 AudioPortConfig::applyAudioPortConfig(config, backupConfig); in applyAudioPortConfig()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3881 sp<AudioPortConfig> audioPortConfig; in setAudioPortConfig()
/frameworks/base/config/
Dboot-image-profile.txt12691 …ia/AudioDevicePort;->buildConfig(IIILandroid/media/AudioGainConfig;)Landroid/media/AudioPortConfig;
12805 …Manager;->updatePortConfig(Landroid/media/AudioPortConfig;Ljava/util/ArrayList;)Landroid/media/Aud…
12809 …media/AudioMixPort;->buildConfig(IIILandroid/media/AudioGainConfig;)Landroid/media/AudioPortConfig;
12811 …;-><init>(Landroid/media/AudioHandle;[Landroid/media/AudioPortConfig;[Landroid/media/AudioPortConf…
12812 HSPLandroid/media/AudioPatch;->sinks()[Landroid/media/AudioPortConfig;
12813 HSPLandroid/media/AudioPatch;->sources()[Landroid/media/AudioPortConfig;
12835 HSPLandroid/media/AudioPortConfig;-><init>(Landroid/media/AudioPort;IIILandroid/media/AudioGainConf…
12836 HSPLandroid/media/AudioPortConfig;->channelMask()I
12837 HSPLandroid/media/AudioPortConfig;->format()I
12838 HSPLandroid/media/AudioPortConfig;->gain()Landroid/media/AudioGainConfig;
[all …]
Dpreloaded-classes3638 android.media.AudioPortConfig