Home
last modified time | relevance | path

Searched refs:AudioGain (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/media/libaudiofoundation/
DAudioGain.cpp37 AudioGain::AudioGain(int index, bool isInput) in AudioGain() function in android::AudioGain
40 void AudioGain::getDefaultConfig(struct audio_gain_config *config) in getDefaultConfig()
60 status_t AudioGain::checkConfig(const struct audio_gain_config *config) in checkConfig()
93 void AudioGain::dump(std::string *dst, int spaces, int index) const in dump()
106 bool AudioGain::equals(const sp<AudioGain>& other) const in equals()
122 ConversionResult<AudioGain::Aidl> AudioGain::toParcelable() const { in toParcelable()
123 media::audio::common::AudioGain aidl = VALUE_OR_RETURN( in toParcelable()
132 ConversionResult<sp<AudioGain>> AudioGain::fromParcelable(const AudioGain::Aidl& aidl) { in fromParcelable()
133 const media::audio::common::AudioGain& hal = aidl.first; in fromParcelable()
136 sp<AudioGain> legacy = sp<AudioGain>::make(index, sys.isInput); in fromParcelable()
[all …]
DAndroid.bp55 "AudioGain.cpp",
/frameworks/av/media/libaudiofoundation/include/media/
DAudioGain.h31 class AudioGain: public RefBase
34 AudioGain(int index, bool isInput);
35 virtual ~AudioGain() = default;
72 bool equals(const sp<AudioGain>& other) const;
74 using Aidl = std::pair<media::audio::common::AudioGain, media::AudioGainSys>;
76 static ConversionResult<sp<AudioGain>> fromParcelable(const Aidl& aidl);
86 ConversionResult<sp<AudioGain>>
87 aidl2legacy_AudioGain(const AudioGain::Aidl& aidl);
88 ConversionResult<AudioGain::Aidl>
89 legacy2aidl_AudioGain(const sp<AudioGain>& legacy);
[all …]
/frameworks/base/media/java/android/media/
DAudioPort.java91 private final AudioGain[] mGains;
98 int[] formats, AudioGain[] gains) { in AudioPort()
119 List<AudioProfile> profiles, AudioGain[] gains, in AudioPort()
228 public AudioGain[] gains() { in gains()
235 AudioGain gain(int index) { in gain()
DAudioGainConfig.java30 AudioGain mGain;
43 AudioGainConfig(int index, AudioGain gain, int mode, int channelMask, in AudioGainConfig()
DAudioGain.java44 public class AudioGain { class
76 AudioGain(int index, int mode, int channelMask, in AudioGain() method in AudioGain
DAudioMixPort.java41 int[] formats, AudioGain[] gains) { in AudioMixPort()
48 List<AudioProfile> profiles, AudioGain[] gains) { in AudioMixPort()
DAudioDevicePort.java71 int[] formats, AudioGain[] gains, int type, String address, int[] encapsulationModes, in AudioDevicePort()
84 AudioGain[] gains, int type, String address, int[] encapsulationModes, in AudioDevicePort()
DAudioManager.java7806 AudioGain gain = port.gain(gainCfg.index()); in updatePortConfig()
/frameworks/av/media/libaudiofoundation/tests/
Daudiofoundation_parcelable_test.cpp56 sp<AudioGain> audioGain = new AudioGain(0 /*index*/, false /*isInput*/); in getAudioGainsForTest()
97 sp<AudioGain> audioGain = getAudioGainsForTest()[0]; in TEST()
/frameworks/av/media/audioaidlconversion/include/media/
DAidlConversionCppNdk-impl.h52 #include PREFIX(android/media/audio/common/AudioGain.h)
268 aidl2legacy_AudioGain_audio_gain(const media::audio::common::AudioGain& aidl, bool isInput);
269 ConversionResult<media::audio::common::AudioGain>
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java36 import android.media.AudioGain;
1115 AudioGain sourceGain = null; in updateAudioConfigLocked()
1116 for (AudioGain gain : mAudioSource.gains()) { in updateAudioConfigLocked()
1117 if ((gain.mode() & AudioGain.MODE_JOINT) != 0) { in updateAudioConfigLocked()
1134 sourceGainConfig = sourceGain.buildConfig(AudioGain.MODE_JOINT, in updateAudioConfigLocked()
/frameworks/av/media/libaudioclient/tests/
Daudio_aidl_legacy_conversion_tests.cpp43 using media::audio::common::AudioGain;
590 AudioGain initialGain; in TEST_P()
765 INSTANTIATE_TEST_SUITE_P(AudioGain, AudioGainTest, testing::Values(true, false));
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSerializer.cpp71 struct AudioGainTraits : public AndroidCollectionTraits<AudioGain, AudioGains>
357 AudioGainTraits::Element gain = new AudioGain(index++, true); in deserialize()
/frameworks/av/media/audioaidlconversion/
DAidlConversionCppNdk.cpp69 using media::audio::common::AudioGain;
2587 [isInput](const AudioGain& g) { in aidl2legacy_AudioPort_audio_port_v7()
2716 aidl2legacy_AudioGain_audio_gain(const AudioGain& aidl, bool isInput) { in aidl2legacy_AudioGain_audio_gain()
2730 ConversionResult<AudioGain>
2732 AudioGain aidl; in legacy2aidl_audio_gain_AudioGain()
/frameworks/base/media/java/android/media/audio/common/
DAidlConversion.java540 port.gains = new AudioGain[]{}; in api2aidl_AudioDeviceAttributes_AudioPort()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp47 using media::audio::common::AudioGain;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt24135 Landroid/media/AudioGain;->buildConfig(II[II)Landroid/media/AudioGainConfig;
24136 Landroid/media/AudioGain;->channelMask()I
24137 Landroid/media/AudioGain;->defaultValue()I
24138 Landroid/media/AudioGain;->maxValue()I
24139 Landroid/media/AudioGain;->mChannelMask:I
24140 Landroid/media/AudioGain;->mDefaultValue:I
24141 Landroid/media/AudioGain;->mIndex:I
24142 Landroid/media/AudioGain;->minValue()I
24143 Landroid/media/AudioGain;->mMaxValue:I
24144 Landroid/media/AudioGain;->mMinValue:I
[all …]
/frameworks/base/boot/
Dboot-image-profile.txt10525 …oid/media/AudioHandle;Ljava/lang/String;Ljava/util/List;[Landroid/media/AudioGain;ILjava/lang/Stri…
10526 …t>(Landroid/media/AudioHandle;Ljava/lang/String;[I[I[I[I[Landroid/media/AudioGain;ILjava/lang/Stri…
10633 …><init>(Landroid/media/AudioHandle;IILjava/lang/String;Ljava/util/List;[Landroid/media/AudioGain;)V
10634 …ixPort;-><init>(Landroid/media/AudioHandle;IILjava/lang/String;[I[I[I[I[Landroid/media/AudioGain;)V
10645 …id/media/AudioHandle;ILjava/lang/String;Ljava/util/List;[Landroid/media/AudioGain;Ljava/util/List;…
10646 …dioPort;-><init>(Landroid/media/AudioHandle;ILjava/lang/String;[I[I[I[I[Landroid/media/AudioGain;)V
27364 Landroid/media/AudioGain;
36761 [Landroid/media/AudioGain;
Dpreloaded-classes4977 android.media.AudioGain
14314 [Landroid.media.AudioGain;
/frameworks/base/config/
Dpreloaded-classes4981 android.media.AudioGain
17337 [Landroid.media.AudioGain;
Dboot-image-profile.txt10528 …oid/media/AudioHandle;Ljava/lang/String;Ljava/util/List;[Landroid/media/AudioGain;ILjava/lang/Stri…
10529 …t>(Landroid/media/AudioHandle;Ljava/lang/String;[I[I[I[I[Landroid/media/AudioGain;ILjava/lang/Stri…
10636 …><init>(Landroid/media/AudioHandle;IILjava/lang/String;Ljava/util/List;[Landroid/media/AudioGain;)V
10637 …ixPort;-><init>(Landroid/media/AudioHandle;IILjava/lang/String;[I[I[I[I[Landroid/media/AudioGain;)V
10648 …id/media/AudioHandle;ILjava/lang/String;Ljava/util/List;[Landroid/media/AudioGain;Ljava/util/List;…
10649 …dioPort;-><init>(Landroid/media/AudioHandle;ILjava/lang/String;[I[I[I[I[Landroid/media/AudioGain;)V
37498 Landroid/media/AudioGain;
49928 [Landroid/media/AudioGain;