Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h40 audio_channel_mask_t channelMasks, in AudioProfile() argument
45 mChannelMasks.add(channelMasks); in AudioProfile()
50 const ChannelsVector &channelMasks, in AudioProfile() argument
54 mChannelMasks(channelMasks), in AudioProfile()
60 void setChannels(const ChannelsVector &channelMasks) in setChannels() argument
63 mChannelMasks = channelMasks; in setChannels()
318 void setChannelsFor(const ChannelsVector &channelMasks, audio_format_t format) in setChannelsFor() argument
325 sp<AudioProfile> profileToAdd = new AudioProfile(format, channelMasks, in setChannelsFor()
330 profile->setChannels(channelMasks); in setChannelsFor()
DSerializer.h73 static const char channelMasks[]; member
DAudioPort.h142 … void pickChannelMask(audio_channel_mask_t &channelMask, const ChannelsVector &channelMasks) const;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp195 const ChannelsVector &channelMasks) const in pickChannelMask()
203 for (size_t i = 0; i < channelMasks.size(); i ++) { in pickChannelMask()
206 cnlCount = audio_channel_count_from_in_mask(channelMasks[i]); in pickChannelMask()
208 cnlCount = audio_channel_count_from_out_mask(channelMasks[i]); in pickChannelMask()
211 pickedChannelMask = channelMasks[i]; in pickChannelMask()
224 for (size_t i = 0; i < channelMasks.size(); i ++) { in pickChannelMask()
227 cnlCount = audio_channel_count_from_in_mask(channelMasks[i]); in pickChannelMask()
229 cnlCount = audio_channel_count_from_out_mask(channelMasks[i]); in pickChannelMask()
232 pickedChannelMask = channelMasks[i]; in pickChannelMask()
DSerializer.cpp193 const char AudioProfileTraits::Attributes::channelMasks[] = "channelMasks"; member in android::AudioProfileTraits::Attributes
200 string channels = getXmlAttribute(root, Attributes::channelMasks); in deserialize()
/frameworks/base/media/java/android/media/
DAudioPort.java80 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioPort() argument
87 mChannelMasks = channelMasks; in AudioPort()
133 public int[] channelMasks() { in channelMasks() method in AudioPort
DAudioMixPort.java34 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioMixPort() argument
36 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks, in AudioMixPort()
DAudioDevicePort.java40 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioDevicePort() argument
45 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
DAudioDeviceInfo.java268 return mPort.channelMasks(); in getChannelMasks()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp6056 ChannelsVector &channelMasks = *channelMasksPtr; in loadConfig() local
6062 for (size_t maskIndex = 0; maskIndex < channelMasks.size(); ) { in loadConfig()
6063 audio_channel_mask_t channelMask = channelMasks[maskIndex]; in loadConfig()
6066 channelMasks.removeAt(maskIndex); in loadConfig()
6076 for (audio_channel_mask_t channelMask : channelMasks) { in loadConfig()
6084 channelMasks.add(AUDIO_CHANNEL_OUT_5POINT1); in loadConfig()
6115 ChannelsVector channelMasks; in loadConfig() local
6140 channelMasks = channelMasksFromString(reply.string()); in loadConfig()
6142 filterSurroundChannelMasks(&channelMasks); in loadConfig()
6146 profiles.addProfileFromHal(new AudioProfile(format, channelMasks, samplingRates)); in loadConfig()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java959 if (!intArrayContains(audioSink.channelMasks(), sinkChannelMask)) { in updateAudioConfigLocked()
983 for (int inChannelMask : mAudioSource.channelMasks()) { in updateAudioConfigLocked()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java6403 for (int mask : devicePort.channelMasks()) { in configureHdmiPlugIntent()
/frameworks/base/config/
Dboot-image-profile.txt24692 HSPLandroid/media/AudioPort;->channelMasks()[I