Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/
DPeripheralProfile.java108 public static boolean matches(ProfileAttributes attribs, AudioDeviceInfo deviceInfo) { in matches() argument
110 ListsHelper.isMatch(deviceInfo.getChannelCounts(), attribs.mChannelCounts) && in matches()
111 ListsHelper.isMatch(deviceInfo.getChannelIndexMasks(), attribs.mChannelIndexMasks) && in matches()
112 ListsHelper.isMatch(deviceInfo.getChannelMasks(), attribs.mChannelPositionMasks) && in matches()
113 ListsHelper.isMatch(deviceInfo.getEncodings(), attribs.mEncodings) && in matches()
114 ListsHelper.isMatch(deviceInfo.getSampleRates(), attribs.mSampleRates); in matches()
157 private void parseProfileAttributes(ProfileAttributes attribs, String elementName, in parseProfileAttributes() argument
159 attribs.mChannelCounts = parseIntList(xmlAtts.getValue(kAttr_ChanCounts)); in parseProfileAttributes()
160 attribs.mChannelPositionMasks = parseIntList(xmlAtts.getValue(kAttr_ChanPosMasks)); in parseProfileAttributes()
161 attribs.mChannelIndexMasks = parseIntList(xmlAtts.getValue(kAttr_ChanIndexMasks)); in parseProfileAttributes()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralAttributesActivity.java190 PeripheralProfile.ProfileAttributes attribs = in updateConnectStatus() local
197 … } else if (!ListsHelper.isSubset(deviceInfo.getChannelCounts(), attribs.mChannelCounts)) { in updateConnectStatus()
200 " p" + ListsHelper.textFormatDecimal(attribs.mChannelCounts) +"\n"); in updateConnectStatus()
206 } else if (!ListsHelper.isSubset(deviceInfo.getEncodings(), attribs.mEncodings)) { in updateConnectStatus()
209 " p" + ListsHelper.textFormatHex(attribs.mEncodings) + "\n"); in updateConnectStatus()
215 … } else if (!ListsHelper.isSubset(deviceInfo.getSampleRates(), attribs.mSampleRates)) { in updateConnectStatus()
218 " p" + ListsHelper.textFormatHex(attribs.mSampleRates) + "\n"); in updateConnectStatus()
240 PeripheralProfile.ProfileAttributes attribs = in updateConnectStatus() local
247 … } else if (!ListsHelper.isSubset(deviceInfo.getChannelCounts(), attribs.mChannelCounts)) { in updateConnectStatus()
250 " p" + ListsHelper.textFormatDecimal(attribs.mChannelCounts) + "\n"); in updateConnectStatus()
[all …]
/cts/tests/tests/effect/src/android/effect/cts/
DGLEnv.java61 int[] attribs = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL10.EGL_NONE }; in GLEnv() local
62 mEGLContext = egl.eglCreateContext(mEGLDisplay, mEGLConfig, EGL10.EGL_NO_CONTEXT, attribs); in GLEnv()
/cts/hostsidetests/gputools/apps/jni/
Dandroid_gputools_cts_RootlessGpuDebug.cpp94 const EGLint attribs[] = {EGL_SURFACE_TYPE, EGL_WINDOW_BIT, in initGLES() local
124 if (!eglChooseConfig(display, attribs, &config, 1, &numConfigs)) { in initGLES()
/cts/tests/tests/graphics/src/android/graphics/cts/
DEGL14Test.java157 int[] attribs = new int[] { EGL14.EGL_NONE }; in testEGL14CreatePixmap() local
161 mEglConfig, 0, attribs, 0); in testEGL14CreatePixmap()
DEGL15Test.java401 long[] attribs = new long[] { in testEGL15CreateImage() local
405 EGL15.EGL_GL_TEXTURE_2D, srcTex, attribs, 0); in testEGL15CreateImage()
430 long[] attribs = new long[] { EGL14.EGL_NONE }; in testEGL15CreatePlatformPixmap() local
434 mEglConfig, null, attribs, 0); in testEGL15CreatePlatformPixmap()
/cts/hostsidetests/adpf/app/hintsession/src/cpp/
DRenderer.cpp195 constexpr EGLint attribs[] = {EGL_RENDERABLE_TYPE, in initRenderer() local
215 eglChooseConfig(display, attribs, nullptr, 0, &numConfigs); in initRenderer()
219 eglChooseConfig(display, attribs, supportedConfigs.get(), numConfigs, &numConfigs); in initRenderer()