Home
last modified time | relevance | path

Searched refs:channelMasks (Results 1 – 20 of 20) sorted by relevance

/frameworks/av/media/libaudiofoundation/
DAudioProfile.cpp49 audio_channel_mask_t channelMasks, in AudioProfile() argument
54 mChannelMasks.insert(channelMasks); in AudioProfile()
59 const ChannelMaskSet &channelMasks, in AudioProfile() argument
61 AudioProfile(format, channelMasks, samplingRateCollection, in AudioProfile()
65 const ChannelMaskSet &channelMasks, in AudioProfile() argument
70 mChannelMasks(channelMasks), in AudioProfile()
74 void AudioProfile::setChannels(const ChannelMaskSet &channelMasks) in setChannels() argument
77 mChannelMasks = channelMasks; in setChannels()
167 parcelable.channelMasks = VALUE_OR_RETURN( in toParcelable()
196 convertContainer<ChannelMaskSet>(parcelable.channelMasks, in fromParcelable()
[all …]
DAudioPort.cpp112 const ChannelMaskSet &channelMasks = profile->getChannels(); in toAudioPort() local
115 channelMasks.size() > AUDIO_PORT_MAX_CHANNEL_MASKS || in toAudioPort()
126 dstProfile.num_channel_masks = channelMasks.size(); in toAudioPort()
127 std::copy(channelMasks.begin(), channelMasks.end(), in toAudioPort()
/frameworks/base/media/java/android/media/
DAudioPort.java97 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioPort() argument
103 mChannelMasks = channelMasks; in AudioPort()
111 format, samplingRates, channelMasks, channelIndexMasks, in AudioPort()
129 Set<Integer> channelMasks = new HashSet<>(); in AudioPort() local
135 channelMasks.addAll(Arrays.stream(profile.getChannelMasks()).boxed() in AudioPort()
141 mChannelMasks = channelMasks.stream().mapToInt(Number::intValue).toArray(); in AudioPort()
188 public int[] channelMasks() { in channelMasks() method in AudioPort
DAudioMixPort.java40 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioMixPort() argument
42 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks, in AudioMixPort()
DAudioProfile.java60 AudioProfile(int format, @NonNull int[] samplingRates, @NonNull int[] channelMasks, in AudioProfile() argument
65 mChannelMasks = channelMasks; in AudioProfile()
DAudioDevicePort.java48 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioDevicePort() argument
54 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
DAudioDeviceInfo.java459 return mPort.channelMasks(); in getChannelMasks()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioContainers.h62 static inline ChannelMaskSet asInMask(const ChannelMaskSet& channelMasks) { in asInMask() argument
64 for (const auto &channel : channelMasks) { in asInMask()
72 static inline ChannelMaskSet asOutMask(const ChannelMaskSet& channelMasks) { in asOutMask() argument
74 for (const auto &channel : channelMasks) { in asOutMask()
DAudioProfile.h37 AudioProfile(audio_format_t format, audio_channel_mask_t channelMasks, uint32_t samplingRate);
39 const ChannelMaskSet &channelMasks,
42 const ChannelMaskSet &channelMasks,
49 void setChannels(const ChannelMaskSet &channelMasks);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DPolicyAudioPort.cpp119 const ChannelMaskSet &channelMasks) const in pickChannelMask()
127 for (const auto channelMask : channelMasks) { in pickChannelMask()
148 for (const auto channelMask : channelMasks) { in pickChannelMask()
DAudioProfileVectorHelper.cpp221 const ChannelMaskSet channelMasks = audioProfile->getChannels(); in checkCompatibleChannelMask() local
222 if (channelMasks.empty()) { in checkCompatibleChannelMask()
231 for (const auto &supported : channelMasks) { in checkCompatibleChannelMask()
DSerializer.cpp109 static constexpr const char *channelMasks = "channelMasks"; member
428 std::string channels = getXmlAttribute(cur, Attributes::channelMasks); in deserialize()
/frameworks/av/media/libaudioclient/aidl/android/media/
DAudioProfile.aidl30 int[] channelMasks;
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DPolicyAudioPort.h129 const ChannelMaskSet &channelMasks) const;
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp1914 if (aidl.channelMasks.size() > std::size(legacy.channel_masks)) { in aidl2legacy_AudioProfile_audio_profile()
1918 convertRange(aidl.channelMasks.begin(), aidl.channelMasks.end(), legacy.channel_masks, in aidl2legacy_AudioProfile_audio_profile()
1920 legacy.num_channel_masks = aidl.channelMasks.size(); in aidl2legacy_AudioProfile_audio_profile()
1945 std::back_inserter(aidl.channelMasks), in legacy2aidl_audio_profile_AudioProfile()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp6798 ChannelMaskSet &channelMasks = *channelMasksPtr; in modifySurroundChannelMasks() local
6804 for (auto it = channelMasks.begin(); it != channelMasks.end();) { in modifySurroundChannelMasks()
6808 it = channelMasks.erase(it); in modifySurroundChannelMasks()
6818 for (audio_channel_mask_t channelMask : channelMasks) { in modifySurroundChannelMasks()
6826 channelMasks.insert(AUDIO_CHANNEL_OUT_5POINT1); in modifySurroundChannelMasks()
6860 ChannelMaskSet channelMasks; in updateAudioProfiles() local
6885 channelMasks = channelMasksFromString(reply.string()); in updateAudioProfiles()
6888 modifySurroundChannelMasks(&channelMasks); in updateAudioProfiles()
6893 profiles, new AudioProfile(format, channelMasks, samplingRates)); in updateAudioProfiles()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java1010 if (!intArrayContains(audioSink.channelMasks(), sinkChannelMask)) { in updateAudioConfigLocked()
1034 for (int inChannelMask : mAudioSource.channelMasks()) { in updateAudioConfigLocked()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1693 std::vector<audio_channel_mask_t> channelMasks = {channelMask}; in getInputBufferSize() local
1695 channelMasks.push_back(AUDIO_CHANNEL_IN_MONO); in getInputBufferSize()
1697 channelMasks.push_back(AUDIO_CHANNEL_IN_STEREO); in getInputBufferSize()
1717 for (auto testChannelMask : channelMasks) { in getInputBufferSize()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java1360 for (int mask : devicePort.channelMasks()) { in configureHdmiPlugIntent()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt27431 Landroid/media/AudioPort;->channelMasks()[I