/frameworks/base/media/java/android/media/ |
D | AudioPatch.java | 37 private final AudioPortConfig[] mSources; 38 private final AudioPortConfig[] mSinks; 41 AudioPatch(AudioHandle patchHandle, AudioPortConfig[] sources, AudioPortConfig[] sinks) { in AudioPatch() 51 public AudioPortConfig[] sources() { in sources() 59 public AudioPortConfig[] sinks() { in sinks() 77 for (AudioPortConfig source : mSources) { in toString() 82 for (AudioPortConfig sink : mSinks) { in toString()
|
D | AudioPort.java | 93 private AudioPortConfig mActiveConfig; 252 public AudioPortConfig buildConfig(int samplingRate, int channelMask, int format, in buildConfig() 254 return new AudioPortConfig(this, samplingRate, channelMask, format, gain); in buildConfig() 260 public AudioPortConfig activeConfig() { in activeConfig()
|
D | AudioPortConfig.java | 35 public class AudioPortConfig { class 58 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, in AudioPortConfig() method in AudioPortConfig
|
D | HwAudioSource.java | 160 AudioPortConfig[] sources = patch.sources(); in getDeviceId() 161 AudioPortConfig[] sinks = patch.sinks(); in getDeviceId()
|
D | AudioMixPortConfig.java | 30 public class AudioMixPortConfig extends AudioPortConfig {
|
D | AudioDevicePortConfig.java | 31 public class AudioDevicePortConfig extends AudioPortConfig {
|
D | AudioSystem.java | 1958 AudioPortConfig[] sources, AudioPortConfig[] sinks); in createAudioPatch() 1964 public static native int setAudioPortConfig(AudioPortConfig config); in setAudioPortConfig() 1967 public static native int startAudioSource(AudioPortConfig config, in startAudioSource()
|
D | AudioRecordingConfiguration.java | 262 final AudioPortConfig[] sources = patch.sources(); in getAudioDevice()
|
/frameworks/av/media/libaudiohal/impl/ |
D | Hal2AidlMapper.h | 54 const std::vector<::aidl::android::media::audio::common::AudioPortConfig>& sources, 55 const std::vector<::aidl::android::media::audio::common::AudioPortConfig>& sinks, 59 ::aidl::android::media::audio::common::AudioPortConfig* portConfig); 86 ::aidl::android::media::audio::common::AudioPortConfig* mixPortConfig, 89 const ::aidl::android::media::audio::common::AudioPortConfig& requestedPortConfig, 91 ::aidl::android::media::audio::common::AudioPortConfig* portConfig, 123 ::aidl::android::media::audio::common::AudioPortConfig>; 144 const ::aidl::android::media::audio::common::AudioPortConfig& p); 148 const ::aidl::android::media::audio::common::AudioPortConfig& requestedPortConfig, 149 ::aidl::android::media::audio::common::AudioPortConfig* result, bool *created); [all …]
|
D | Hal2AidlMapper.cpp | 45 using aidl::android::media::audio::common::AudioPortConfig; 64 bool isConfigEqualToPortConfig(const AudioConfig& config, const AudioPortConfig& portConfig) { in isConfigEqualToPortConfig() 70 AudioConfig* setConfigFromPortConfig(AudioConfig* config, const AudioPortConfig& portConfig) { in setConfigFromPortConfig() 77 void setPortConfigFromConfig(AudioPortConfig* portConfig, const AudioConfig& config) { in setPortConfigFromConfig() 115 bool Hal2AidlMapper::audioDeviceMatches(const AudioDevice& device, const AudioPortConfig& p) { in audioDeviceMatches() 126 const std::vector<AudioPortConfig>& sources, in createOrUpdatePatch() 127 const std::vector<AudioPortConfig>& sinks, in createOrUpdatePatch() 144 const std::vector<AudioPortConfig>& configs, in createOrUpdatePatch() 148 AudioPortConfig portConfig; in createOrUpdatePatch() 189 const std::vector<AudioPortConfig>& devicePortConfigs = in createOrUpdatePatch() [all …]
|
D | DeviceHalAidl.cpp | 51 using aidl::android::media::audio::common::AudioPortConfig; 292 AudioPortConfig mixPortConfig; in getInputBufferSize() 447 AudioPortConfig mixPortConfig; in openOutputStream() 530 AudioPortConfig mixPortConfig; in openInputStream() 607 std::vector<AudioPortConfig> aidlSources, aidlSinks; in createAudioPatch() 748 AudioPortConfig requestedPortConfig = VALUE_OR_RETURN_STATUS( in setAudioPortConfig() 751 AudioPortConfig portConfig; in setAudioPortConfig() 821 AudioPortConfig devicePortConfig; in addDeviceEffect() 852 AudioPortConfig devicePortConfig; in removeDeviceEffect()
|
D | DeviceHalHidl.cpp | 418 hidl_vec<AudioPortConfig> hidlSources, hidlSinks; in createAudioPatch() 501 using ::android::hardware::audio::common::COMMON_TYPES_CPP_VERSION::AudioPortConfig; in setAudioPortConfig() 504 AudioPortConfig hidlConfig; in setAudioPortConfig()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | AudioPortConfigFw.aidl | 20 import android.media.audio.common.AudioPortConfig; 27 AudioPortConfig hal;
|
/frameworks/av/media/libaudiofoundation/tests/ |
D | audiofoundation_parcelable_test.cpp | 49 class AudioPortConfigTestStub : public AudioPortConfig { 131 sp<AudioPortConfig> audioPortConfig = new AudioPortConfigTestStub(); in TEST() 133 media::audio::common::AudioPortConfig parcelable{}; in TEST() 137 media::audio::common::AudioPortConfig parcelableFromParcel{}; in TEST() 139 sp<AudioPortConfig> audioPortConfigFromParcel = new AudioPortConfigTestStub(); in TEST()
|
/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioPort.h | 168 class AudioPortConfig : public virtual RefBase 171 virtual ~AudioPortConfig() = default; 189 bool equals(const sp<AudioPortConfig>& other, bool isInput) const; 192 media::audio::common::AudioPortConfig* parcelable, bool isInput) const; 194 const media::audio::common::AudioPortConfig& parcelable, bool isInput);
|
D | DeviceDescriptorBase.h | 34 class DeviceDescriptorBase : public AudioPort, public AudioPortConfig
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioPort.cpp | 287 status_t AudioPortConfig::applyAudioPortConfig( in applyAudioPortConfig() 331 void AudioPortConfig::toAudioPortConfig( in toAudioPortConfig() 364 bool AudioPortConfig::hasGainController(bool canUseForVolume) const in hasGainController() 374 bool AudioPortConfig::equals(const sp<AudioPortConfig> &other, bool isInput) const in equals() 391 status_t AudioPortConfig::writeToParcelable( in writeToParcelable() 392 media::audio::common::AudioPortConfig* parcelable, bool isInput) const { in writeToParcelable() 409 status_t AudioPortConfig::readFromParcelable( in readFromParcelable() 410 const media::audio::common::AudioPortConfig& parcelable, bool isInput) { in readFromParcelable()
|
D | DeviceDescriptorBase.cpp | 75 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig() 174 static_cast<const AudioPortConfig*>(this)->equals(other, useInputChannelMask()) && in equals() 195 AudioPortConfig::writeToParcelable(&parcelable->sys.activeConfig.hal, useInputChannelMask()); in writeToParcelable() 220 ?: AudioPortConfig::readFromParcelable( in readFromParcelable()
|
/frameworks/av/media/libaudioclient/aidl/fuzzer/libaudiomockhal/include/core-mock/ |
D | ModuleMock.h | 65 ndk::ScopedAStatus getAudioPortConfigs(std::vector<AudioPortConfig>*) override { in getAudioPortConfigs() argument 83 ndk::ScopedAStatus setAudioPortConfig(const AudioPortConfig&, AudioPortConfig*, in setAudioPortConfig() argument
|
/frameworks/av/media/libaudiohal/tests/ |
D | CoreAudioHalAidl_test.cpp | 52 using ::aidl::android::media::audio::common::AudioPortConfig; 92 std::vector<AudioPortConfig> portConfigs; 220 std::optional<AudioPortConfig> getPortConfig(int32_t id) { in getPortConfig() 221 auto iter = findById<AudioPortConfig>(mConfig.portConfigs, id); in getPortConfig() 311 std::vector<::aidl::android::media::audio::common::AudioPortConfig>* configs) override { in getAudioPortConfigs() 367 const ::aidl::android::media::audio::common::AudioPortConfig& requested, in setAudioPortConfig() 368 ::aidl::android::media::audio::common::AudioPortConfig* config, in setAudioPortConfig() 385 auto iter = findById<AudioPortConfig>(mConfig.portConfigs, src.id); in setAudioPortConfig() 404 auto iter = findById<AudioPortConfig>(mConfig.portConfigs, portConfigId); in resetAudioPortConfig() 987 AudioPortConfig mMixPortConfig; [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioInputDescriptor.h | 37 class AudioInputDescriptor: public AudioPortConfig, 147 audio_input_flags_t& mFlags = AudioPortConfig::mFlags.input;
|
D | AudioOutputDescriptor.h | 146 class AudioOutputDescriptor: public AudioPortConfig, 344 audio_output_flags_t& mFlags = AudioPortConfig::mFlags.output;
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputHardwareManager.java | 41 import android.media.AudioPortConfig; 1141 AudioPortConfig sourceConfig = mAudioSource.activeConfig(); in updateAudioConfigLocked() 1142 List<AudioPortConfig> sinkConfigs = new ArrayList<>(); in updateAudioConfigLocked() 1147 AudioPortConfig sinkConfig = audioSink.activeConfig(); in updateAudioConfigLocked() 1188 AudioPortConfig sinkConfig = sinkConfigs.get(0); in updateAudioConfigLocked() 1223 new AudioPortConfig[] { sourceConfig }, in updateAudioConfigLocked() 1224 sinkConfigs.toArray(new AudioPortConfig[sinkConfigs.size()])); in updateAudioConfigLocked()
|
/frameworks/av/media/audioaidlconversion/include/media/ |
D | AidlConversionCppNdk-impl.h | 62 #include PREFIX(android/media/audio/common/AudioPortConfig.h) 315 const media::audio::common::AudioPortConfig& aidl, bool isInput, 317 ConversionResult<media::audio::common::AudioPortConfig>
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioInputDescriptor.cpp | 67 AudioPortConfig::applyAudioPortConfig(config, backupConfig); in applyAudioPortConfig() 86 AudioPortConfig::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
|