Lines Matching refs:xsd

27 namespace xsd {  namespace
63 switch (xsd::stringToAudioChannelMask(value)) { in checkChannelMask()
64 case xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_MONO: in checkChannelMask()
65 case xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_STEREO: in checkChannelMask()
66 case xsd::AudioChannelMask::AUDIO_CHANNEL_IN_MONO: in checkChannelMask()
67 case xsd::AudioChannelMask::AUDIO_CHANNEL_IN_STEREO: in checkChannelMask()
73 xsd::AudioChannelMask::AUDIO_CHANNEL_OUT_STEREO : in checkChannelMask()
74 xsd::AudioChannelMask::AUDIO_CHANNEL_IN_MONO); in checkChannelMask()
80 switch (xsd::stringToAudioFormat(value)) { in checkFormat()
81 case xsd::AudioFormat::AUDIO_FORMAT_PCM_16_BIT: in checkFormat()
86 suggested = toString(xsd::AudioFormat::AUDIO_FORMAT_PCM_16_BIT); in checkFormat()
123 return xsd::getChannelCount(mask); in countChannels()
136 if (xsd::isUnknownAudioFormat(cfg.base.format) in checkAudioConfig()
137 || xsd::isUnknownAudioChannelMask(cfg.base.channelMask)) { in checkAudioConfig()
143 xsd::isUnknownAudioFormat(info.base.format) in checkAudioConfig()
144 || xsd::isUnknownAudioChannelMask(info.base.channelMask) in checkAudioConfig()
145 || (!info.streamType.empty() && xsd::isUnknownAudioStreamType(info.streamType)) in checkAudioConfig()
146 || xsd::isUnknownAudioUsage(info.usage)) { in checkAudioConfig()
184 if (xsd::isUnknownAudioFormat(cfg.base.format.value())) { in checkAudioPortConfig()
190 if (xsd::isUnknownAudioChannelMask(cfg.base.channelMask.value())) { in checkAudioPortConfig()
197 if (xsd::isUnknownAudioGainMode(gainMode)) { in checkAudioPortConfig()
201 if (xsd::isUnknownAudioChannelMask(cfg.gain.config().channelMask)) { in checkAudioPortConfig()
207 if (xsd::isUnknownAudioDevice(cfg.ext.device().deviceType)) { in checkAudioPortConfig()
215 !stream.empty() && xsd::isUnknownAudioStreamType(stream)) { in checkAudioPortConfig()
220 if (xsd::isUnknownAudioSource(cfg.ext.mix().useCase.source())) { in checkAudioPortConfig()