/external/junit-params/src/main/java/junitparams/internal/ |
D | InvokeParameterisedMethod.java | 159 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/guava/guava-tests/test/com/google/common/reflect/ |
D | TypeTokenTest.java | 296 if (left.isAssignableFrom(right)) { in assertSubtypeTokenBeforeSupertypeToken() 310 if (left.isAssignableFrom(right)) { in assertSubtypeBeforeSupertype() 578 assertTrue(tokL.isAssignableFrom(List.class)); in testAssignableClassToClass() 579 assertTrue(tokL.isAssignableFrom(ArrayList.class)); in testAssignableClassToClass() 580 assertFalse(tokL.isAssignableFrom(List[].class)); in testAssignableClassToClass() 583 assertTrue(tokN.isAssignableFrom(Number.class)); in testAssignableClassToClass() 584 assertTrue(tokN.isAssignableFrom(Integer.class)); in testAssignableClassToClass() 588 assertTrue(TypeToken.of(Object.class).isAssignableFrom( in testAssignableParameterizedTypeToObject() 590 assertFalse(TypeToken.of(int.class).isAssignableFrom( in testAssignableParameterizedTypeToObject() 595 assertTrue(new TypeToken<T[]>() {}.isAssignableFrom(new TypeToken<T[]>() {})); in testAssignableGenericArrayToGenericArray() [all …]
|
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/ |
D | ChannelAndServerBuilderTest.java | 63 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/ |
D | Junit4.java | 47 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/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/ |
D | Constructor.java | 153 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/ |
D | OpenSSLRSAKeyFactory.java | 96 if (key instanceof RSAPublicKey && RSAPublicKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 101 } else if (key instanceof PublicKey && RSAPublicKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 112 && RSAPrivateCrtKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 121 && RSAPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 127 && RSAPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 133 && RSAPrivateCrtKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 151 } else if (key instanceof PrivateKey && RSAPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 162 && PKCS8EncodedKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 172 } else if (key instanceof PublicKey && X509EncodedKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
|
D | OpenSSLECKeyFactory.java | 94 if (key instanceof ECPublicKey && ECPublicKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 99 } else if (key instanceof PublicKey && ECPublicKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 109 && ECPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 114 } else if (key instanceof PrivateKey && ECPrivateKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 125 && PKCS8EncodedKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec() 135 } else if (key instanceof PublicKey && X509EncodedKeySpec.class.isAssignableFrom(keySpec)) { in engineGetKeySpec()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLRSAKeyFactory.java | 91 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()
|
D | OpenSSLECKeyFactory.java | 90 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/jcommander/src/main/java/com/beust/jcommander/ |
D | ParameterDescription.java | 58 if (! Map.class.isAssignableFrom(parameterized.getType())) { in ParameterDescription() 132 if (Enum.class.isAssignableFrom(parameterized.getType()) in init() 243 boolean isCollection = Collection.class.isAssignableFrom(type); in addValue() 301 if (IParameterValidator2.class.isAssignableFrom(validator)) { in validateParameter() 324 if (SortedSet.class.isAssignableFrom(type)) return new TreeSet(); in newCollection() 325 else if (LinkedHashSet.class.isAssignableFrom(type)) return new LinkedHashSet(); in newCollection() 326 else if (Set.class.isAssignableFrom(type)) return new HashSet(); in newCollection() 327 else if (List.class.isAssignableFrom(type)) return new ArrayList(); in newCollection()
|
/external/guice/core/src/com/google/inject/ |
D | TypeLiteral.java | 239 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/sl4a/Common/src/com/googlecode/android_scripting/rpc/ |
D | MethodDescriptor.java | 210 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()
|
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/ |
D | CheckedProvideUtils.java | 88 if (RuntimeException.class.isAssignableFrom(exActual) in validateExceptions() 89 || Error.class.isAssignableFrom(exActual)) { in validateExceptions() 95 if (exExpected.isAssignableFrom(exActual)) { in validateExceptions()
|
/external/testng/src/main/java/org/testng/junit/ |
D | JUnit4TestRecognizer.java | 18 if (RunWith.class.isAssignableFrom(an.annotationType())) { in isTest() 25 if (org.junit.Test.class.isAssignableFrom(a.annotationType())) { in isTest()
|
D | JUnit3TestRecognizer.java | 18 if (Test.class.isAssignableFrom(c)) { in isTest() 34 return m.getReturnType().isAssignableFrom(Test.class); in isTest()
|
/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
D | ImageViewTargetFactory.java | 17 if (GlideDrawable.class.isAssignableFrom(clazz)) { in buildTarget() 21 } else if (Drawable.class.isAssignableFrom(clazz)) { in buildTarget()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | KeyFactorySpi.java | 71 … if (spec.isAssignableFrom(java.security.spec.ECPublicKeySpec.class) && key instanceof ECPublicKey) in engineGetKeySpec() 85 …else if (spec.isAssignableFrom(java.security.spec.ECPrivateKeySpec.class) && key instanceof ECPriv… in engineGetKeySpec() 100 …else if (spec.isAssignableFrom(org.bouncycastle.jce.spec.ECPublicKeySpec.class) && key instanceof … in engineGetKeySpec() 114 …else if (spec.isAssignableFrom(org.bouncycastle.jce.spec.ECPrivateKeySpec.class) && key instanceof… in engineGetKeySpec()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/partialconstruct/ |
D | FragmentComposer.java | 37 if (!MappingNode.class.isAssignableFrom(node.getClass())) { in getSingleNode() 44 if (ScalarNode.class.isAssignableFrom(keyNode.getClass())) { in getSingleNode()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | KeyFactorySpi.java | 45 if (spec.isAssignableFrom(RSAPublicKeySpec.class) && key instanceof RSAPublicKey) in engineGetKeySpec() 51 …else if (spec.isAssignableFrom(RSAPrivateKeySpec.class) && key instanceof java.security.interfaces… in engineGetKeySpec() 57 … else if (spec.isAssignableFrom(RSAPrivateCrtKeySpec.class) && key instanceof RSAPrivateCrtKey) in engineGetKeySpec()
|
/external/junit/src/main/java/org/junit/experimental/theories/ |
D | ParameterSignature.java | 71 return type.isAssignableFrom(candidate) || in canAcceptType() 76 return candidate.isAssignableFrom(type) || in canPotentiallyAcceptType() 84 return targetType.isAssignableFrom(wrapperClass); in isAssignableViaTypeConversion()
|
/external/junit-params/src/main/java/junitparams/internal/parameters/ |
D | ParamsFromMethodCommon.java | 65 if (Object[].class.isAssignableFrom(result.getClass())) { in invokeParamsProvidingMethod() 70 if (Iterable.class.isAssignableFrom(result.getClass())) { in invokeParamsProvidingMethod() 85 if (Iterator.class.isAssignableFrom(result.getClass())) { in invokeParamsProvidingMethod()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/ |
D | CryptoServicesRegistrar.java | 206 if (property.type.isAssignableFrom(DHParameters.class)) in getSizedProperty() 218 else if (property.type.isAssignableFrom(DSAParameters.class)) in getSizedProperty() 247 if (!property.type.isAssignableFrom(propertyValue[0].getClass())) in setThreadProperty() 286 if (!property.type.isAssignableFrom(propertyValue[0].getClass())) in localSetGlobalProperty()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
D | CryptoServicesRegistrar.java | 204 if (property.type.isAssignableFrom(DHParameters.class)) in getSizedProperty() 216 else if (property.type.isAssignableFrom(DSAParameters.class)) in getSizedProperty() 245 if (!property.type.isAssignableFrom(propertyValue[0].getClass())) in setThreadProperty() 284 if (!property.type.isAssignableFrom(propertyValue[0].getClass())) in localSetGlobalProperty()
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
D | CoreLibrarySupport.java | 245 || emulatedInterfaces.stream().anyMatch(emulated -> emulated.isAssignableFrom(result))) { in getCoreInterfaceRewritingTarget() 255 emulated -> emulated.isAssignableFrom(clazz) && result.isAssignableFrom(emulated)) in getCoreInterfaceRewritingTarget() 286 if (emulatedInterfaces.stream().anyMatch(itf -> itf.isAssignableFrom(clazz))) { in getEmulatedCoreClassOrInterface() 301 checkState(group.stream().map(m -> m.owner()).allMatch(o -> root.isAssignableFrom(o)), in makeDispatchHelpers() 326 .filter(o -> o != owner && owner.isAssignableFrom(o)) in makeDispatchHelpers() 346 if (!root.isAssignableFrom(target)) { in findCustomOverrides()
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/ |
D | InvocationInfo.java | 25 if (exception.isAssignableFrom(throwableClass)) { in isValidException() 37 return method.getReturnType().isAssignableFrom(clazz); in isValidReturnType()
|