Home
last modified time | relevance | path

Searched refs:enumVal (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/audio/common/all-versions/default/tests/
Dhidlutils_tests.cpp85 for (const auto enumVal : xsdc_enum_range<xsd::AudioChannelMask>{}) { in TEST() local
86 const AudioChannelMask channelMask = toString(enumVal); in TEST()
91 EXPECT_EQ(enumVal != xsd::AudioChannelMask::AUDIO_CHANNEL_NONE, in TEST()
94 if (bool isInput = isInputChannelMask(enumVal); isInput || isOutputChannelMask(enumVal)) { in TEST()
105 } else if (isIndexChannelMask(enumVal) || in TEST()
106 enumVal == xsd::AudioChannelMask::AUDIO_CHANNEL_NONE) { in TEST()
141 for (const auto enumVal : xsdc_enum_range<xsd::AudioChannelMask>{}) { in TEST() local
142 allHalChannelMasks.push_back(toString(enumVal)); in TEST()
391 for (const auto enumVal : xsdc_enum_range<xsd::AudioContentType>{}) { in TEST() local
392 const AudioContentType contentType = toString(enumVal); in TEST()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
DALSAStreamOps.cpp44 #define ENUM_TO_STRING(var, enumVal) {var = #enumVal; enumVal;} argument
/hardware/interfaces/audio/core/all-versions/default/util/tests/
Dcoreutils_tests.cpp83 for (const auto enumVal : xsdc_enum_range<xsd::AudioInOutFlag>{}) { in TEST() local
84 if (isInputFlag(enumVal)) { in TEST()
85 allEnumValues.push_back(toString(enumVal)); in TEST()
124 for (const auto enumVal : xsdc_enum_range<xsd::AudioInOutFlag>{}) { in TEST() local
125 if (isOutputFlag(enumVal)) { in TEST()
126 allEnumValues.push_back(toString(enumVal)); in TEST()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Djson_c_generator.py651 enumVal = self.extBase + (extNumber - 1) * self.extBlockSize + offset
652 body += " case %s: return \"%s\";\n" %(str(enumVal), enum.get('name'))
Djson_generator.py976 enumVal = self.extBase + (extNumber - 1) * self.extBlockSize + offset
977 body += " std::make_pair(%s, \"%s\"),\n" %(str(enumVal), enum.get('name'))
Djson_parser.py1014 enumVal = self.extBase + (extNumber - 1) * self.extBlockSize + offset
1015 body += " std::make_pair(\"%s\", %s),\n" %(enum.get('name'), str(enumVal))
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DGLEScmContext.h221 GLenum enumVal[4]; member