Home
last modified time | relevance | path

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

/libcore/junit/src/main/java/junit/extensions/
DExceptionTestCase.java39 if (fExpected.isAssignableFrom(e.getClass())) in runTest()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketFactoryTest.java35 assertTrue(SSLSocketFactory.class.isAssignableFrom(sf.getClass())); in test_SSLSocketFactory_getDefault()
75 assertTrue(SSLSocket.class.isAssignableFrom(ssl.getClass())); in test_SSLSocketFactory_createSocket()
DSSLContextTest.java144 assertTrue(SSLSocketFactory.class.isAssignableFrom(sf.getClass())); in test_SSLContext_getSocketFactory()
166 assertTrue(SSLServerSocketFactory.class.isAssignableFrom(ssf.getClass())); in test_SSLContext_getServerSocketFactory()
/libcore/luni/src/main/java/java/security/
DKeyStoreSpi.java474 .isAssignableFrom(Class in engineEntryInstanceOf()
479 if (entryClass.isAssignableFrom(Class in engineEntryInstanceOf()
484 if (entryClass.isAssignableFrom(Class in engineEntryInstanceOf()
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DNamedNodeMapImpl.java117 if (!type.isAssignableFrom(arg.getClass())) { in setNamedItem()
147 if (!type.isAssignableFrom(arg.getClass())) { in setNamedItemNS()
/libcore/junit/src/test/java/junit/runner/
DLoadingTestCollector.java45 if (Test.class.isAssignableFrom(testClass) && in isTestClass()
/libcore/luni/src/main/java/javax/security/auth/
DSubject.java584 if (permission == _PRINCIPALS && !(Principal.class.isAssignableFrom(o.getClass()))) { in verifyElement()
663 if (!c.isAssignableFrom(o.getClass())) { in get()
696 if (c.isAssignableFrom(o.getClass())) { in get()
/libcore/luni/src/main/java/java/io/
DEmulatedFields.java164 if (slot.field.getType().isAssignableFrom(fieldType)) { in findSlot()
177 || field.getType().isAssignableFrom( in findSlot()
DObjectStreamClass.java845 return EXTERNALIZABLE.isAssignableFrom(cl); in isExternalizable()
875 return SERIALIZABLE.isAssignableFrom(cl); in isSerializable()
888 isEnum = Enum.class.isAssignableFrom(cl); in resolveProperties()
DObjectInputStream.java1306 if (!fieldType.isAssignableFrom(valueType)) { in readFieldValues()
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
DOpenSSLServerSocketImpl.java269 return (key != null && keyClass.isAssignableFrom(key.getClass())); in checkForPrivateKey()
/libcore/junit/src/main/java/junit/framework/
DTestSuite.java72 while (Test.class.isAssignableFrom(superClass)) { in TestSuite()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/
DClassTest.java1491 clazz1.isAssignableFrom(clazz2)); in test_isAssignableFromLjava_lang_Class()
1495 clazz1.isAssignableFrom(clazz1)); in test_isAssignableFromLjava_lang_Class()
1500 clazz1.isAssignableFrom(clazz2)); in test_isAssignableFromLjava_lang_Class()
1503 Integer.class.isAssignableFrom(String.class)); in test_isAssignableFromLjava_lang_Class()
1506 clazz1.isAssignableFrom(null); in test_isAssignableFromLjava_lang_Class()
/libcore/luni/src/main/java/java/lang/
DClass.java1311 public native boolean isAssignableFrom(Class<?> cls); in isAssignableFrom() method in Class
1467 if (clazz.isAssignableFrom(this)) { in asSubclass()
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/
DPolicyUtils.java196 if (expectedType != null && klass.isAssignableFrom(expectedType)){ in run()
/libcore/luni/src/main/java/java/util/
DResourceBundle.java539 if (ResourceBundle.class.isAssignableFrom(bundleClass)) {