Home
last modified time | relevance | path

Searched refs:mChannelMasks (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfile.cpp103 if (mChannelMasks.isEmpty()) { in checkCompatibleChannelMask()
111 for (size_t i = 0; i < mChannelMasks.size(); i ++) { in checkCompatibleChannelMask()
112 audio_channel_mask_t supported = mChannelMasks[i]; in checkCompatibleChannelMask()
215 if (!mChannelMasks.isEmpty()) { in dump()
218 for (size_t i = 0; i < mChannelMasks.size(); i++) { in dump()
219 snprintf(buffer, SIZE, "0x%04x", mChannelMasks[i]); in dump()
221 result.append(i == (mChannelMasks.size() - 1) ? "" : ", "); in dump()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h45 mChannelMasks.add(channelMasks); in AudioProfile()
54 mChannelMasks(channelMasks), in AudioProfile()
63 mChannelMasks = channelMasks; in setChannels()
66 const ChannelsVector &getChannels() const { return mChannelMasks; } in getChannels()
81 mChannelMasks.clear(); in clear()
90 return mChannelMasks.indexOf(channels) >= 0; in supportsChannels()
109 bool hasValidChannels() const { return !mChannelMasks.isEmpty(); } in hasValidChannels()
127 ChannelsVector mChannelMasks; variable
/frameworks/base/media/java/android/media/
DAudioPort.java73 private final int[] mChannelMasks; field in AudioPort
87 mChannelMasks = channelMasks; in AudioPort()
134 return mChannelMasks; in channelMasks()