Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPort.cpp87 for (i = 0; i < mChannelMasks.size() && i < AUDIO_PORT_MAX_CHANNEL_MASKS; i++) { in toAudioPort()
88 if (mChannelMasks[i] != 0) { in toAudioPort()
89 port->channel_masks[i] = mChannelMasks[i]; in toAudioPort()
124 for (size_t k = 0 ; k < port->mChannelMasks.size() ; k++) { in importAudioPort()
125 const audio_channel_mask_t mask = port->mChannelMasks.itemAt(k); in importAudioPort()
128 for (size_t l = 0 ; l < mChannelMasks.size() ; l++) { in importAudioPort()
129 if (mask == mChannelMasks.itemAt(l)) { in importAudioPort()
135 mChannelMasks.add(mask); in importAudioPort()
157 mChannelMasks.clear(); in clearCapabilities()
218 mChannelMasks.add(0); in loadInChannels()
[all …]
DHwModule.cpp72 ALOGW_IF(profile->mChannelMasks.size() == 0, in loadInput()
79 (profile->mChannelMasks.size() != 0) && in loadInput()
119 ALOGW_IF(profile->mChannelMasks.size() == 0, in loadOutput()
126 (profile->mChannelMasks.size() != 0) && in loadOutput()
190 profile->mChannelMasks.add(config->channel_mask); in addOutputProfile()
221 profile->mChannelMasks.add(config->channel_mask); in addInputProfile()
DIOProfile.cpp151 for (size_t i = 0; i < mChannelMasks.size(); i++) { in log()
152 ALOGV(" 0x%04x", mChannelMasks[i]); in log()
/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()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPort.h98 Vector <audio_channel_mask_t> mChannelMasks; // supported channel masks variable
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3277 if (profile->mChannelMasks[0] == 0) { in checkOutputsForDevice()
3291 ((profile->mChannelMasks[0] == 0) && in checkOutputsForDevice()
3292 (profile->mChannelMasks.size() < 2))) { in checkOutputsForDevice()
3297 profile->mChannelMasks[0] == 0) { in checkOutputsForDevice()
3433 if (profile->mChannelMasks[0] == 0) { in checkOutputsForDevice()
3434 profile->mChannelMasks.clear(); in checkOutputsForDevice()
3435 profile->mChannelMasks.add(0); in checkOutputsForDevice()
3565 if (profile->mChannelMasks[0] == 0) { in checkInputsForDevice()
3577 ((profile->mChannelMasks[0] == 0) && (profile->mChannelMasks.size() < 2))) { in checkInputsForDevice()
3637 if (profile->mChannelMasks[0] == 0) { in checkInputsForDevice()
[all …]