Home
last modified time | relevance | path

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

/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()
DAudioDevicePort.java48 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioDevicePort() argument
54 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
DAudioProfile.java75 public AudioProfile(int format, @NonNull int[] samplingRates, @NonNull int[] channelMasks, in AudioProfile() argument
79 mChannelMasks = channelMasks; in AudioProfile()
DAudioDeviceInfo.java467 return mPort.channelMasks(); in getChannelMasks()
/frameworks/av/media/libaudiofoundation/
DAudioProfile.cpp51 audio_channel_mask_t channelMasks, in AudioProfile() argument
56 mChannelMasks.insert(channelMasks); in AudioProfile()
61 const ChannelMaskSet &channelMasks, in AudioProfile() argument
63 AudioProfile(format, channelMasks, samplingRateCollection, in AudioProfile()
67 const ChannelMaskSet &channelMasks, in AudioProfile() argument
72 mChannelMasks(channelMasks), in AudioProfile()
76 void AudioProfile::setChannels(const ChannelMaskSet &channelMasks) in setChannels() argument
79 mChannelMasks = channelMasks; in setChannels()
186 parcelable.channelMasks = VALUE_OR_RETURN( in toCommonParcelable()
207 convertContainer<ChannelMaskSet>(aidl.channelMasks, in fromCommonParcelable()
[all …]
DAudioPort.cpp127 const ChannelMaskSet &channelMasks = profile->getChannels(); in toAudioPort() local
130 channelMasks.size() > AUDIO_PORT_MAX_CHANNEL_MASKS || in toAudioPort()
141 dstProfile.num_channel_masks = channelMasks.size(); in toAudioPort()
142 std::copy(channelMasks.begin(), channelMasks.end(), in toAudioPort()
/frameworks/av/media/libaudiofoundation/include/media/
DAudioContainers.h64 static inline ChannelMaskSet asInMask(const ChannelMaskSet& channelMasks) { in asInMask() argument
66 for (const auto &channel : channelMasks) { in asInMask()
74 static inline ChannelMaskSet asOutMask(const ChannelMaskSet& channelMasks) { in asOutMask() argument
76 for (const auto &channel : channelMasks) { in asOutMask()
DAudioProfile.h36 AudioProfile(audio_format_t format, audio_channel_mask_t channelMasks, uint32_t samplingRate);
38 const ChannelMaskSet &channelMasks,
41 const ChannelMaskSet &channelMasks,
48 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
429 std::string channels = getXmlAttribute(cur, Attributes::channelMasks); in deserialize()
/frameworks/base/media/aidl/android/media/audio/common/
DAudioProfile.aidl40 AudioChannelLayout[] channelMasks;
/frameworks/base/media/aidl_api/android.media.audio.common.types/1/android/media/audio/common/
DAudioProfile.aidl40 android.media.audio.common.AudioChannelLayout[] channelMasks;
/frameworks/base/media/aidl_api/android.media.audio.common.types/current/android/media/audio/common/
DAudioProfile.aidl40 android.media.audio.common.AudioChannelLayout[] channelMasks;
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DPolicyAudioPort.h100 const ChannelMaskSet &channelMasks) const;
/frameworks/av/services/audiopolicy/service/
DSpatializer.cpp359 std::vector<audio_channel_mask_t> channelMasks; in loadEngineConfiguration() local
361 &channelMasks); in loadEngineConfiguration()
366 for (const auto channelMask : channelMasks) { in loadEngineConfiguration()
/frameworks/av/services/mediametrics/
DAudioAnalytics.cpp1581 std::string channelMasks; in onEvent() local
1582 (void)item->get(AMEDIAMETRICS_PROP_CHANNELMASKS, &channelMasks); in onEvent()
1588 << " channelMasks:" << channelMasks in onEvent()
1598 types::channelMaskVectorFromString(channelMasks); in onEvent()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java1037 if (!intArrayContains(audioSink.channelMasks(), sinkChannelMask)) { in updateAudioConfigLocked()
1061 for (int inChannelMask : mAudioSource.channelMasks()) { in updateAudioConfigLocked()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp7626 ChannelMaskSet &channelMasks = *channelMasksPtr; in modifySurroundChannelMasks() local
7632 for (auto it = channelMasks.begin(); it != channelMasks.end();) { in modifySurroundChannelMasks()
7636 it = channelMasks.erase(it); in modifySurroundChannelMasks()
7646 for (audio_channel_mask_t channelMask : channelMasks) { in modifySurroundChannelMasks()
7654 channelMasks.insert(AUDIO_CHANNEL_OUT_5POINT1); in modifySurroundChannelMasks()
7688 ChannelMaskSet channelMasks; in updateAudioProfiles() local
7713 channelMasks = channelMasksFromString(reply.string()); in updateAudioProfiles()
7716 modifySurroundChannelMasks(&channelMasks); in updateAudioProfiles()
7721 profiles, new AudioProfile(format, channelMasks, samplingRates)); in updateAudioProfiles()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp2876 if (aidl.channelMasks.size() > std::size(legacy.channel_masks)) { in aidl2legacy_AudioProfile_audio_profile()
2880 convertRange(aidl.channelMasks.begin(), aidl.channelMasks.end(), legacy.channel_masks, in aidl2legacy_AudioProfile_audio_profile()
2884 legacy.num_channel_masks = aidl.channelMasks.size(); in aidl2legacy_AudioProfile_audio_profile()
2909 std::back_inserter(aidl.channelMasks), in legacy2aidl_audio_profile_AudioProfile()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1941 std::vector<audio_channel_mask_t> channelMasks = {channelMask}; in getInputBufferSize() local
1943 channelMasks.push_back(AUDIO_CHANNEL_IN_MONO); in getInputBufferSize()
1945 channelMasks.push_back(AUDIO_CHANNEL_IN_STEREO); in getInputBufferSize()
1965 for (auto testChannelMask : channelMasks) { in getInputBufferSize()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java1523 for (int mask : devicePort.channelMasks()) { in configureHdmiPlugIntent()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt24553 Landroid/media/AudioPort;->channelMasks()[I