Searched refs:channelMasks (Results 1 – 14 of 14) sorted by relevance
/hardware/interfaces/audio/core/all-versions/vts/functional/ |
D | ConfigHelper.h | 85 std::vector<audio_channel_mask_t> channelMasks, std::vector<uint32_t> sampleRates, in combineAudioConfig() 88 configs.reserve(channelMasks.size() * sampleRates.size()); in combineAudioConfig() 89 for (auto channelMask : channelMasks) { in combineAudioConfig() 102 static std::vector<AudioConfig> combineAudioConfig(std::vector<AudioChannelMask> channelMasks, in combineAudioConfig() 106 configs.reserve(channelMasks.size() * sampleRates.size() * formats.size()); in combineAudioConfig() 107 for (auto channelMask : channelMasks) { in combineAudioConfig()
|
/hardware/interfaces/audio/core/all-versions/default/ |
D | Stream.cpp | 135 hidl_vec<AudioChannelBitfield> channelMasks; in getSupportedChannelMasks() local 140 channelMasks.resize(halChannelMasks.size()); in getSupportedChannelMasks() 143 channelMasks[i++] = AudioChannelBitfield(channelMask); in getSupportedChannelMasks() 147 if (channelMasks.size() == 0) { in getSupportedChannelMasks() 152 _hidl_cb(channelMasks); in getSupportedChannelMasks() 154 _hidl_cb(result, channelMasks); in getSupportedChannelMasks() 251 hidl_vec<AudioChannelMask> channelMasks; in getSupportedProfiles() local 252 (void)HidlUtils::audioChannelMasksFromHal(halChannelMasks, &channelMasks); in getSupportedProfiles() 254 if (channelMasks.size() != 0 && sampleRates.size() != 0) { in getSupportedProfiles() 257 .channelMasks = std::move(channelMasks)}); in getSupportedProfiles()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/ |
D | Generators.cpp | 41 static std::vector<AudioConfig> combineAudioConfig(std::vector<xsd::AudioChannelMask> channelMasks, in combineAudioConfig() argument 45 configs.reserve(channelMasks.size() * sampleRates.size()); in combineAudioConfig() 46 for (auto channelMask : channelMasks) { in combineAudioConfig()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/2.0/ |
D | AudioPrimaryHidlHalUtils.h | 59 static Result channelMasks(IStream* stream, hidl_vec<AudioChannelMask>& channels) { in channelMasks() function
|
/hardware/interfaces/audio/common/all-versions/default/ |
D | HidlUtils.cpp | 267 port->channelMasks.resize(halPort.num_channel_masks); in audioPortFromHal() 269 port->channelMasks[i] = EnumBitfield<AudioChannelMask>(halPort.channel_masks[i]); in audioPortFromHal() 317 std::min(port.channelMasks.size(), static_cast<size_t>(AUDIO_PORT_MAX_CHANNEL_MASKS)); in audioPortToHal() 319 halPort->channel_masks[i] = static_cast<audio_channel_mask_t>(port.channelMasks[i]); in audioPortToHal()
|
D | HidlUtils.h | 87 hidl_vec<AudioChannelMask>* channelMasks);
|
/hardware/interfaces/audio/common/all-versions/default/tests/ |
D | hidlutils_tests.cpp | 914 profile.channelMasks.resize(2); in TEST() 915 profile.channelMasks[0] = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_MONO); in TEST() 916 profile.channelMasks[1] = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_STEREO); in TEST() 986 profile.channelMasks.resize(2); in TEST() 987 profile.channelMasks[0] = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_MONO); in TEST() 988 profile.channelMasks[1] = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_STEREO); in TEST() 1029 profile.channelMasks.resize(2); in TEST() 1030 profile.channelMasks[0] = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_MONO); in TEST() 1031 profile.channelMasks[1] = toString(xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_STEREO); in TEST()
|
/hardware/interfaces/audio/common/all-versions/default/7.0/ |
D | HidlUtils.cpp | 101 hidl_vec<AudioChannelMask>* channelMasks) { in audioChannelMasksFromHal() argument 111 *channelMasks = std::move(tempChannelMasks); in audioChannelMasksFromHal() 113 *channelMasks = hidl_vec<AudioChannelMask>(tempChannelMasks.begin(), in audioChannelMasksFromHal() 116 return halChannelMasks.size() == channelMasks->size() ? NO_ERROR : BAD_VALUE; in audioChannelMasksFromHal() 948 profile->channelMasks.resize(halProfile.num_channel_masks); in audioProfileFromHal() 951 &profile->channelMasks[i]), in audioProfileFromHal() 972 halProfile->num_channel_masks = profile.channelMasks.size(); in audioProfileToHal() 980 audioChannelMaskToHal(profile.channelMasks[i], &halProfile->channel_masks[i]), in audioProfileToHal()
|
/hardware/interfaces/audio/core/all-versions/vts/functional/4.0/ |
D | AudioPrimaryHidlHalUtils.h | 72 static Result channelMasks(IStream* stream, in channelMasks() function
|
/hardware/interfaces/audio/common/7.0/ |
D | types.hal | 163 vec<AudioChannelMask> channelMasks;
|
/hardware/interfaces/audio/common/4.0/ |
D | types.hal | 888 vec<bitfield<AudioChannelMask>> channelMasks;
|
/hardware/interfaces/audio/common/2.0/ |
D | types.hal | 927 vec<AudioChannelMask> channelMasks;
|
/hardware/interfaces/audio/common/5.0/ |
D | types.hal | 1017 vec<bitfield<AudioChannelMask>> channelMasks;
|
/hardware/interfaces/audio/common/6.0/ |
D | types.hal | 1176 vec<bitfield<AudioChannelMask>> channelMasks;
|