Searched refs:attribs (Results 1 – 6 of 6) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | USBAudioPeripheralAttributesActivity.java | 65 PeripheralProfile.ProfileAttributes attribs = in updateConnectStatus() local 72 … } else if (!ListsHelper.isSubset(deviceInfo.getChannelCounts(), attribs.mChannelCounts)) { in updateConnectStatus() 75 " p" + ListsHelper.textFormatDecimal(attribs.mChannelCounts) +"\n"); in updateConnectStatus() 81 } else if (!ListsHelper.isSubset(deviceInfo.getEncodings(), attribs.mEncodings)) { in updateConnectStatus() 84 " p" + ListsHelper.textFormatHex(attribs.mEncodings) + "\n"); in updateConnectStatus() 90 … } else if (!ListsHelper.isSubset(deviceInfo.getSampleRates(), attribs.mSampleRates)) { in updateConnectStatus() 93 " p" + ListsHelper.textFormatHex(attribs.mSampleRates) + "\n"); in updateConnectStatus() 103 attribs.mChannelIndexMasks)) { in updateConnectStatus() 106 … " p" + ListsHelper.textFormatHex(attribs.mChannelIndexMasks) + "\n"); in updateConnectStatus() 111 attribs.mChannelPositionMasks)) { in updateConnectStatus() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/ |
D | PeripheralProfile.java | 108 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/graphics/src/android/graphics/cts/ |
D | EGL15Test.java | 283 long[] attribs = new long[] { in testEGL15CreateImage() local 287 EGL15.EGL_GL_TEXTURE_2D, srcTex, attribs, 0); in testEGL15CreateImage() 312 long[] attribs = new long[] { EGL14.EGL_NONE }; in testEGL15CreatePlatformPixmap() local 316 mEglConfig, null, attribs, 0); in testEGL15CreatePlatformPixmap()
|
D | EGL14Test.java | 157 int[] attribs = new int[] { EGL14.EGL_NONE }; in testEGL14CreatePixmap() local 161 mEglConfig, 0, attribs, 0); in testEGL14CreatePixmap()
|
/cts/hostsidetests/gputools/apps/jni/ |
D | android_gputools_cts_RootlessGpuDebug.cpp | 75 const EGLint attribs[] = {EGL_SURFACE_TYPE, EGL_WINDOW_BIT, in initGLES() local 105 if (!eglChooseConfig(display, attribs, &config, 1, &numConfigs)) { in initGLES()
|
/cts/tests/tests/effect/src/android/effect/cts/ |
D | GLEnv.java | 61 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()
|