/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ProxyTest.java | 73 .getClassLoader(), new Class[] { Support_Proxy_I1.class }); in test_getProxyClassLjava_lang_ClassLoader$Ljava_lang_Class() 85 Proxy.getProxyClass(Support_Proxy_I1.class.getClassLoader(), in test_getProxyClassLjava_lang_ClassLoader$Ljava_lang_Class() 92 Proxy.getProxyClass(Support_Proxy_I1.class.getClassLoader(), in test_getProxyClassLjava_lang_ClassLoader$Ljava_lang_Class() 120 .getClassLoader(), new Class[] { Support_Proxy_I1.class, in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() 175 .getClassLoader(), new Class[] { Broken1.class }, in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler() 187 .getClassLoader(), new Class[] { Support_Proxy_I1.class }); in test_isProxyClassLjava_lang_Class() 228 .getClassLoader(), new Class[] { Support_Proxy_I1.class }, in test_getInvocationHandlerLjava_lang_Object() 243 .newProxyInstance(this.getClass().getClassLoader(), in test_newProxyInstance_withCompatibleReturnTypes() 252 Proxy.newProxyInstance(this.getClass().getClassLoader(), in test_newProxyInstance_withNonCompatibleReturnTypes() 266 …Class<?> c = Proxy.getProxyClass(myImpl.getClass().getClassLoader(), myImpl.getClass().getInterfac… in test_ProxyClass_withParentAndSubInThrowList()
|
D | GenericSignatureFormatErrorTest.java | 73 getClass().getClassLoader()); in test_signatureFormatError()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_ClassLoader.java | 29 public abstract ClassLoader getClassLoader(URL url, ClassLoader parent); in getClassLoader() method in Support_ClassLoader 44 return factory.getClassLoader(url, parent); in getInstance() 56 public ClassLoader getClassLoader(URL url, ClassLoader parent) { in getClassLoader() method in Support_ClassLoader.RefImpl
|
D | Support_ClassLoaderDalvik.java | 40 public ClassLoader getClassLoader(URL url, ClassLoader parent) { in getClassLoader() method in Support_ClassLoaderDalvik
|
/libcore/benchmarks/src/benchmarks/ |
D | ClassLoaderResourceBenchmark.java | 27 ClassLoader currentClassLoader = getClass().getClassLoader(); in timeGetBootResource_hit() 36 ClassLoader currentClassLoader = getClass().getClassLoader(); in timeGetBootResource_miss()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | PathClassLoaderTest.java | 53 applicationLibPath.toString(), getClass().getClassLoader()); in testLibraryPathSearchOrder() 70 ClassLoader pcl = PathClassLoaderTest.class.getClassLoader(); in extractResourceJar() 84 PathClassLoader cl = new PathClassLoader(jar.getPath(), Object.class.getClassLoader()); in testAppUseOfPathClassLoader() 101 f.getAbsolutePath(), this.getClass().getClassLoader()); in test_classLoader_tampered_certificate_loadsOK_nullCertificates() 127 Object.class.getClassLoader()); in test_classLoader_exceptionDuringLoading()
|
D | DelegateLastClassLoaderTest.java | 108 Object.class.getClassLoader()); in createClassLoader() 116 assertSame(cl, clazz.getClassLoader()); in callMethod() 145 assertSame(delegate, child.getClassLoader()); in testLookupOrder_foundInParent() 148 assertSame(delegate.getParent(), parent.getClassLoader()); in testLookupOrder_foundInParent() 260 assertNotSame(cl, clazz.getClassLoader()); in testLookupOrder_bootOverride()
|
D | BaseDexClassLoaderTest.java | 87 pcl = BaseDexClassLoaderTest.class.getClassLoader(); in extractTestJars() 332 ClassLoader parent = Object.class.getClassLoader(); in testGetResourceSharedLibraries1() 357 ClassLoader parent = Object.class.getClassLoader(); in testGetResourceSharedLibraries2() 382 ClassLoader parent = Object.class.getClassLoader(); in testGetResourceSharedLibraries3() 410 ClassLoader parent = Object.class.getClassLoader(); in testGetResourceSharedLibraries4() 438 ClassLoader parentParent = Object.class.getClassLoader(); in testGetResourceSharedLibraries5()
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | NewInstance.java | 58 static ClassLoader getClassLoader () in getClassLoader() method in NewInstance 66 return NewInstance.class.getClassLoader(); in getClassLoader()
|
D | XMLReaderFactory.java | 113 ClassLoader loader = NewInstance.getClassLoader (); in createXMLReader() 188 return loadClass (NewInstance.getClassLoader (), className); in createXMLReader()
|
D | ParserFactory.java | 124 NewInstance.getClassLoader (), className); in makeParser()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | DelegateLastClassLoader.java | 156 return Object.class.getClassLoader().loadClass(name); in loadClass() 185 URL resource = Object.class.getClassLoader().getResource(name); in getResource() 206 Object.class.getClassLoader().getResources(name), in getResources()
|
/libcore/luni/src/test/etc/loading-test-jar/ |
D | TestMethods.java | 127 ClassLoader cl = TestMethods.class.getClassLoader(); in test_getResourceAsStream() 183 ClassLoader cl = TestMethods.class.getClassLoader(); in test_diff_getResourceAsStream()
|
/libcore/ojluni/src/main/java/java/security/ |
D | ProtectionDomain.java | 47 public final ClassLoader getClassLoader() { return null; } in getClassLoader() method in ProtectionDomain
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | FactoryFinder.java | 128 classLoader = FactoryFinder.class.getClassLoader(); in findClassLoader() 242 cl = FactoryFinder.class.getClassLoader(); in findJarServiceProvider() 325 ClassLoader loader = clazz.getClassLoader(); in which()
|
/libcore/ojluni/src/main/java/java/net/ |
D | InetAddress.java | 1556 if (getClass().getClassLoader() != BOOT_CLASSLOADER) { in readObjectNoData() 1562 private static final ClassLoader BOOT_CLASSLOADER = Object.class.getClassLoader(); 1567 if (getClass().getClassLoader() != BOOT_CLASSLOADER) { in readObject() 1593 if (getClass().getClassLoader() != BOOT_CLASSLOADER) { in writeObject()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProtectionDomainTest.java | 57 ProtectionDomainTest.class.getClassLoader(), new Principal[0]); in setUp() 63 assertNull(domain.getClassLoader()); in testGetClassLoader()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldClassTest.java | 254 ClassLoader pcl = getClass().getClassLoader(); in test_forNameLjava_lang_StringLbooleanLClassLoader() 315 URL url = getClass().getClassLoader().getResource( in test_forNameLjava_lang_StringLbooleanLClassLoader_AndroidOnly() 319 getClass().getClassLoader()); in test_forNameLjava_lang_StringLbooleanLClassLoader_AndroidOnly() 334 true, getClass().getClassLoader()); in test_forNameLjava_lang_StringLbooleanLClassLoader_AndroidOnly() 488 getClass().getClassLoader()); in test_getPackage() 556 getClass().getClassLoader()); in test_getPackageName() 675 assertEquals(ExtendTestClass.class.getClassLoader(), in test_getClassLoader() 676 PublicTestClass.class.getClassLoader()); in test_getClassLoader() 678 assertNull(int.class.getClassLoader()); in test_getClassLoader() 679 assertNull(void.class.getClassLoader()); in test_getClassLoader() [all …]
|
/libcore/ojluni/src/main/java/sun/invoke/util/ |
D | VerifyAccess.java | 290 if (class1.getClassLoader() != class2.getClassLoader()) in isSamePackage()
|
/libcore/ojluni/src/main/java/sun/reflect/ |
D | Reflection.java | 214 return isSameClassPackage(c1.getClassLoader(), c1.getName(), in isSameClassPackage() 215 c2.getClassLoader(), c2.getName()); in isSameClassPackage()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestServiceLoader.java | 83 getClass().getClassLoader()); in test_copticServiceLoader()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | ObjectStreamClassTest.java | 160 .getClassLoader(), new Class[] { Runnable.class }); in test_specialTypes() 292 InputStream dexIs = this.getClass().getClassLoader(). in testClassWithSameFieldName() 299 Class<?> clazz = dexFile.loadClass("sameFieldNames", getClass().getClassLoader()); in testClassWithSameFieldName()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | tck.policy | 4 permission java.lang.RuntimePermission "getClassLoader";
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
D | XPathFactory.java | 146 classLoader = XPathFactory.class.getClassLoader(); in newInstance()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | FileSystemsTest.java | 97 FileSystems.newFileSystem(testPath.toUri(), stubEnv, getClass().getClassLoader()); in test_newFileSystem$URI$Map$ClassLoader() 190 return new PathClassLoader(jarFile.getAbsolutePath(), getClass().getClassLoader()); in createClassLoaderForTestFileSystems()
|