Searched refs:AudioPortConfig (Results 1 – 23 of 23) sorted by relevance
36 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()
83 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()
34 public class AudioPortConfig { class57 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, in AudioPortConfig() method in AudioPortConfig
29 public class AudioMixPortConfig extends AudioPortConfig {
30 public class AudioDevicePortConfig extends AudioPortConfig {
1542 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()
5274 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()
261 final AudioPortConfig[] sources = patch.sources(); in getAudioDevice()
150 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()
66 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()
98 class AudioPortConfig : public virtual RefBase, public virtual Parcelable101 virtual ~AudioPortConfig() = default;118 bool equals(const sp<AudioPortConfig>& other) const;
33 class DeviceDescriptorBase : public AudioPort, public AudioPortConfig
49 class AudioPortConfigTestStub : public AudioPortConfig {117 sp<AudioPortConfig> audioPortConfig = new AudioPortConfigTestStub(); in TEST()122 sp<AudioPortConfig> audioPortConfigFromParcel = new AudioPortConfigTestStub(); in TEST()
41 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()
37 class AudioInputDescriptor: public AudioPortConfig,
142 class AudioOutputDescriptor: public AudioPortConfig,
338 hidl_vec<AudioPortConfig> hidlSources, hidlSinks; in createAudioPatch()393 AudioPortConfig hidlConfig; in setAudioPortConfig()
64 AudioPortConfig::applyAudioPortConfig(config, backupConfig); in applyAudioPortConfig()85 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
184 AudioPortConfig::applyAudioPortConfig(config, backupConfig); in applyAudioPortConfig()203 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
136 AudioPortConfig::applyAudioPortConfig(config, backupConfig); in applyAudioPortConfig()
3881 sp<AudioPortConfig> audioPortConfig; in setAudioPortConfig()
12691 …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()I12837 HSPLandroid/media/AudioPortConfig;->format()I12838 HSPLandroid/media/AudioPortConfig;->gain()Landroid/media/AudioGainConfig;[all …]
3638 android.media.AudioPortConfig