Home
last modified time | relevance | path

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

12

/frameworks/native/libs/renderengine/gl/
DGLExtensions.cpp49 bool hasExtension(const char* extension) const { return mExtensions.count(extension) > 0; } in hasExtension() function in android::renderengine::gl::__anon758a02590111::ExtensionSet
65 if (extensionSet.hasExtension("GL_EXT_protected_textures")) { in initWithGLStrings()
100 if (extensionSet.hasExtension("EGL_ANDROIDX_no_config_context") || in initWithEGLStrings()
101 extensionSet.hasExtension("EGL_KHR_no_config_context")) { in initWithEGLStrings()
105 if (extensionSet.hasExtension("EGL_ANDROID_native_fence_sync")) { in initWithEGLStrings()
108 if (extensionSet.hasExtension("EGL_KHR_fence_sync")) { in initWithEGLStrings()
111 if (extensionSet.hasExtension("EGL_KHR_wait_sync")) { in initWithEGLStrings()
114 if (extensionSet.hasExtension("EGL_EXT_protected_content")) { in initWithEGLStrings()
117 if (extensionSet.hasExtension("EGL_IMG_context_priority")) { in initWithEGLStrings()
120 if (extensionSet.hasExtension("EGL_KHR_surfaceless_context")) { in initWithEGLStrings()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DTestUtil.java1403 Assert.assertTrue(message.hasExtension(optionalInt32Extension )); in assertAllExtensionsSet()
1404 Assert.assertTrue(message.hasExtension(optionalInt64Extension )); in assertAllExtensionsSet()
1405 Assert.assertTrue(message.hasExtension(optionalUint32Extension )); in assertAllExtensionsSet()
1406 Assert.assertTrue(message.hasExtension(optionalUint64Extension )); in assertAllExtensionsSet()
1407 Assert.assertTrue(message.hasExtension(optionalSint32Extension )); in assertAllExtensionsSet()
1408 Assert.assertTrue(message.hasExtension(optionalSint64Extension )); in assertAllExtensionsSet()
1409 Assert.assertTrue(message.hasExtension(optionalFixed32Extension )); in assertAllExtensionsSet()
1410 Assert.assertTrue(message.hasExtension(optionalFixed64Extension )); in assertAllExtensionsSet()
1411 Assert.assertTrue(message.hasExtension(optionalSfixed32Extension)); in assertAllExtensionsSet()
1412 Assert.assertTrue(message.hasExtension(optionalSfixed64Extension)); in assertAllExtensionsSet()
[all …]
DLazyMessageLiteTest.java312 assertTrue(innerBuilder.hasExtension(LazyExtension.extension)); in testExtensions()
316 assertTrue(innerMessage.hasExtension(LazyExtension.extension)); in testExtensions()
321 assertTrue(lite.getInner().hasExtension(LazyExtension.extension)); in testExtensions()
DDescriptorsTest.java373 descriptor.getOptions().hasExtension(UnittestCustomOptions.messageOpt1)); in testCustomOptions()
381 field.getOptions().hasExtension(UnittestCustomOptions.fieldOpt1)); in testCustomOptions()
389 oneof.getOptions().hasExtension(UnittestCustomOptions.oneofOpt1)); in testCustomOptions()
397 enumType.getOptions().hasExtension(UnittestCustomOptions.enumOpt1)); in testCustomOptions()
405 service.getOptions().hasExtension(UnittestCustomOptions.serviceOpt1)); in testCustomOptions()
413 method.getOptions().hasExtension(UnittestCustomOptions.methodOpt1)); in testCustomOptions()
DLazyFieldLiteTest.java238 assertTrue(value.hasExtension(optionalInt32Extension)); in testMergeMightLoseExtensions()
240 assertFalse(value.hasExtension(optionalInt64Extension)); in testMergeMightLoseExtensions()
DGeneratedMessageTest.java691 .hasExtension(UnittestProto.optionalInt32Extension)); in testClearExtension()
711 assertTrue(merged.hasExtension(UnittestProto.optionalInt32Extension)); in testExtensionMergeFrom()
754 .hasExtension(UnittestLite.optionalInt32ExtensionLite)); in testClearLiteExtension()
775 assertTrue(merged.hasExtension(UnittestLite.optionalInt32ExtensionLite)); in testLiteExtensionMergeFrom()
815 TestAllExtensions.getDefaultInstance().hasExtension( in testMultipleFilesOption()
DTextFormatTest.java388 assertTrue(messageSet.hasExtension( in testParseMessageSet()
392 assertTrue(messageSet.hasExtension( in testParseMessageSet()
DLiteTest.java1381 assertFalse(extendableMessage.hasExtension( in testSanityCopyOnWrite()
1409 assertFalse(extendableMessage.hasExtension( in testSanityCopyOnWrite()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBTestUtilities.m184 XCTAssertTrue([message hasExtension:[UnittestRoot optionalInt32Extension]]);
185 XCTAssertTrue([message hasExtension:[UnittestRoot optionalInt64Extension]]);
186 XCTAssertTrue([message hasExtension:[UnittestRoot optionalUint32Extension]]);
187 XCTAssertTrue([message hasExtension:[UnittestRoot optionalUint64Extension]]);
188 XCTAssertTrue([message hasExtension:[UnittestRoot optionalSint32Extension]]);
189 XCTAssertTrue([message hasExtension:[UnittestRoot optionalSint64Extension]]);
190 XCTAssertTrue([message hasExtension:[UnittestRoot optionalFixed32Extension]]);
191 XCTAssertTrue([message hasExtension:[UnittestRoot optionalFixed64Extension]]);
192 XCTAssertTrue([message hasExtension:[UnittestRoot optionalSfixed32Extension]]);
193 XCTAssertTrue([message hasExtension:[UnittestRoot optionalSfixed64Extension]]);
[all …]
DGPBMessageTests.m583 XCTAssertTrue([message1 hasExtension:[UnittestRoot optionalInt32Extension]]);
585 XCTAssertFalse([message1 hasExtension:[UnittestRoot optionalInt32Extension]]);
603 XCTAssertFalse([message3 hasExtension:[UnittestObjcRoot recursiveExtension]]);
605 XCTAssertFalse([message3 hasExtension:[UnittestObjcRoot recursiveExtension]]);
1407 XCTAssertFalse([message hasExtension:[UnittestRoot optionalGroupExtension]]);
1408 XCTAssertFalse([message hasExtension:[UnittestRoot optionalGroupExtension]]);
1410 [message hasExtension:[UnittestRoot optionalNestedMessageExtension]]);
1412 [message hasExtension:[UnittestRoot optionalForeignMessageExtension]]);
1414 [message hasExtension:[UnittestRoot optionalImportMessageExtension]]);
1416 hasExtension:[UnittestRoot optionalPublicImportMessageExtension]]);
[all …]
DGPBConcurrencyTests.m202 XCTAssertFalse([message hasExtension:extension]);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DTestUtil.java1278 Assert.assertTrue(message.hasExtension(optionalInt32Extension )); in assertAllExtensionsSet()
1279 Assert.assertTrue(message.hasExtension(optionalInt64Extension )); in assertAllExtensionsSet()
1280 Assert.assertTrue(message.hasExtension(optionalUint32Extension )); in assertAllExtensionsSet()
1281 Assert.assertTrue(message.hasExtension(optionalUint64Extension )); in assertAllExtensionsSet()
1282 Assert.assertTrue(message.hasExtension(optionalSint32Extension )); in assertAllExtensionsSet()
1283 Assert.assertTrue(message.hasExtension(optionalSint64Extension )); in assertAllExtensionsSet()
1284 Assert.assertTrue(message.hasExtension(optionalFixed32Extension )); in assertAllExtensionsSet()
1285 Assert.assertTrue(message.hasExtension(optionalFixed64Extension )); in assertAllExtensionsSet()
1286 Assert.assertTrue(message.hasExtension(optionalSfixed32Extension)); in assertAllExtensionsSet()
1287 Assert.assertTrue(message.hasExtension(optionalSfixed64Extension)); in assertAllExtensionsSet()
[all …]
DDescriptorsTest.java359 descriptor.getOptions().hasExtension(UnittestCustomOptions.messageOpt1)); in testCustomOptions()
367 field.getOptions().hasExtension(UnittestCustomOptions.fieldOpt1)); in testCustomOptions()
375 enumType.getOptions().hasExtension(UnittestCustomOptions.enumOpt1)); in testCustomOptions()
383 service.getOptions().hasExtension(UnittestCustomOptions.serviceOpt1)); in testCustomOptions()
391 method.getOptions().hasExtension(UnittestCustomOptions.methodOpt1)); in testCustomOptions()
DTextFormatTest.java367 assertTrue(messageSet.hasExtension( in testParseMessageSet()
371 assertTrue(messageSet.hasExtension( in testParseMessageSet()
DGeneratedMessageTest.java588 .hasExtension(UnittestProto.optionalInt32Extension)); in testClearExtension()
608 assertTrue(merged.hasExtension(UnittestProto.optionalInt32Extension)); in testExtensionMergeFrom()
639 TestAllExtensions.getDefaultInstance().hasExtension( in testMultipleFilesOption()
/frameworks/base/core/java/android/webkit/
DMimeTypeMap.java105 public boolean hasExtension(String extension) { in hasExtension() method in MimeTypeMap
106 return MimeUtils.hasExtension(extension); in hasExtension()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java2861 assertFalse(message.hasExtension(RepeatedExtensions.repeatedInt32)); in testExtensions()
2863 assertTrue(message.hasExtension(RepeatedExtensions.repeatedInt32)); in testExtensions()
2864 assertFalse(message.hasExtension(RepeatedExtensions.repeatedUint32)); in testExtensions()
2866 assertTrue(message.hasExtension(RepeatedExtensions.repeatedUint32)); in testExtensions()
2868 assertFalse(message.hasExtension(RepeatedExtensions.repeatedInt64)); in testExtensions()
2870 assertTrue(message.hasExtension(RepeatedExtensions.repeatedInt64)); in testExtensions()
2871 assertFalse(message.hasExtension(RepeatedExtensions.repeatedUint64)); in testExtensions()
2873 assertTrue(message.hasExtension(RepeatedExtensions.repeatedUint64)); in testExtensions()
2874 assertFalse(message.hasExtension(RepeatedExtensions.repeatedSint64)); in testExtensions()
2876 assertTrue(message.hasExtension(RepeatedExtensions.repeatedSint64)); in testExtensions()
[all …]
/frameworks/native/opengl/tests/lib/include/
DEGLUtils.h65 static inline bool hasExtension(const char* exts, const char* name);
292 bool EGLUtils::hasExtension(const char* exts, const char* name) { in hasExtension() function
305 return hasExtension(eglQueryString(dpy, EGL_EXTENSIONS), name); in hasEglExtension()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DGeneratedMessageV3.java745 <Type> boolean hasExtension(
762 <Type> boolean hasExtension(
765 <Type> boolean hasExtension(
858 public final <Type> boolean hasExtension(final ExtensionLite<MessageType, Type> extensionLite) {
915 public final <Type> boolean hasExtension(final Extension<MessageType, Type> extension) {
916 return hasExtension((ExtensionLite<MessageType, Type>) extension);
920 public final <Type> boolean hasExtension(
922 return hasExtension((ExtensionLite<MessageType, Type>) extension);
1238 public final <Type> boolean hasExtension(final ExtensionLite<MessageType, Type> extensionLite) {
1350 public final <Type> boolean hasExtension(final Extension<MessageType, Type> extension) {
[all …]
DGeneratedMessage.java744 <Type> boolean hasExtension(
761 <Type> boolean hasExtension(
764 <Type> boolean hasExtension(
857 public final <Type> boolean hasExtension(final ExtensionLite<MessageType, Type> extensionLite) {
914 public final <Type> boolean hasExtension(final Extension<MessageType, Type> extension) {
915 return hasExtension((ExtensionLite<MessageType, Type>) extension);
919 public final <Type> boolean hasExtension(
921 return hasExtension((ExtensionLite<MessageType, Type>) extension);
1237 public final <Type> boolean hasExtension(final ExtensionLite<MessageType, Type> extensionLite) {
1349 public final <Type> boolean hasExtension(final Extension<MessageType, Type> extension) {
[all …]
DGeneratedMessageLite.java426 <Type> boolean hasExtension( in hasExtension() method
607 public final <Type> boolean hasExtension(final ExtensionLite<MessageType, Type> extension) { in hasExtension() method in GeneratedMessageLite.ExtendableMessage
784 public final <Type> boolean hasExtension(final ExtensionLite<MessageType, Type> extension) { in hasExtension() method in GeneratedMessageLite.ExtendableBuilder
785 return instance.hasExtension(extension); in hasExtension()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBMessage.h282 - (BOOL)hasExtension:(GPBExtensionDescriptor *)extension;
DGPBMessage.m721 : [self->autocreator_ hasExtension:self->autocreatorExtension_]);
1754 - (BOOL)hasExtension:(GPBExtensionDescriptor *)extension {
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DExtendableMessageNano.java74 public final boolean hasExtension(Extension<M, ?> extension) { in hasExtension() method in ExtendableMessageNano
/frameworks/base/libs/hwui/renderthread/
DVulkanManager.cpp223 LOG_ALWAYS_FATAL_IF(!grExtensions.hasExtension(VK_KHR_EXTERNAL_SEMAPHORE_FD_EXTENSION_NAME, 1)); in setupDevice()
232 if (grExtensions.hasExtension(VK_EXT_BLEND_OPERATION_ADVANCED_EXTENSION_NAME, 2)) { in setupDevice()
265 grExtensions.hasExtension(VK_EXT_GLOBAL_PRIORITY_EXTENSION_NAME, 2)) { in setupDevice()

12