/frameworks/av/media/libaudiofoundation/ |
D | AudioProfile.cpp | 49 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 …]
|
D | AudioPort.cpp | 112 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/ |
D | AudioPort.java | 97 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
|
D | AudioMixPort.java | 40 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioMixPort() argument 42 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks, in AudioMixPort()
|
D | AudioProfile.java | 60 AudioProfile(int format, @NonNull int[] samplingRates, @NonNull int[] channelMasks, in AudioProfile() argument 65 mChannelMasks = channelMasks; in AudioProfile()
|
D | AudioDevicePort.java | 48 int[] samplingRates, int[] channelMasks, int[] channelIndexMasks, in AudioDevicePort() argument 54 deviceName, samplingRates, channelMasks, channelIndexMasks, formats, gains); in AudioDevicePort()
|
D | AudioDeviceInfo.java | 459 return mPort.channelMasks(); in getChannelMasks()
|
/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioContainers.h | 62 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()
|
D | AudioProfile.h | 37 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/ |
D | PolicyAudioPort.cpp | 119 const ChannelMaskSet &channelMasks) const in pickChannelMask() 127 for (const auto channelMask : channelMasks) { in pickChannelMask() 148 for (const auto channelMask : channelMasks) { in pickChannelMask()
|
D | AudioProfileVectorHelper.cpp | 221 const ChannelMaskSet channelMasks = audioProfile->getChannels(); in checkCompatibleChannelMask() local 222 if (channelMasks.empty()) { in checkCompatibleChannelMask() 231 for (const auto &supported : channelMasks) { in checkCompatibleChannelMask()
|
D | Serializer.cpp | 109 static constexpr const char *channelMasks = "channelMasks"; member 428 std::string channels = getXmlAttribute(cur, Attributes::channelMasks); in deserialize()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | AudioProfile.aidl | 30 int[] channelMasks;
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | PolicyAudioPort.h | 129 const ChannelMaskSet &channelMasks) const;
|
/frameworks/av/media/libaudioclient/ |
D | AidlConversion.cpp | 1914 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/ |
D | AudioPolicyManager.cpp | 6798 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/ |
D | TvInputHardwareManager.java | 1010 if (!intArrayContains(audioSink.channelMasks(), sinkChannelMask)) { in updateAudioConfigLocked() 1034 for (int inChannelMask : mAudioSource.channelMasks()) { in updateAudioConfigLocked()
|
/frameworks/av/services/audioflinger/ |
D | AudioFlinger.cpp | 1693 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/ |
D | AudioDeviceInventory.java | 1360 for (int mask : devicePort.channelMasks()) { in configureHdmiPlugIntent()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 27431 Landroid/media/AudioPort;->channelMasks()[I
|