Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp201 const ChannelsVector &channelMasks) const in pickChannelMask()
209 for (size_t i = 0; i < channelMasks.size(); i ++) { in pickChannelMask()
212 cnlCount = audio_channel_count_from_in_mask(channelMasks[i]); in pickChannelMask()
214 cnlCount = audio_channel_count_from_out_mask(channelMasks[i]); in pickChannelMask()
217 pickedChannelMask = channelMasks[i]; in pickChannelMask()
230 for (size_t i = 0; i < channelMasks.size(); i ++) { in pickChannelMask()
233 cnlCount = audio_channel_count_from_in_mask(channelMasks[i]); in pickChannelMask()
235 cnlCount = audio_channel_count_from_out_mask(channelMasks[i]); in pickChannelMask()
238 pickedChannelMask = channelMasks[i]; in pickChannelMask()
DAudioProfile.cpp82 audio_channel_mask_t channelMasks, in AudioProfile() argument
87 mChannelMasks.add(channelMasks); in AudioProfile()
92 const ChannelsVector &channelMasks, in AudioProfile() argument
96 mChannelMasks(channelMasks), in AudioProfile()
99 void AudioProfile::setChannels(const ChannelsVector &channelMasks) in setChannels() argument
102 mChannelMasks = channelMasks; in setChannels()
595 void AudioProfileVector::setChannelsFor(const ChannelsVector &channelMasks, audio_format_t format) in setChannelsFor() argument
602 sp<AudioProfile> profileToAdd = new AudioProfile(format, channelMasks, in setChannelsFor()
607 profile->setChannels(channelMasks); in setChannelsFor()
DSerializer.cpp107 static constexpr const char *channelMasks = "channelMasks"; member
402 std::string channels = getXmlAttribute(cur, Attributes::channelMasks); in deserialize()
/frameworks/base/media/java/android/media/
DAudioPort.java87 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioPort() argument
94 mChannelMasks = channelMasks; in AudioPort()
142 public int[] channelMasks() { in channelMasks() method in AudioPort
DAudioMixPort.java37 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioMixPort() argument
39 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks, in AudioMixPort()
DAudioDevicePort.java42 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioDevicePort() argument
47 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
DAudioDeviceInfo.java268 return mPort.channelMasks(); in getChannelMasks()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h73 AudioProfile(audio_format_t format, audio_channel_mask_t channelMasks, uint32_t samplingRate);
75 const ChannelsVector &channelMasks,
81 void setChannels(const ChannelsVector &channelMasks);
173 void setChannelsFor(const ChannelsVector &channelMasks, audio_format_t format);
DAudioPort.h146 … void pickChannelMask(audio_channel_mask_t &channelMask, const ChannelsVector &channelMasks) const;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp6085 ChannelsVector &channelMasks = *channelMasksPtr; in modifySurroundChannelMasks() local
6091 for (size_t maskIndex = 0; maskIndex < channelMasks.size(); ) { in modifySurroundChannelMasks()
6092 audio_channel_mask_t channelMask = channelMasks[maskIndex]; in modifySurroundChannelMasks()
6095 channelMasks.removeAt(maskIndex); in modifySurroundChannelMasks()
6105 for (audio_channel_mask_t channelMask : channelMasks) { in modifySurroundChannelMasks()
6113 channelMasks.add(AUDIO_CHANNEL_OUT_5POINT1); in modifySurroundChannelMasks()
6146 ChannelsVector channelMasks; in updateAudioProfiles() local
6171 channelMasks = channelMasksFromString(reply.string()); in updateAudioProfiles()
6174 modifySurroundChannelMasks(&channelMasks); in updateAudioProfiles()
6178 profiles.addProfileFromHal(new AudioProfile(format, channelMasks, samplingRates)); in updateAudioProfiles()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java956 if (!intArrayContains(audioSink.channelMasks(), sinkChannelMask)) { in updateAudioConfigLocked()
980 for (int inChannelMask : mAudioSource.channelMasks()) { in updateAudioConfigLocked()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioDeviceInventory.java937 for (int mask : devicePort.channelMasks()) { in configureHdmiPlugIntent()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt37165 Landroid/media/AudioPort;->channelMasks()[I