Home
last modified time | relevance | path

Searched refs:supportedTypes (Results 1 – 25 of 28) sorted by relevance

12

/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/containers/
DCrossProfileMethodInfo.java71 public Collection<TypeMirror> automaticallyResolvedParameterTypes(SupportedTypes supportedTypes) { in automaticallyResolvedParameterTypes() argument
73 .filter(supportedTypes::isAutomaticallyResolved) in automaticallyResolvedParameterTypes()
104 SupportedTypes supportedTypes, in commaSeparatedParameters() argument
106 return commaSeparatedParameters(supportedTypes, filterBehaviour, Function.identity()); in commaSeparatedParameters()
117 SupportedTypes supportedTypes, in commaSeparatedParameters() argument
123 .filter(p -> !supportedTypes.isAutomaticallyResolved(p.asType())) in commaSeparatedParameters()
133 supportedTypes.isAutomaticallyResolved(p.asType()) in commaSeparatedParameters()
134 ? supportedTypes.getAutomaticallyResolvedReplacement(p.asType()) in commaSeparatedParameters()
182 return isFuture(type.supportedTypes(), methodElement()); in isFuture()
185 public static boolean isFuture(SupportedTypes supportedTypes, ExecutableElement method) { in isFuture() argument
[all …]
DCrossProfileTypeInfo.java51 public abstract SupportedTypes supportedTypes(); in supportedTypes() method in CrossProfileTypeInfo
101 SupportedTypes.Builder supportedTypesBuilder = crossProfileType.supportedTypes().asBuilder(); in create()
151 SupportedTypes supportedTypes, TypeMirror typeMirror) { in convertTypeMirrorToSupportedTypes() argument
153 return convertGenericTypeMirrorToSupportedTypes(supportedTypes, typeMirror); in convertTypeMirrorToSupportedTypes()
155 return Collections.singleton(supportedTypes.getType(typeMirror)); in convertTypeMirrorToSupportedTypes()
159 SupportedTypes supportedTypes, TypeMirror typeMirror) { in convertGenericTypeMirrorToSupportedTypes() argument
162 Type supportedType = supportedTypes.getType(genericType); in convertGenericTypeMirrorToSupportedTypes()
165 types.addAll(convertTypeMirrorToSupportedTypes(supportedTypes, typeArgument)); in convertGenericTypeMirrorToSupportedTypes()
168 types.add(supportedTypes.getType(genericType)); in convertGenericTypeMirrorToSupportedTypes()
DCrossProfileConfigurationInfo.java99 SupportedTypes supportedTypes, TypeMirror typeMirror) { in convertTypeMirrorToSupportedTypes() argument
101 return convertGenericTypeMirrorToSupportedTypes(supportedTypes, typeMirror); in convertTypeMirrorToSupportedTypes()
103 return Collections.singleton(supportedTypes.getType(typeMirror)); in convertTypeMirrorToSupportedTypes()
107 SupportedTypes supportedTypes, TypeMirror typeMirror) { in convertGenericTypeMirrorToSupportedTypes() argument
110 Type supportedType = supportedTypes.getType(genericType); in convertGenericTypeMirrorToSupportedTypes()
113 types.addAll(convertTypeMirrorToSupportedTypes(supportedTypes, typeArgument)); in convertGenericTypeMirrorToSupportedTypes()
116 types.add(supportedTypes.getType(genericType)); in convertGenericTypeMirrorToSupportedTypes()
DValidatorCrossProfileTypeInfo.java45 public abstract SupportedTypes supportedTypes(); in supportedTypes() method in ValidatorCrossProfileTypeInfo
83 ? profileConnectorElement.get().supportedTypes() in create()
86 SupportedTypes supportedTypes = in create() local
105 supportedTypes, in create()
DUserConnectorInfo.java59 public abstract SupportedTypes supportedTypes(); in supportedTypes() method in UserConnectorInfo
DProfileConnectorInfo.java64 public abstract SupportedTypes supportedTypes(); in supportedTypes() method in ProfileConnectorInfo
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DIfAvailableGenerator.java110 crossProfileType.supportedTypes(), in generateMethodOnIfAvailableClass()
125 crossProfileType.supportedTypes(), REMOVE_AUTOMATICALLY_RESOLVED_PARAMETERS)) in generateMethodOnIfAvailableClass()
141 crossProfileType.supportedTypes(), REMOVE_AUTOMATICALLY_RESOLVED_PARAMETERS)) in generateMethodOnIfAvailableClass()
169 crossProfileType.supportedTypes(), REMOVE_AUTOMATICALLY_RESOLVED_PARAMETERS), in generateMethodOnIfAvailableClass()
185 crossProfileType.supportedTypes(), REMOVE_AUTOMATICALLY_RESOLVED_PARAMETERS), in generateMethodOnIfAvailableClass()
194 crossProfileType.supportedTypes().getType(rawFutureType).getFutureWrapper().get(); in generateMethodOnIfAvailableClass()
219 crossProfileType.supportedTypes(), REMOVE_AUTOMATICALLY_RESOLVED_PARAMETERS), in generateMethodOnIfAvailableClass()
DFakeOtherGenerator.java184 crossProfileType.supportedTypes(), in generateBlockingMethodOnFakeOther()
194 crossProfileType.supportedTypes(), REPLACE_AUTOMATICALLY_RESOLVED_PARAMETERS)); in generateBlockingMethodOnFakeOther()
240 crossProfileType.supportedTypes(), in generateCrossProfileCallbackMethodOnFakeOther()
251 crossProfileType.supportedTypes(), REPLACE_AUTOMATICALLY_RESOLVED_PARAMETERS)); in generateCrossProfileCallbackMethodOnFakeOther()
287 crossProfileType.supportedTypes(), in generateFutureMethodOnFakeOther()
297 crossProfileType.supportedTypes(), REPLACE_AUTOMATICALLY_RESOLVED_PARAMETERS)); in generateFutureMethodOnFakeOther()
306 crossProfileType.supportedTypes().getType(rawFutureType).getFutureWrapper().get(); in generateFutureMethodOnFakeOther()
DOtherProfileGenerator.java170 crossProfileType.supportedTypes(), in generateBlockingMethodOnOtherProfileClass()
182 if (crossProfileType.supportedTypes().isAutomaticallyResolved(param.asType())) { in generateBlockingMethodOnOtherProfileClass()
254 crossProfileType.supportedTypes(), in generateCrossProfileCallbackMethodOnOtherProfileClass()
268 if (crossProfileType.supportedTypes().isAutomaticallyResolved(param.asType())) { in generateCrossProfileCallbackMethodOnOtherProfileClass()
319 crossProfileType.supportedTypes(), in generateFutureMethodOnOtherProfileClass()
331 if (crossProfileType.supportedTypes().isAutomaticallyResolved(param.asType())) { in generateFutureMethodOnOtherProfileClass()
343 crossProfileType.supportedTypes().getType(rawFutureType).getFutureWrapper().get(); in generateFutureMethodOnOtherProfileClass()
DMultipleProfilesGenerator.java168 crossProfileType.supportedTypes(), REMOVE_AUTOMATICALLY_RESOLVED_PARAMETERS); in generateBlockingMethodOnMultipleProfilesClass()
179 crossProfileType.supportedTypes(), in generateBlockingMethodOnMultipleProfilesClass()
237 crossProfileType.supportedTypes(), in generateCrossProfileCallbackMethodOnMultipleProfilesClass()
269 crossProfileType.supportedTypes(), in generateCrossProfileCallbackMethodOnMultipleProfilesClass()
302 .supportedTypes() in generateFutureMethodOnMultipleProfilesClass()
320 crossProfileType.supportedTypes(), REMOVE_AUTOMATICALLY_RESOLVED_PARAMETERS); in generateFutureMethodOnMultipleProfilesClass()
331 crossProfileType.supportedTypes(), in generateFutureMethodOnMultipleProfilesClass()
DInterfaceGenerator.java307 method.automaticallyResolvedParameterTypes(crossProfileType.supportedTypes())) { in generateMethodOnSingleSenderInterface()
319 crossProfileType.supportedTypes(), in generateMethodOnSingleSenderInterface()
384 crossProfileType.supportedTypes(), in generateMethodOnSingleSenderCanThrowInterface()
389 method.automaticallyResolvedParameterTypes(crossProfileType.supportedTypes())) { in generateMethodOnSingleSenderCanThrowInterface()
510 crossProfileType.supportedTypes(), in generateBlockingMethodOnMultipleSenderInterface()
516 method.automaticallyResolvedParameterTypes(crossProfileType.supportedTypes())) { in generateBlockingMethodOnMultipleSenderInterface()
555 crossProfileType.supportedTypes(), in generateCrossProfileCallbackMethodOnMultipleSenderInterface()
570 method.automaticallyResolvedParameterTypes(crossProfileType.supportedTypes())) { in generateCrossProfileCallbackMethodOnMultipleSenderInterface()
616 crossProfileType.supportedTypes(), in generateFutureMethodOnMultipleSenderInterface()
622 method.automaticallyResolvedParameterTypes(crossProfileType.supportedTypes())) { in generateFutureMethodOnMultipleSenderInterface()
DCurrentProfileGenerator.java170 crossProfileType.supportedTypes(), REPLACE_AUTOMATICALLY_RESOLVED_PARAMETERS)); in generateMethodOnCurrentProfileClass()
184 crossProfileType.supportedTypes(), in generateMethodOnCurrentProfileClass()
202 crossProfileType.supportedTypes(), in generateCrossProfileCallbackWithExceptionMethodOnCurrentProfileClass()
210 crossProfileType.supportedTypes(), REMOVE_AUTOMATICALLY_RESOLVED_PARAMETERS)) in generateCrossProfileCallbackWithExceptionMethodOnCurrentProfileClass()
DBundlerGenerator.java114 crossProfileType.supportedTypes().usableTypes().stream() in addWriteToParcelMethod()
160 .supportedTypes() in addWriteToParcelType()
169 crossProfileType.supportedTypes().usableTypes().stream() in addReadFromParcelMethod()
217 crossProfileType.supportedTypes().generateReadFromParcelCode("parcel", type)); in addReadFromParcelType()
224 crossProfileType.supportedTypes().usableTypes().stream() in addCreateArrayMethod()
DAlwaysThrowsGenerator.java147 crossProfileType.supportedTypes(), in generateBlockingMethodOnAlwaysThrowsClass()
166 crossProfileType.supportedTypes(), in generateCrossProfileCallbackMethodOnAlwaysThrowsClass()
185 crossProfileType.supportedTypes().getType(rawFutureType).getFutureWrapper().get(); in generateFutureMethodOnAlwaysThrowsClass()
199 crossProfileType.supportedTypes(), in generateFutureMethodOnAlwaysThrowsClass()
DInternalCrossProfileClassGenerator.java200 crossProfileType.supportedTypes(), REPLACE_AUTOMATICALLY_RESOLVED_PARAMETERS)); in addBlockingCrossProfileTypeMethod()
262 crossProfileType.supportedTypes(), REPLACE_AUTOMATICALLY_RESOLVED_PARAMETERS)); in addCrossProfileCallbackCrossProfileTypeMethod()
309 crossProfileType.supportedTypes(), REPLACE_AUTOMATICALLY_RESOLVED_PARAMETERS)); in addFutureCrossProfileTypeMethod()
316 crossProfileType.supportedTypes().getType(rawFutureType).getFutureWrapper().get(); in addFutureCrossProfileTypeMethod()
375 if (crossProfileType.supportedTypes().isAutomaticallyResolved(parameter.asType())) { in addExtractParametersCode()
DFutureWrappersGenerator.java66 .map(CrossProfileTypeInfo::supportedTypes) in generateFutureWrappers()
DGeneratorUtilities.java181 SupportedTypes supportedTypes, in extractParametersFromMethod() argument
188 .filter(param -> !supportedTypes.isAutomaticallyResolved(param.asType())) in extractParametersFromMethod()
DEarlyValidator.java746 if (CrossProfileMethodInfo.isFuture(crossProfileType.supportedTypes(), crossProfileMethod) in validateCrossProfileMethod()
771 if (crossProfileType.supportedTypes().isValidReturnType(returnType)) { in validateReturnType()
823 .supportedTypes() in validateParameterTypeForCrossProfileCallbackInterface()
855 if (crossProfileType.supportedTypes().isValidParameterType(parameterType)) { in validateParameterTypeForCrossProfileMethod()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DDefaultMediaSourceFactory.java156 @C.ContentType private final int[] supportedTypes; field in DefaultMediaSourceFactory
181 supportedTypes = new int[mediaSourceFactories.size()]; in DefaultMediaSourceFactory()
183 supportedTypes[i] = mediaSourceFactories.keyAt(i); in DefaultMediaSourceFactory()
242 return Arrays.copyOf(supportedTypes, supportedTypes.length); in getSupportedTypes()
/external/wpa_supplicant_8/src/common/
Dtnc.h37 TNC_MessageTypeList supportedTypes,
66 TNC_MessageTypeList supportedTypes,
/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/
DDefaultMediaSourceFactoryTest.java97 int[] supportedTypes = in getSupportedTypes_dashModule_containsTypeDash() local
101 assertThat(supportedTypes).asList().containsExactly(C.TYPE_OTHER, C.TYPE_DASH); in getSupportedTypes_dashModule_containsTypeDash()
/external/exoplayer/tree/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/
DDefaultMediaSourceFactoryTest.java97 int[] supportedTypes = in getSupportedTypes_hlsModule_containsTypeHls() local
101 assertThat(supportedTypes).asList().containsExactly(C.TYPE_OTHER, C.TYPE_HLS); in getSupportedTypes_hlsModule_containsTypeHls()
/external/exoplayer/tree/library/smoothstreaming/src/test/java/com/google/android/exoplayer2/source/smoothstreaming/
DDefaultMediaSourceFactoryTest.java108 int[] supportedTypes = in getSupportedTypes_smoothstreamingModule_containsTypeSS() local
112 assertThat(supportedTypes).asList().containsExactly(C.TYPE_OTHER, C.TYPE_SS); in getSupportedTypes_smoothstreamingModule_containsTypeSS()
/external/deqp/framework/egl/
DegluGLContextFactory.cpp339 …const EGLint supportedTypes = eglu::getConfigAttribInt(egl, m_eglDisplay, m_eglConfig, EGL_SURFACE… in create() local
341 if ((supportedTypes & EGL_WINDOW_BIT) != 0) in create()
343 else if ((supportedTypes & EGL_PBUFFER_BIT) != 0) in create()
345 else if ((supportedTypes & EGL_PIXMAP_BIT) != 0) in create()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DDefaultMediaSourceFactoryTest.java187 int[] supportedTypes = in getSupportedTypes_coreModule_onlyOther() local
191 assertThat(supportedTypes).asList().containsExactly(C.TYPE_OTHER); in getSupportedTypes_coreModule_onlyOther()

12