Home
last modified time | relevance | path

Searched refs:numConfigs (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/opengl/src/android/opengl/cts/
DEglConfigTest.java87 int[] numConfigs = new int[1]; in getEglConfigIds() local
103 if (egl.eglChooseConfig(display, attributeList, null, 0, numConfigs)) { in getEglConfigIds()
104 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; in getEglConfigIds()
106 numConfigs)) { in getEglConfigIds()
107 int[] configIds = new int[numConfigs[0]]; in getEglConfigIds()
108 for (int i = 0; i < numConfigs[0]; i++) { in getEglConfigIds()
DEgl10Utils.java37 int numConfigs = value[0]; in chooseConfig() local
38 if (numConfigs <= 0) { in chooseConfig()
42 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
43 if (!egl.eglChooseConfig(display, configSpec, configs, numConfigs, value)) { in chooseConfig()
DOpenGlEsVersionTest.java262 int[] numConfigs = new int[1]; in getDetectedMajorVersion() local
268 if (egl.eglGetConfigs(display, null, 0, numConfigs)) { in getDetectedMajorVersion()
269 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; in getDetectedMajorVersion()
270 if (egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { in getDetectedMajorVersion()
273 for (int i = 0; i < numConfigs[0]; i++) { in getDetectedMajorVersion()
287 + "(" + i + "/" + numConfigs[0] + "): " in getDetectedMajorVersion()
DWrapperTest.java267 int[] numConfigs = new int[1]; in eglSetup() local
269 numConfigs, 0)) { in eglSetup()
DFramebufferTest.java275 int[] numConfigs = new int[1]; in getConfig() local
277 numConfigs, 0)) { in getConfig()
/cts/hostsidetests/sustainedperf/shadertoy_android/src/
DGLtestView.java165 int numConfigs = num_config[0]; in chooseConfig() local
167 if (numConfigs <= 0) { in chooseConfig()
173 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
174 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config); in chooseConfig()
223 int numConfigs = configs.length; in printConfigs() local
224 Log.w(TAG, String.format("%d configurations", numConfigs)); in printConfigs()
225 for (int i = 0; i < numConfigs; i++) { in printConfigs()
/cts/tests/tests/graphics/src/android/graphics/cts/
DSyncTest.java83 int[] numConfigs = new int[1]; in setup() local
91 0, configs, 0, 1, numConfigs, 0)) { in setup()
DASurfaceTextureTest.java68 int[] numConfigs = new int[1]; in setup() local
75 0, configs, 0, 1, numConfigs, 0)) { in setup()
DANativeWindowTest.java70 int[] numConfigs = new int[1]; in setup() local
77 0, configs, 0, 1, numConfigs, 0)) { in setup()
/cts/tests/tests/view/src/android/view/cts/
DGLProducerThread.java99 int[] numConfigs = new int[1]; in initGL() local
101 if (!mEgl.eglChooseConfig(mEglDisplay, configAttribs, configs, 1, numConfigs) in initGL()
102 || numConfigs[0] == 0) { in initGL()
/cts/tests/openglperf2/jni/graphics/
DRenderer.cpp104 EGLint numConfigs = 0; in eglSetUp() local
105 EGL_RESULT_CHECK(eglChooseConfig(mEglDisplay, configAttribs, &mGlConfig, 1, &numConfigs) in eglSetUp()
106 && (numConfigs > 0)); in eglSetUp()
/cts/tests/framework/base/activitymanager/src/android/server/am/
DActivityManagerGetConfigTests.java166 int[] numConfigs = new int[1]; in getGlExtensionsFromDriver() local
167 if (!egl.eglGetConfigs(display, null, 0, numConfigs)) { in getGlExtensionsFromDriver()
172 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; in getGlExtensionsFromDriver()
173 if (!egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { in getGlExtensionsFromDriver()
194 for (int i = 0; i < numConfigs[0]; i++) { in getGlExtensionsFromDriver()
/cts/tests/tests/media/src/android/media/cts/
DOutputSurface.java144 int[] numConfigs = new int[1]; in eglSetup() local
146 numConfigs, 0)) { in eglSetup()
DInputSurface.java86 int[] numConfigs = new int[1]; in eglSetup() local
88 numConfigs, 0)) { in eglSetup()
DDecodeAccuracyTestBase.java1094 int[] numConfigs = new int[1]; in eglSetup() local
1096 eglDisplay, configAttribs, configs, configs.length, numConfigs)) { in eglSetup()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DCtsMediaOutputSurface.java148 int[] numConfigs = new int[1]; in eglSetup() local
150 numConfigs, 0)) { in eglSetup()
/cts/tests/vr/src/android/vr/cts/
DOpenGLESActivity.java323 int numConfigs = num_config[0]; in chooseConfig() local
324 if (numConfigs <= 0) { in chooseConfig()
328 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
329 if (!egl.eglChooseConfig(display, configSpec, configs, numConfigs, in chooseConfig()
/cts/tests/camera/src/android/hardware/cts/
DCameraGLTest.java266 int[] numConfigs = new int[1]; in getDetectedVersion() local
270 if (egl.eglGetConfigs(display, null, 0, numConfigs)) { in getDetectedVersion()
271 EGLConfig[] configs = new EGLConfig[numConfigs[0]]; in getDetectedVersion()
272 if (egl.eglGetConfigs(display, configs, numConfigs[0], numConfigs)) { in getDetectedVersion()
274 for (int i = 0; i < numConfigs[0]; i++) { in getDetectedVersion()
283 + "(" + i + "/" + numConfigs[0] + "): " in getDetectedVersion()
/cts/tests/camera/src/android/hardware/camera2/cts/
DRobustnessTest.java1962 int numConfigs = 1; in setupConfigurationTargets() local
1965 numConfigs = overridePhysicalCameraIds.size(); in setupConfigurationTargets()
1967 for (int j = 0; j < numConfigs; j++) { in setupConfigurationTargets()
1970 Size targetSize = (numConfigs == 1) ? maxSizes.maxPrivSizes[sizeLimit] : in setupConfigurationTargets()
1975 if (numConfigs > 1) { in setupConfigurationTargets()
1983 Size targetSize = (numConfigs == 1) ? maxSizes.maxJpegSizes[sizeLimit] : in setupConfigurationTargets()
1989 if (numConfigs > 1) { in setupConfigurationTargets()
1997 Size targetSize = (numConfigs == 1) ? maxSizes.maxYuvSizes[sizeLimit] : in setupConfigurationTargets()
2003 if (numConfigs > 1) { in setupConfigurationTargets()
2011 Size targetSize = (numConfigs == 1) ? maxSizes.maxRawSize : in setupConfigurationTargets()
[all …]
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGLSurfaceViewCustom.java870 int numConfigs = num_config[0]; in chooseConfig() local
872 if (numConfigs <= 0) { in chooseConfig()
877 EGLConfig[] configs = new EGLConfig[numConfigs]; in chooseConfig()
878 if (!egl.eglChooseConfig(display, mConfigSpec, configs, numConfigs, in chooseConfig()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp1250 EGLint numConfigs[1]; in Java_android_media_cts_NdkInputSurface_eglChooseConfig() local
1251 … (!eglChooseConfig(reinterpret_cast<EGLDisplay>(eglDisplay), attribList, configs, 1, numConfigs)) { in Java_android_media_cts_NdkInputSurface_eglChooseConfig()