Home
last modified time | relevance | path

Searched refs:isAssignableFrom (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/external/junit-params/src/main/java/junitparams/internal/
DInvokeParameterisedMethod.java159 if (annotation.annotationType().isAssignableFrom(ConvertParam.class)) { in castParameterUsingConverter()
180 if (clazz.isAssignableFrom(String.class)) in castParameterDirectly()
182 if (clazz.isAssignableFrom(Class.class)) in castParameterDirectly()
188 if (clazz.isAssignableFrom(Integer.TYPE) || clazz.isAssignableFrom(Integer.class)) in castParameterDirectly()
190 if (clazz.isAssignableFrom(Short.TYPE) || clazz.isAssignableFrom(Short.class)) in castParameterDirectly()
192 if (clazz.isAssignableFrom(Long.TYPE) || clazz.isAssignableFrom(Long.class)) in castParameterDirectly()
194 if (clazz.isAssignableFrom(Float.TYPE) || clazz.isAssignableFrom(Float.class)) in castParameterDirectly()
196 if (clazz.isAssignableFrom(Double.TYPE) || clazz.isAssignableFrom(Double.class)) in castParameterDirectly()
198 if (clazz.isAssignableFrom(Boolean.TYPE) || clazz.isAssignableFrom(Boolean.class)) in castParameterDirectly()
200 if (clazz.isAssignableFrom(Character.TYPE) || clazz.isAssignableFrom(Character.class)) in castParameterDirectly()
[all …]
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/
DChannelAndServerBuilderTest.java63 if (ServerBuilder.class.isAssignableFrom(clazz) && clazz != ServerBuilder.class) { in params()
65 } else if (ManagedChannelBuilder.class.isAssignableFrom(clazz) in params()
76 Assume.assumeTrue(ServerBuilder.class.isAssignableFrom(builderClass)); in serverBuilderHidesMethod_forPort()
80 assertTrue(ServerBuilder.class.isAssignableFrom(method.getReturnType())); in serverBuilderHidesMethod_forPort()
86 Assume.assumeTrue(ManagedChannelBuilder.class.isAssignableFrom(builderClass)); in channelBuilderHidesMethod_forAddress()
90 assertTrue(ManagedChannelBuilder.class.isAssignableFrom(method.getReturnType())); in channelBuilderHidesMethod_forAddress()
96 Assume.assumeTrue(ManagedChannelBuilder.class.isAssignableFrom(builderClass)); in channelBuilderHidesMethod_forTarget()
100 assertTrue(ManagedChannelBuilder.class.isAssignableFrom(method.getReturnType())); in channelBuilderHidesMethod_forTarget()
/external/vogar/src/vogar/target/junit/
DJunit4.java47 if (RunWith.class.isAssignableFrom(annotationClass)) { in isJunit4Test()
49 if (Suite.class.isAssignableFrom(runnerClass)) { in isJunit4Test()
51 } else if (Parameterized.class.isAssignableFrom(runnerClass)) { in isJunit4Test()
55 } else if (Suite.SuiteClasses.class.isAssignableFrom(annotationClass)) { in isJunit4Test()
76 if (org.junit.Test.class.isAssignableFrom(a.annotationType())) { in isJunit4Test()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/
DTypeDeserializer.java150 if (base.isAssignableFrom(String.class)) { in deserializeIfNatural()
155 if (base.isAssignableFrom(Integer.class)) { in deserializeIfNatural()
161 if (base.isAssignableFrom(Double.class)) { in deserializeIfNatural()
166 if (base.isAssignableFrom(Boolean.class)) { in deserializeIfNatural()
171 if (base.isAssignableFrom(Boolean.class)) { in deserializeIfNatural()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/
DConstructor.java153 if (Properties.class.isAssignableFrom(node.getType())) { in construct()
161 } else if (SortedMap.class.isAssignableFrom(node.getType())) { in construct()
167 } else if (Map.class.isAssignableFrom(node.getType())) { in construct()
173 } else if (SortedSet.class.isAssignableFrom(node.getType())) { in construct()
180 } else if (Collection.class.isAssignableFrom(node.getType())) { in construct()
197 if (Map.class.isAssignableFrom(node.getType())) { in construct2ndStep()
199 } else if (Set.class.isAssignableFrom(node.getType())) { in construct2ndStep()
285 } else if (property.getType().isAssignableFrom(Map.class)) { in constructJavaBean2ndStep()
376 if (type.isPrimitive() || type == String.class || Number.class.isAssignableFrom(type) in construct()
377 || type == Boolean.class || Date.class.isAssignableFrom(type) in construct()
[all …]
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLRSAKeyFactory.java94 if (key instanceof RSAPublicKey && RSAPublicKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
99 } else if (key instanceof PublicKey && RSAPublicKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
110 && RSAPrivateCrtKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
119 && RSAPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
125 && RSAPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
131 && RSAPrivateCrtKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
149 } else if (key instanceof PrivateKey && RSAPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
160 && PKCS8EncodedKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
170 } else if (key instanceof PublicKey && X509EncodedKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
DOpenSSLECKeyFactory.java92 if (key instanceof ECPublicKey && ECPublicKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
97 } else if (key instanceof PublicKey && ECPublicKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
107 && ECPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
112 } else if (key instanceof PrivateKey && ECPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
123 && PKCS8EncodedKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
133 } else if (key instanceof PublicKey && X509EncodedKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLRSAKeyFactory.java91 if (key instanceof RSAPublicKey && RSAPublicKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
96 } else if (key instanceof PublicKey && RSAPublicKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
107 && RSAPrivateCrtKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
116 && RSAPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
122 && RSAPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
128 && RSAPrivateCrtKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
146 } else if (key instanceof PrivateKey && RSAPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
157 && PKCS8EncodedKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
167 } else if (key instanceof PublicKey && X509EncodedKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
DOpenSSLECKeyFactory.java90 if (key instanceof ECPublicKey && ECPublicKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
95 } else if (key instanceof PublicKey && ECPublicKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
105 && ECPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
110 } else if (key instanceof PrivateKey && ECPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
121 && PKCS8EncodedKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
131 } else if (key instanceof PublicKey && X509EncodedKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DKeyFactorySpi.java49 …if ((spec.isAssignableFrom(KeySpec.class) || spec.isAssignableFrom(RSAPublicKeySpec.class)) && key… in engineGetKeySpec()
55 …else if ((spec.isAssignableFrom(KeySpec.class) || spec.isAssignableFrom(RSAPrivateCrtKeySpec.class… in engineGetKeySpec()
66 …else if ((spec.isAssignableFrom(KeySpec.class) || spec.isAssignableFrom(RSAPrivateKeySpec.class)) … in engineGetKeySpec()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DKeyFactorySpi.java45 …if ((spec.isAssignableFrom(KeySpec.class) || spec.isAssignableFrom(RSAPublicKeySpec.class)) && key… in engineGetKeySpec()
51 …else if ((spec.isAssignableFrom(KeySpec.class) || spec.isAssignableFrom(RSAPrivateCrtKeySpec.class… in engineGetKeySpec()
62 …else if ((spec.isAssignableFrom(KeySpec.class) || spec.isAssignableFrom(RSAPrivateKeySpec.class)) … in engineGetKeySpec()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DKeyFactorySpi.java49 …if ((spec.isAssignableFrom(KeySpec.class) || spec.isAssignableFrom(RSAPublicKeySpec.class)) && key… in engineGetKeySpec()
55 …else if ((spec.isAssignableFrom(KeySpec.class) || spec.isAssignableFrom(RSAPrivateCrtKeySpec.class… in engineGetKeySpec()
66 …else if ((spec.isAssignableFrom(KeySpec.class) || spec.isAssignableFrom(RSAPrivateKeySpec.class)) … in engineGetKeySpec()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DAbstractDeserializer.java71 _acceptString = cls.isAssignableFrom(String.class); in AbstractDeserializer()
72 _acceptBoolean = (cls == Boolean.TYPE) || cls.isAssignableFrom(Boolean.class); in AbstractDeserializer()
73 _acceptInt = (cls == Integer.TYPE) || cls.isAssignableFrom(Integer.class); in AbstractDeserializer()
74 _acceptDouble = (cls == Double.TYPE) || cls.isAssignableFrom(Double.class); in AbstractDeserializer()
89 _acceptString = cls.isAssignableFrom(String.class); in AbstractDeserializer()
90 _acceptBoolean = (cls == Boolean.TYPE) || cls.isAssignableFrom(Boolean.class); in AbstractDeserializer()
91 _acceptInt = (cls == Integer.TYPE) || cls.isAssignableFrom(Integer.class); in AbstractDeserializer()
92 _acceptDouble = (cls == Double.TYPE) || cls.isAssignableFrom(Double.class); in AbstractDeserializer()
/external/guice/core/src/com/google/inject/
DTypeLiteral.java239 supertype.isAssignableFrom(rawType), "%s is not a supertype of %s", supertype, this.type); in getSupertype()
251 field.getDeclaringClass().isAssignableFrom(rawType), in getFieldType()
270 method.getDeclaringClass().isAssignableFrom(rawType), in getParameterTypes()
279 constructor.getDeclaringClass().isAssignableFrom(rawType), in getParameterTypes()
304 method.getDeclaringClass().isAssignableFrom(rawType), in getExceptionTypes()
313 constructor.getDeclaringClass().isAssignableFrom(rawType), in getExceptionTypes()
334 method.getDeclaringClass().isAssignableFrom(rawType), in getReturnType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ext/
DOptionalHandlerFactory.java91 if ((CLASS_DOM_NODE != null) && CLASS_DOM_NODE.isAssignableFrom(rawType)) { in findSerializer()
129 if ((CLASS_DOM_NODE != null) && CLASS_DOM_NODE.isAssignableFrom(rawType)) { in findDeserializer()
132 if ((CLASS_DOM_DOCUMENT != null) && CLASS_DOM_DOCUMENT.isAssignableFrom(rawType)) { in findDeserializer()
151 if ((CLASS_DOM_NODE != null) && CLASS_DOM_NODE.isAssignableFrom(valueType)) { in hasDeserializerFor()
154 if ((CLASS_DOM_DOCUMENT != null) && CLASS_DOM_DOCUMENT.isAssignableFrom(valueType)) { in hasDeserializerFor()
/external/jcommander/src/main/java/com/beust/jcommander/
DParameterDescription.java50 if (! Map.class.isAssignableFrom(parameterized.getType())) { in ParameterDescription()
120 if (Enum.class.isAssignableFrom(parameterized.getType()) in init()
242 boolean isCollection = Collection.class.isAssignableFrom(type); in addValue()
368 if (IParameterValidator2.class.isAssignableFrom(validator)) { in validateParameter()
389 if (SortedSet.class.isAssignableFrom(type)) return new TreeSet(); in newCollection()
390 else if (LinkedHashSet.class.isAssignableFrom(type)) return new LinkedHashSet(); in newCollection()
391 else if (Set.class.isAssignableFrom(type)) return new HashSet(); in newCollection()
392 else if (List.class.isAssignableFrom(type)) return new ArrayList(); in newCollection()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyFactorySpi.java73 …if ((spec.isAssignableFrom(KeySpec.class) || spec.isAssignableFrom(java.security.spec.ECPublicKeyS… in engineGetKeySpec()
87 …else if ((spec.isAssignableFrom(KeySpec.class) || spec.isAssignableFrom(java.security.spec.ECPriva… in engineGetKeySpec()
102 …else if (spec.isAssignableFrom(org.bouncycastle.jce.spec.ECPublicKeySpec.class) && key instanceof … in engineGetKeySpec()
116 …else if (spec.isAssignableFrom(org.bouncycastle.jce.spec.ECPrivateKeySpec.class) && key instanceof… in engineGetKeySpec()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyFactorySpi.java77 …if ((spec.isAssignableFrom(KeySpec.class) || spec.isAssignableFrom(java.security.spec.ECPublicKeyS… in engineGetKeySpec()
91 …else if ((spec.isAssignableFrom(KeySpec.class) || spec.isAssignableFrom(java.security.spec.ECPriva… in engineGetKeySpec()
106 …else if (spec.isAssignableFrom(com.android.org.bouncycastle.jce.spec.ECPublicKeySpec.class) && key… in engineGetKeySpec()
120 …else if (spec.isAssignableFrom(com.android.org.bouncycastle.jce.spec.ECPrivateKeySpec.class) && ke… in engineGetKeySpec()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DCheckedProvideUtils.java88 if (RuntimeException.class.isAssignableFrom(exActual) in validateExceptions()
89 || Error.class.isAssignableFrom(exActual)) { in validateExceptions()
95 if (exExpected.isAssignableFrom(exActual)) { in validateExceptions()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DFilteredBeanPropertyWriter.java68 if (activeView == null || _view.isAssignableFrom(activeView)) { in serializeAsField()
80 if (activeView == null || _view.isAssignableFrom(activeView)) { in serializeAsElement()
92 if (activeView == null || _view.isAssignableFrom(activeView)) { in depositSchemaProperty()
167 if (_views[i].isAssignableFrom(activeView)) { in _inView()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DSimpleType.java106 if (Map.class.isAssignableFrom(cls)) { in construct()
109 if (Collection.class.isAssignableFrom(cls)) { in construct()
132 if (!_class.isAssignableFrom(subclass)) { in _narrow()
146 if ((next != null) && _class.isAssignableFrom(next)) { in _narrow()
158 if (_class.isAssignableFrom(iface)) { // indirect, so recurse in _narrow()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DFieldType.java179 return javaType.getType().isAssignableFrom(field.getType()); in isValidForField()
185 if (!javaType.getType().isAssignableFrom(clazz)) { in isValidForList()
199 return elementType.isAssignableFrom((Class<?>) listParameter); in isValidForList()
239 if (List.class.isAssignableFrom(rawType)) { in getGenericSuperList()
250 if (List.class.isAssignableFrom(rawType)) { in getGenericSuperList()
315 if (List.class.isAssignableFrom(iface)) { in getListParameter()
DGeneratedMessageInfoFactory.java48 return GeneratedMessageLite.class.isAssignableFrom(messageType); in isSupported()
53 if (!GeneratedMessageLite.class.isAssignableFrom(messageType)) { in messageInfoFor()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/ec/
DKeyFactorySpi.java77 …if ((spec.isAssignableFrom(KeySpec.class) || spec.isAssignableFrom(java.security.spec.ECPublicKeyS… in engineGetKeySpec()
91 …else if ((spec.isAssignableFrom(KeySpec.class) || spec.isAssignableFrom(java.security.spec.ECPriva… in engineGetKeySpec()
106 …else if (spec.isAssignableFrom(com.android.internal.org.bouncycastle.jce.spec.ECPublicKeySpec.clas… in engineGetKeySpec()
120 …else if (spec.isAssignableFrom(com.android.internal.org.bouncycastle.jce.spec.ECPrivateKeySpec.cla… in engineGetKeySpec()
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
DMethodDescriptor.java210 if (type.isAssignableFrom(Boolean.class)) { in convertParameter()
213 if (type.isAssignableFrom(Boolean[].class)) { in convertParameter()
216 if (type.isAssignableFrom(String.class)) { in convertParameter()
219 if (type.isAssignableFrom(String[].class)) { in convertParameter()
222 if (type.isAssignableFrom(Integer.class)) { in convertParameter()
225 if (type.isAssignableFrom(Integer[].class)) { in convertParameter()
228 if (type.isAssignableFrom(Bundle.class)) { in convertParameter()
231 if (type.isAssignableFrom(Parcelable.class)) { in convertParameter()
234 if (type.isAssignableFrom(Parcelable[].class)) { in convertParameter()
237 if (type.isAssignableFrom(Intent.class)) { in convertParameter()

12345678910>>...13