Home
last modified time | relevance | path

Searched refs:hasExtension (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/webkit/src/android/webkit/cts/
DMimeTypeMapTest.java88 assertTrue(mMimeTypeMap.hasExtension("mp3")); in testHasExtension()
89 assertTrue(mMimeTypeMap.hasExtension("zip")); in testHasExtension()
91 assertFalse(mMimeTypeMap.hasExtension("some_random_string")); in testHasExtension()
93 assertFalse(mMimeTypeMap.hasExtension("")); in testHasExtension()
94 assertFalse(mMimeTypeMap.hasExtension(null)); in testHasExtension()
/cts/tests/tests/opengl/src/android/opengl/cts/
DOpenGlEsVersionTest.java132 hasExtension(extensions, es31RequiredList[i])); in testRequiredExtensions()
159 boolean hasAepExtension = hasExtension(extensions, "GL_ANDROID_extension_pack_es31a"); in testExtensionPack()
206 hasExtension(extensions, requiredExtension)); in testRequiredExtensionsForVrHighPerformance()
211 hasExtension(extensions, requiredExtension)); in testRequiredExtensionsForVrHighPerformance()
233 hasExtension(extensions, requiredExtension)); in testRequiredExtensionsForVrHighPerformance()
238 hasExtension(extensions, requiredExtension)); in testRequiredExtensionsForVrHighPerformance()
265 requiredEglList[i], hasExtension(eglExtensions, requiredEglList[i])); in testRequiredEglExtensions()
267 if (hasExtension(eglExtensions, "EGL_KHR_mutable_render_buffer")) { in testRequiredEglExtensions()
268 …mutable_render_buffer but not EGL_ANDROID_front_buffer_auto_refresh", hasExtension(eglExtensions, … in testRequiredEglExtensions()
303 requiredEglList[i], hasExtension(eglExtensions, requiredEglList[i])); in testRequiredEglExtensionsForHdrCapableDisplay()
[all …]
DOpenGlEsVersionCtsActivity.java108 public static boolean hasExtension(String extensions, String name) { in hasExtension() method in OpenGlEsVersionCtsActivity
194 if (hasExtension(mExtensionsString, "ANDROID_extension_pack_es31a")) in onSurfaceCreated()
254 if (!hasExtension(mExtensionsString, requiredList[i])) { in checkAepEs31Support()
/cts/tests/tests/mimemap/src/android/content/type/cts/
DMimeMapTest.java99 assertTrue(mimeMap.hasExtension("PNG")); in bug30207891()
100 assertTrue(mimeMap.hasExtension("PnG")); in bug30207891()
101 assertFalse(mimeMap.hasExtension("")); in bug30207891()
102 assertFalse(mimeMap.hasExtension(".png")); in bug30207891()
286 assertTrue(webkitMap.hasExtension(extension)); in agreesWithPublicApi()
299 assertFalse(mimeMap.hasExtension(s)); in checkInvalidExtension()
/cts/tests/mediapc/src/android/mediapc/cts/
DVulkanTest.java89 device -> hasExtension(device, VK_EXT_GLOBAL_PRIORITY_EXTENSION_NAME, in checkVulkanProtectedMemoryAndGlobalPrioritySupport()
111 private static boolean hasExtension(JSONObject device, String name, int minVersion) { in hasExtension() method in VulkanTest
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/memorysafety/
DMteStateTest.java95 assertThat(atom.hasExtension(MemorysafetyExtensionAtoms.mteState)).isTrue(); in testMteState()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanFeaturesTest.java704 return hasExtension(deviceExtensions, name, minVersion); in hasDeviceExtension()
712 return hasExtension(instanceExtensions, name, minVersion); in hasInstanceExtension()
715 private static boolean hasExtension( in hasExtension() method in VulkanFeaturesTest
/cts/tests/tests/graphics/jni/
DVulkanPreTransformTestHelpers.cpp103 static bool hasExtension(const char* extension_name, in hasExtension() function
154 ASSERT(hasExtension(extension, supportedInstanceExtensions)); in init()
204 ASSERT(hasExtension(extension, supportedDeviceExtensions)); in init()
DVulkanTestHelpers.cpp87 static bool hasExtension(const char* extension_name, in hasExtension() function
153 ASSERT(hasExtension(extension, supportedDeviceExtensions)); in init()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/
DPowerManagerStatsTests.java190 assertThat(data.get(0).hasExtension(AdpfExtensionAtoms.thermalHeadroomThresholds)).isTrue(); in testThermalHeadroomThresholdsIsPulled()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/performancehintmanager/
DPerformanceHintManagerStatsTests.java262 if (event.getAtom().hasExtension(AdpfExtensionAtoms.adpfHintSessionTidCleanup)) { in testAdpfHintSessionTidCleanupIsPushed()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt57727 method public boolean hasExtension(String);