Home
last modified time | relevance | path

Searched refs:ClassLoader (Results 1 – 25 of 149) sorted by relevance

123456

/libcore/support/src/test/java/tests/support/
DSupport_ClassLoader.java31 public abstract ClassLoader getClassLoader(URL url, ClassLoader parent); in getClassLoader()
33 public static ClassLoader getInstance(URL url, ClassLoader parent) { in getInstance()
68 public ClassLoader getClassLoader(URL url, ClassLoader parent) { in getClassLoader()
80 public ClassLoader getClassLoader(URL url, ClassLoader parent) { in getClassLoader()
/libcore/libart/src/main/java/dalvik/system/
DVMStack.java32 native public static ClassLoader getCallingClassLoader(); in getCallingClassLoader()
54 public native static ClassLoader getClosestUserClassLoader(ClassLoader bootstrap, in getClosestUserClassLoader()
55 ClassLoader system); in getClosestUserClassLoader()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassLoaderTest.java33 private ClassLoader testClassLoader;
47 ClassLoader cl = ClassLoader.getSystemClassLoader(); in test_getSystemClassLoader()
84 ClassLoader parentClassLoader = testClassLoader.getParent(); in test_testClassLoader_getResourceLjava_lang_String()
102 ClassLoader parentClassLoader = testClassLoader.getParent(); in test_testClassLoader_getResourceAsStreamLjava_lang_String()
116 ClassLoader parentClassLoader = testClassLoader.getParent(); in test_testClassLoader_loadClass()
133 private static void assertGetResourceAsStreamNotNull(ClassLoader classLoader, in assertGetResourceAsStreamNotNull()
146 private static void assertGetResourceIsValid(ClassLoader classLoader, String resourceName) { in assertGetResourceIsValid()
/libcore/support/src/test/java/tests/util/
DClassLoaderBuilder.java35 private ClassLoader parent = ClassLoaderBuilder.class.getClassLoader();
39 public ClassLoaderBuilder parent(ClassLoader parent) { in parent()
63 public ClassLoader build() { in build()
82 ClassLoader bridge = new ClassLoader(parent) { in build()
106 return (ClassLoader) Class.forName("dalvik.system.PathClassLoader") in build()
107 .getConstructor(String.class, ClassLoader.class) in build()
127 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); in getApplicationClassPath()
/libcore/libart/src/main/java/java/lang/
DClassLoader.java65 public abstract class ClassLoader { class
81 public static ClassLoader loader = ClassLoader.createSystemClassLoader();
87 private ClassLoader parent;
111 private static ClassLoader createSystemClassLoader() { in createSystemClassLoader()
136 public static ClassLoader getSystemClassLoader() { in getSystemClassLoader()
189 protected ClassLoader() { in ClassLoader() method in ClassLoader
201 protected ClassLoader(ClassLoader parentLoader) { in ClassLoader() method in ClassLoader
208 ClassLoader(ClassLoader parentLoader, boolean nullAllowed) { in ClassLoader() method in ClassLoader
357 ClassLoader loader; in findLoadedClass()
384 public final ClassLoader getParent() { in getParent()
[all …]
/libcore/luni/src/main/java/java/util/
DServiceLoader.java74 private final ClassLoader classLoader;
77 private ServiceLoader(Class<S> service, ClassLoader classLoader) { in ServiceLoader()
118 public static <S> ServiceLoader<S> load(Class<S> service, ClassLoader classLoader) { in load()
120 classLoader = ClassLoader.getSystemClassLoader(); in load()
152 ClassLoader cl = ClassLoader.getSystemClassLoader(); in loadInstalled()
171 Class<?> c = ClassLoader.getSystemClassLoader().loadClass(className); in loadFromSystemProperty()
186 private final ClassLoader classLoader;
/libcore/luni/src/main/java/org/xml/sax/helpers/
DNewInstance.java41 static Object newInstance (ClassLoader classLoader, String className) in newInstance()
58 static ClassLoader getClassLoader () in getClassLoader()
70 return (ClassLoader) m.invoke(Thread.currentThread()); in getClassLoader()
DXMLReaderFactory.java110 ClassLoader loader = NewInstance.getClassLoader (); in createXMLReader()
124 in = ClassLoader.getSystemResourceAsStream (service); in createXMLReader()
185 private static XMLReader loadClass (ClassLoader loader, String className) in loadClass()
/libcore/luni/src/main/java/javax/xml/datatype/
DFactoryFinder.java96 private static ClassLoader findClassLoader() throws ConfigurationError { in findClassLoader()
100 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); in findClassLoader()
130 ClassLoader classLoader) in newInstance()
169 ClassLoader classLoader = findClassLoader(); in find()
232 ClassLoader cl = Thread.currentThread().getContextClassLoader(); in findJarServiceProvider()
321 ClassLoader loader = clazz.getClassLoader(); in which()
328 it = ClassLoader.getSystemResource(classnameAsResource); in which()
/libcore/dalvik/src/main/java/dalvik/system/
DPathClassLoader.java37 public PathClassLoader(String dexPath, ClassLoader parent) { in PathClassLoader()
64 ClassLoader parent) { in PathClassLoader()
/libcore/luni/src/main/java/java/security/
DProtectionDomain.java26 …public ProtectionDomain(CodeSource cs, PermissionCollection permissions, ClassLoader cl, Principal… in ProtectionDomain()
28 public final ClassLoader getClassLoader() { return null; } in getClassLoader()
/libcore/luni/src/main/java/java/sql/
DDriverManager.java90 .forName(element, true, ClassLoader in loadInitialDrivers()
123 ClassLoader callerClassLoader = VMStack.getCallingClassLoader(); in deregisterDriver()
227 ClassLoader callerClassLoader = VMStack.getCallingClassLoader(); in getDriver()
259 ClassLoader callerClassLoader = VMStack.getCallingClassLoader(); in getDrivers()
388 ClassLoader theClassLoader) { in isClassFromClassLoader()
/libcore/luni/src/main/java/java/lang/
DPackage.java178 ClassLoader classloader = VMStack.getCallingClassLoader(); in getPackage()
180 classloader = ClassLoader.getSystemClassLoader(); in getPackage()
192 ClassLoader classloader = VMStack.getCallingClassLoader(); in getPackages()
194 classloader = ClassLoader.getSystemClassLoader(); in getPackages()
/libcore/dom/src/test/java/org/w3c/domts/level3/core/
DTestOracle.java41 ClassLoader.getSystemClassLoader().loadClass( in suite()
48 (DocumentBuilderFactory) ClassLoader in suite()
DTestXercesAltConfig.java36 ClassLoader.getSystemClassLoader().loadClass( in suite()
43 (DocumentBuilderFactory) ClassLoader in suite()
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
DTestGNUJAXP.java31 …Class testClass = ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level2.core.alltests… in suite()
36 ClassLoader.getSystemClassLoader(). in suite()
DTestCrimson.java31 …Class testClass = ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level2.core.alltests… in suite()
35ClassLoader.getSystemClassLoader().loadClass("org.apache.crimson.jaxp.DocumentBuilderFactoryImpl")… in suite()
DTestGNUJAXPAltConfig.java31 …Class testClass = ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level2.core.alltests… in suite()
35 ClassLoader.getSystemClassLoader(). in suite()
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
DTestCrimson.java31 …Class testClass = ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level1.core.alltests… in suite()
35ClassLoader.getSystemClassLoader().loadClass("org.apache.crimson.jaxp.DocumentBuilderFactoryImpl")… in suite()
DTestXerces.java31 …Class testClass = ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level1.core.alltests… in suite()
35ClassLoader.getSystemClassLoader().loadClass("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl").… in suite()
DTestGNUJAXP.java31 …Class testClass = ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level1.core.alltests… in suite()
36 ClassLoader.getSystemClassLoader(). in suite()
DTestGNUJAXPAltConfig.java31 …Class testClass = ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level1.core.alltests… in suite()
35 ClassLoader.getSystemClassLoader(). in suite()
/libcore/dom/src/test/java/org/w3c/domts/level3/ls/
DTestOracle.java44 ClassLoader.getSystemClassLoader().loadClass( in suite()
51 (DocumentBuilderFactory) ClassLoader in suite()
/libcore/dom/src/test/java/org/w3c/domts/level2/events/
DTestXercesAltConfig.java31 …Class testClass = ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level2.events.alltes… in suite()
35ClassLoader.getSystemClassLoader().loadClass("org.apache.xerces.jaxp.DocumentBuilderFactoryImpl").… in suite()
DTestOracleAltConfig.java40 ClassLoader.getSystemClassLoader().loadClass( in suite()
47 (DocumentBuilderFactory) ClassLoader in suite()

123456