Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralAttributesActivity.java67 PeripheralProfile.ProfileAttributes attribs = in updateConnectStatus() local
74 … } else if (!ListsHelper.isSubset(deviceInfo.getChannelCounts(), attribs.mChannelCounts)) { in updateConnectStatus()
77 " p" + ListsHelper.textFormatDecimal(attribs.mChannelCounts) +"\n"); in updateConnectStatus()
83 } else if (!ListsHelper.isSubset(deviceInfo.getEncodings(), attribs.mEncodings)) { in updateConnectStatus()
86 " p" + ListsHelper.textFormatHex(attribs.mEncodings) + "\n"); in updateConnectStatus()
92 … } else if (!ListsHelper.isSubset(deviceInfo.getSampleRates(), attribs.mSampleRates)) { in updateConnectStatus()
95 " p" + ListsHelper.textFormatHex(attribs.mSampleRates) + "\n"); in updateConnectStatus()
105 attribs.mChannelIndexMasks)) { in updateConnectStatus()
108 … " p" + ListsHelper.textFormatHex(attribs.mChannelIndexMasks) + "\n"); in updateConnectStatus()
113 attribs.mChannelPositionMasks)) { in updateConnectStatus()
[all …]
/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/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/tests/tests/graphics/src/android/graphics/cts/
DEGL15Test.java284 long[] attribs = new long[] { in testEGL15CreateImage() local
288 EGL15.EGL_GL_TEXTURE_2D, srcTex, attribs, 0); in testEGL15CreateImage()
313 long[] attribs = new long[] { EGL14.EGL_NONE }; in testEGL15CreatePlatformPixmap() local
317 mEglConfig, null, attribs, 0); in testEGL15CreatePlatformPixmap()
DEGL14Test.java157 int[] attribs = new int[] { EGL14.EGL_NONE }; in testEGL14CreatePixmap() local
161 mEglConfig, 0, attribs, 0); in testEGL14CreatePixmap()
/cts/hostsidetests/gputools/apps/jni/
Dandroid_gputools_cts_RootlessGpuDebug.cpp93 const EGLint attribs[] = {EGL_SURFACE_TYPE, EGL_WINDOW_BIT, in initGLES() local
123 if (!eglChooseConfig(display, attribs, &config, 1, &numConfigs)) { in initGLES()