/packages/apps/Email/emailcommon/src/org/apache/commons/io/input/ |
ClassLoaderObjectInputStream.java | 27 * <code>ClassLoader</code> rather than the system default.
38 private ClassLoader classLoader;
43 * @param classLoader the ClassLoader from which classes should be loaded
49 ClassLoader classLoader, InputStream inputStream)
52 this.classLoader = classLoader;
57 * specified ClassLoader or the super ClassLoader. [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/ |
ClassLoaderResourceLoader.java | 53 private final ClassLoader classLoader; 56 public ClassLoaderResourceLoader(ClassLoader classLoader, String basePath) { 57 this.classLoader = classLoader; 61 public ClassLoaderResourceLoader(ClassLoader classLoader) { 62 this(classLoader, "."); 68 InputStream stream = classLoader.getResourceAsStream(path) [all...] |
/libcore/luni/src/main/java/javax/xml/xpath/ |
XPathFactory.java | 47 * or {@link #newInstance(String uri, String factoryClassName, ClassLoader classLoader)} 145 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); 146 if (classLoader == null) { 148 classLoader = XPathFactory.class.getClassLoader(); 150 XPathFactory xpathFactory = new XPathFactoryFinder(classLoader).newFactory(uri); 168 ClassLoader classLoader) throws XPathFactoryConfigurationException { 182 if (classLoader == null) [all...] |
XPathFactoryFinder.java | 80 * <p><code>ClassLoader</code> to use to find <code>SchemaFactory</code>.</p> 82 private final ClassLoader classLoader; 85 * <p>Constructor that specifies <code>ClassLoader</code> to use 95 public XPathFactoryFinder(ClassLoader loader) { 96 this.classLoader = loader; 103 if (classLoader == Thread.currentThread().getContextClassLoader()) { 104 debugPrintln("using thread context class loader (" + classLoader + ") for search"); 108 if (classLoader==ClassLoader.getSystemClassLoader()) [all...] |
/dalvik/vm/native/ |
java_lang_Runtime.cpp | 64 * static String nativeLoad(String filename, ClassLoader loader) 74 Object* classLoader = (Object*) args[1]; 83 success = dvmLoadNativeCode(fileName, classLoader, &reason); 142 { "nativeLoad", "(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/String;",
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
RemoteControlHelper.java | 39 ClassLoader classLoader = RemoteControlHelper.class.getClassLoader(); 41 RemoteControlClientCompat.getActualRemoteControlClientClass(classLoader);
|
RemoteControlClientCompat.java | 52 ClassLoader classLoader = RemoteControlClientCompat.class.getClassLoader(); 53 sRemoteControlClientClass = getActualRemoteControlClientClass(classLoader); 92 public static Class getActualRemoteControlClientClass(ClassLoader classLoader) 94 return classLoader.loadClass("android.media.RemoteControlClient");
|
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/ |
PrecompiledTemplateLoader.java | 57 ClassLoader classLoader = getClass().getClassLoader(); 60 BaseCompiledTemplate compiledTemplate = loadTemplateObject(className, classLoader); 80 protected BaseCompiledTemplate loadTemplateObject(String className, ClassLoader classLoader) { 82 Class<?> templateClass = classLoader.loadClass(className);
|
PrecompiledTemplateMapFileReader.java | 135 ClassLoader classLoader = getClass().getClassLoader(); 136 InputStream in = classLoader.getResourceAsStream(templateMapFile);
|
/external/jsilver/src/org/clearsilver/ |
FactoryLoader.java | 106 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); 108 loadClass(factoryClassName, classLoader); 120 ClassLoader classLoader) throws ClassNotFoundException { 122 classLoader);
|
/frameworks/base/tools/preload/ |
Record.java | 64 final int classLoader; 106 classLoader = Integer.parseInt(parts[4]);
|
/libcore/support/src/test/java/tests/util/ |
ClassLoaderBuilder.java | 35 private ClassLoader parent = ClassLoaderBuilder.class.getClassLoader(); 39 public ClassLoaderBuilder parent(ClassLoader parent) { 63 public ClassLoader build() { 82 ClassLoader bridge = new ClassLoader(parent) { 106 return (ClassLoader) Class.forName("dalvik.system.PathClassLoader") 107 .getConstructor(String.class, ClassLoader.class) 127 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); 128 URL manifest = classLoader.getResource(manifestFile) [all...] |
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
MonkeyRunnerStarter.java | 115 URLClassLoader classLoader = new URLClassLoader(new URL[] { url }, 116 ClassLoader.getSystemClassLoader()); 119 clz = Class.forName(pluginClass, true, classLoader);
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/ |
SubjectDomainCombinerTest.java | 93 ClassLoader classLoader = new URLClassLoader(new URL[] { url }); 103 classLoader, principals); 110 assertSame("ClassLoader", classLoader, pd[0].getClassLoader());
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
TestDelegates.java | 70 ClassLoader classLoader = TestDelegates.class.getClassLoader(); 71 Class<?> originalClass = classLoader.loadClass(originalClassName); 72 Class<?> delegateClass = classLoader.loadClass(delegateClassName);
|
/libcore/dom/src/test/java/org/w3c/domts/ |
BatikTestDocumentBuilderFactory.java | 83 ClassLoader classLoader = ClassLoader.getSystemClassLoader(); 85 classLoader.loadClass( 156 ClassLoader.getSystemClassLoader().loadClass(
|
DOM4JTestDocumentBuilderFactory.java | 68 ClassLoader classLoader = ClassLoader.getSystemClassLoader(); 69 Class domFactoryClass = classLoader.loadClass( 74 Class saxReaderClass = classLoader.loadClass("org.dom4j.io.SAXReader"); 76 new Class[] {classLoader.loadClass("org.dom4j.DocumentFactory")});
|
JTidyDocumentBuilderFactory.java | 47 ClassLoader classLoader = ClassLoader.getSystemClassLoader(); 48 Class tidyClass = classLoader.loadClass("org.w3c.tidy.Tidy");
|
/libcore/luni/src/main/java/java/util/ |
ServiceLoader.java | 74 private final ClassLoader classLoader; 77 private ServiceLoader(Class<S> service, ClassLoader classLoader) { 79 // classLoader is null if you want the system class loader. 84 this.classLoader = classLoader; 111 * Constructs a service loader. If {@code classLoader} is null, the system class loader 115 * @param classLoader the class loader 118 public static <S> ServiceLoader<S> load(Class<S> service, ClassLoader classLoader) [all...] |
/external/javassist/src/main/javassist/bytecode/annotation/ |
AnnotationImpl.java | 43 private ClassLoader classLoader; 68 public static Object make(ClassLoader cl, Class clazz, ClassPool cp, 74 private AnnotationImpl(Annotation a, ClassPool cp, ClassLoader loader) { 77 classLoader = loader; 99 annotationType = classLoader.loadClass(typeName); 148 return mv.getValue(classLoader, pool, method); 166 return mv.getValue(classLoader, pool, method); 200 value = mv.getValue(classLoader, pool, methods[i]); 260 value = mv.getValue(classLoader, pool, methods[i]) [all...] |
/external/javassist/src/main/javassist/scopedpool/ |
ScopedClassPool.java | 39 protected WeakReference classLoader; 56 * the classloader 63 protected ScopedClassPool(ClassLoader cl, ClassPool src, 72 * the classloader 80 protected ScopedClassPool(ClassLoader cl, ClassPool src, ScopedClassPoolRepository repository, boolean isTemp) 84 this.classLoader = new WeakReference(cl); 101 public ClassLoader getClassLoader() { 102 ClassLoader cl = getClassLoader0(); 106 "ClassLoader has been garbage collected"); 111 protected ClassLoader getClassLoader0() [all...] |
/frameworks/base/test-runner/src/android/test/ |
ClassPathPackageInfoSource.java | 43 private static final ClassLoader CLASS_LOADER 60 private ClassLoader classLoader; 89 (classLoader != null) ? classLoader : CLASS_LOADER)); 309 public void setClassLoader(ClassLoader classLoader) { 310 this.classLoader = classLoader;
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
TestGrouping.java | 60 private ClassLoader classLoader; 153 ClassPathPackageInfoSource source = PackageInfoSources.forClassPath(classLoader); 179 public void setClassLoader(ClassLoader classLoader) { 180 this.classLoader = classLoader;
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
FactoryFinder.java | 88 * <p>Find the appropriate <code>ClassLoader</code> to use.</p> 90 * <p>The context ClassLoader is preferred.</p> 92 * @return <code>ClassLoader</code> to use. 94 * @throws ConfigurationError If a valid <code>ClassLoader</code> cannot be identified. 96 private static ClassLoader findClassLoader() throws ConfigurationError { 97 // Figure out which ClassLoader to use for loading the provider 98 // class. If there is a Context ClassLoader then use it. 100 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); 104 + classLoader); [all...] |
/libcore/luni/src/main/java/javax/xml/validation/ |
SchemaFactoryFinder.java | 84 * <p><code>ClassLoader</code> to use to find <code>SchemaFactory</code>.</p> 86 private final ClassLoader classLoader; 89 * <p>Constructor that specifies <code>ClassLoader</code> to use 99 public SchemaFactoryFinder(ClassLoader loader) { 100 this.classLoader = loader; 107 if (classLoader == Thread.currentThread().getContextClassLoader()) { 108 debugPrintln("using thread context class loader ("+classLoader+") for search"); 112 if (classLoader == ClassLoader.getSystemClassLoader()) [all...] |