Home
last modified time | relevance | path

Searched refs:extensions (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaScannerNotificationTest.java82 String createTempFiles(String [] extensions) { in createTempFiles() argument
89 for (int i = 0; i < extensions.length; i++) { in createTempFiles()
90 File foo = new File(tmpPath, "foobar." + extensions[i]); in createTempFiles()
106 void checkTempFiles(String tmpPath, String [] extensions) { in checkTempFiles() argument
107 for (int i = 0; i < extensions.length; i++) { in checkTempFiles()
108 File foo = new File(tmpPath, "foobar." + extensions[i]); in checkTempFiles()
114 void deleteTempFiles(String tmpPath, String [] extensions) { in deleteTempFiles() argument
115 for (int i = 0; i < extensions.length; i++) { in deleteTempFiles()
116 assertTrue(new File(tmpPath, "foobar." + extensions[i]).delete()); in deleteTempFiles()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DGLESSurfaceView.java59 String extensions; in onSurfaceCreated() local
63 extensions = GLES20.glGetString(GLES20.GL_EXTENSIONS); in onSurfaceCreated()
67 extensions = GLES30.glGetString(GLES30.GL_EXTENSIONS); in onSurfaceCreated()
71 extensions = gl.glGetString(GL10.GL_EXTENSIONS); in onSurfaceCreated()
75 Log.i(TAG, "extensions : " + extensions); in onSurfaceCreated()
79 Scanner scanner = new Scanner(extensions); in onSurfaceCreated()
/cts/tests/tests/opengl/src/android/opengl/cts/
DOpenGlEsVersionTest.java114 String extensions = mActivity.getExtensionsString(); in testRequiredExtensions() local
130 hasExtension(extensions, es31RequiredList[i])); in testRequiredExtensions()
158 String extensions = mActivity.getExtensionsString(); in testExtensionPack() local
159 boolean hasAepExtension = hasExtension(extensions, "GL_ANDROID_extension_pack_es31a"); in testExtensionPack()
194 String extensions = mActivity.getExtensionsString(); in testRequiredExtensionsForVrHighPerformance() local
210 hasExtension(extensions, requiredExtension)); in testRequiredExtensionsForVrHighPerformance()
215 hasExtension(extensions, requiredExtension)); in testRequiredExtensionsForVrHighPerformance()
221 extensions = egl.eglQueryString(display, EGL10.EGL_EXTENSIONS); in testRequiredExtensionsForVrHighPerformance()
237 hasExtension(extensions, requiredExtension)); in testRequiredExtensionsForVrHighPerformance()
242 hasExtension(extensions, requiredExtension)); in testRequiredExtensionsForVrHighPerformance()
[all …]
DOpenGlEsVersionCtsActivity.java108 public static boolean hasExtension(String extensions, String name) { in hasExtension() argument
109 int start = extensions.indexOf(name); in hasExtension()
113 if (end == extensions.length() || extensions.charAt(end) == ' ') { in hasExtension()
116 start = extensions.indexOf(name, end); in hasExtension()
/cts/apps/CtsVerifier/
Dcreate_test_certs.sh39 -extensions v3_ca \
59 -extensions SAN \
77 -extensions SAN \
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DRcsContactUceCapabilityTest.java73 List<String> extensions = unparceledCapability.getCapableExtensionTags(); in createParcelUnparcel() local
74 assertEquals(1, extensions.size()); in createParcelUnparcel()
75 assertEquals(TEST_EXTENSION_TAG, extensions.get(0)); in createParcelUnparcel()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DGlesStubActivity.java412 String extensions; in onSurfaceCreated() local
416 extensions = GLES20.glGetString(GLES20.GL_EXTENSIONS); in onSurfaceCreated()
421 extensions = GLES30.glGetString(GLES30.GL_EXTENSIONS); in onSurfaceCreated()
426 extensions = gl.glGetString(GL10.GL_EXTENSIONS); in onSurfaceCreated()
432 Scanner scanner = new Scanner(extensions); in onSurfaceCreated()
472 String extensions = EGL14.eglQueryString(display, EGL14.EGL_EXTENSIONS); in collectEglExtensions() local
479 collector.addEglExtensions(extensions.split(" ")); in collectEglExtensions()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/scripts/
Dgenerate-client-cert-chain.sh30 -extensions v3_ca \
54 -extensions v3_intermediate_ca \
73 -extensions usr_cert \
/cts/tests/tests/graphics/jni/
DVulkanPreTransformTestHelpers.cpp72 static bool enumerateInstanceExtensions(std::vector<VkExtensionProperties>* extensions) { in enumerateInstanceExtensions() argument
79 extensions->resize(count); in enumerateInstanceExtensions()
80 result = vkEnumerateInstanceExtensionProperties(nullptr, &count, extensions->data()); in enumerateInstanceExtensions()
87 std::vector<VkExtensionProperties>* extensions) { in enumerateDeviceExtensions() argument
94 extensions->resize(count); in enumerateDeviceExtensions()
95 result = vkEnumerateDeviceExtensionProperties(device, nullptr, &count, extensions->data()); in enumerateDeviceExtensions()
102 const std::vector<VkExtensionProperties>& extensions) { in hasExtension() argument
103 return std::find_if(extensions.cbegin(), extensions.cend(), in hasExtension()
106 }) != extensions.cend(); in hasExtension()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DTextureTestRenderer.java146 String extensions = gl.glGetString(GL10.GL_EXTENSIONS); in onSurfaceCreated() local
147 Log.i(TAG, "extensions: " + extensions); in onSurfaceCreated()
148 if (extensions.contains("GL_OES_draw_texture")) { in onSurfaceCreated()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DSurfaceTextureRenderer.java155 String extensions = GLES20.glGetString(GLES20.GL_EXTENSIONS); in onSurfaceCreated() local
156 Log.i(TAG, "Gl extensions: " + extensions); in onSurfaceCreated()
157 Assert.assertTrue(extensions.contains("OES_EGL_image_external")); in onSurfaceCreated()
/cts/tests/tests/location/src/android/location/cts/asn1/base/
DAsn1Sequence.java193 BitStream extensions = new BitStream(); in encodePerImpl() local
206 extensions.appendBit(component.isExplicitlySet()); in encodePerImpl()
230 listBuilder.add(extensions); in encodePerImpl()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanFeaturesTest.java358 JSONArray extensions = device.getJSONArray("extensions"); in hasExtension() local
359 for (int i = 0; i < extensions.length(); i++) { in hasExtension()
360 JSONObject ext = extensions.getJSONObject(i); in hasExtension()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewCtsActivity.java353 String extensions = mEgl.eglQueryString(mEglDisplay, EGL10.EGL_EXTENSIONS);
381 if (!extensions.contains(eglColorSpaceString)) {
385 if (mIsEGLWideGamut && !extensions.contains("EXT_pixel_format_float")) {
/cts/
DPREUPLOAD.cfg5 clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
/cts/tests/tests/mimemap/src/android/content/type/cts/
DMimeMapTest.java236 for (String extension : stockAndroidMimeMap.extensions()) { in containsAllExpectedMappings_extToMime()
252 for (String extension : mimeMap.extensions()) { in agreesWithPublicApi()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DVulkanDeviceInfo.java900 JSONArray extensions = parent.getJSONArray(KEY_EXTENSIONS); in emitExtensions() local
902 for (int i = 0; i < extensions.length(); i++) { in emitExtensions()
903 JSONObject extension = extensions.getJSONObject(i); in emitExtensions()
913 for (int i = 0; i < extensions.length(); i++) { in emitExtensions()
914 JSONObject extension = extensions.getJSONObject(i); in emitExtensions()
/cts/tests/tests/security/res/raw/
Dopenssl_heartbleed_test_cert.pem60 X509v3 extensions: