HomeSort by relevance Sort by last modified time
    Searched refs:classLoader (Results 1 - 25 of 46) sorted by null

1 2

  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/reflect/
ClassMap.java 52 public void clear(ClassLoader classLoader) {
53 getMap(classLoader).clear();
62 ClassLoader classLoader = key.getClassLoader();
63 return getMap(classLoader);
67 private Map<Class<?>, V> getMap(ClassLoader classLoader) {
68 Object map = ClassLoaderLocalMap.get(classLoader, this);
71 ClassLoaderLocalMap.put(classLoader, this, map)
    [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...]
  /external/apache-http/src/org/apache/commons/logging/
LogFactory.java 180 * A reference to the classloader that loaded this class. This is the
186 private static ClassLoader thisClassLoader;
255 * throwing away a ClassLoader. Dangling references to objects in that
287 * the <code>ClassLoader</code> with which it was created.
298 * classloader (very common)</li>
300 * classloader (only likely for embedded systems work).</li>
309 * (context-classloader -> logfactory-object). Version 1.2+ of Java
380 * classloader environment.
388 ClassLoader contextClassLoader = getContextClassLoader();
393 // classloader is null in that environment
    [all...]
  /art/test/071-dexfile/src/
Main.java 68 ClassLoader dexClassLoader = getDexClassLoader();
80 private static ClassLoader getDexClassLoader() throws Exception {
81 ClassLoader classLoader = Main.class.getClassLoader();
82 Class DexClassLoader = classLoader.loadClass("dalvik.system.DexClassLoader");
86 ClassLoader.class);
88 return (ClassLoader) DexClassLoader_init.newInstance(CLASS_PATH, getOdexDir(), LIB_DIR, classLoader);
92 ClassLoader classLoader = Main.class.getClassLoader()
    [all...]
  /external/dexmaker/src/main/java/com/google/dexmaker/
AppDataDirGuesser.java 30 ClassLoader classLoader = guessSuitableClassLoader();
33 clazz.cast(classLoader);
35 String pathFromThisClassLoader = getPathFromThisClassLoader(classLoader, clazz);
46 private ClassLoader guessSuitableClassLoader() {
50 private String getPathFromThisClassLoader(ClassLoader classLoader,
57 return (String) pathField.get(classLoader);
65 String result = classLoader.toString();
  /external/littlemock/src/com/google/testing/littlemock/
AppDataDirGuesser.java 42 ClassLoader classLoader = AppDataDirGuesser.class.getClassLoader();
45 clazz.cast(classLoader);
48 getPathFromPathClassLoader(classLoader, clazz);
62 ClassLoader classLoader, Class<?> pathClassLoaderClass) {
68 return (String) pathField.get(classLoader);
79 String result = classLoader.toString();
  /external/jsilver/src/org/clearsilver/
FactoryLoader.java 106 ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
108 loadClass(factoryClassName, classLoader);
120 ClassLoader classLoader) throws ClassNotFoundException {
122 classLoader);
  /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/mockito/cglib-and-asm/src/org/mockito/cglib/core/
AbstractClassGenerator.java 30 * customizing the <code>ClassLoader</code>, name of the generated class, and transformations
42 private ClassLoader classLoader;
71 private String getClassName(final ClassLoader loader) {
80 private Set getClassNameCache(ClassLoader loader) {
85 * Set the <code>ClassLoader</code> in which the class will be generated.
89 * Classes are cached per-<code>ClassLoader</code> using a <code>WeakHashMap</code>, to allow
91 * @param classLoader the loader to generate the new class with, or null to use the default
93 public void setClassLoader(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/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);
  /art/runtime/native/
java_lang_Runtime.cc 71 Handle<mirror::ClassLoader> classLoader(
72 hs.NewHandle(soa.Decode<mirror::ClassLoader*>(javaLoader)));
74 bool success = vm->LoadNativeLibrary(filename.c_str(), classLoader, &detail);
102 NATIVE_METHOD(Runtime, nativeLoad, "(Ljava/lang/String;Ljava/lang/ClassLoader;Ljava/lang/String;)Ljava/lang/String;"),
  /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...]
  /external/apache-http/src/org/apache/commons/logging/impl/
SimpleLog.java 641 private static ClassLoader getContextClassLoader()
643 ClassLoader classLoader = null;
645 if (classLoader == null) {
653 classLoader = (ClassLoader)method.invoke(Thread.currentThread(),
690 if (classLoader == null) {
691 classLoader = SimpleLog.class.getClassLoader();
695 return classLoader;
703 ClassLoader threadCL = getContextClassLoader()
    [all...]
LogFactoryImpl.java 125 * determine system behaviour when a bad context-classloader is encountered.
127 * LogFactoryImpl is loaded via a child classloader of the TCCL (this
190 * classloader, or via the classloader that loaded this LogFactoryImpl class.
351 * throwing away a ClassLoader. Dangling references to objects in that
425 * Gets the context classloader.
429 protected static ClassLoader getContextClassLoader() throws LogConfigurationException {
448 protected static ClassLoader getClassLoader(Class clazz) {
457 * including which classloader the object was loaded from.
468 // It would be nice to include an identifier of the context classloader
    [all...]
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
JUnitCodeGen.java 63 private static ClassLoader determineClassLoader() {
64 ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
65 if ( classLoader == null ) {
66 classLoader = JUnitCodeGen.class.getClassLoader();
68 return classLoader;
71 public JUnitCodeGen(GrammarInfo grammarInfo, ClassLoader classLoader, String testsuiteDir) throws ClassNotFoundException {
76 Class parserClass = locateParserClass( grammarInfo, classLoader );
85 private Class locateParserClass(GrammarInfo grammarInfo, ClassLoader classLoader) throws ClassNotFoundException
    [all...]
gUnitExecutor.java 54 private final ClassLoader grammarClassLoader;
82 private static ClassLoader determineClassLoader() {
83 ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
84 if ( classLoader == null ) {
85 classLoader = gUnitExecutor.class.getClassLoader();
87 return classLoader;
90 public gUnitExecutor(GrammarInfo grammarInfo, ClassLoader grammarClassLoader, String testsuiteDir) {
102 protected ClassLoader getGrammarClassLoader() {
  /external/chromium_org/third_party/libaddressinput/src/java/testlibs/
commons-logging-1.1.1.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.apache.commons.logging_1.0.4.v201005080501.jar 
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/
HtmlTooltipHelper.java 272 ClassLoader classLoader = PropertyTable.class.getClassLoader();
274 classLoader.loadClass("org.eclipse.jface.internal.text.html.HTML2TextReader");
  /external/chromium_org/third_party/npapi/npspy/extern/java/
jriext.h 153 (*JRI_SetClassLoader_t)(JRIEnv* env, jref classLoader);
210 #define JRI_SetClassLoader(env, classLoader) \
211 ((*(env))->SetClassLoader(env, classLoader))
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeySourceNetworkViews.java 127 DexClassLoader classLoader = new DexClassLoader(
129 null, ClassLoader.getSystemClassLoader());
130 klass = classLoader.loadClass(packageName + ".R$id");
  /external/dexmaker/src/main/java/com/google/dexmaker/stock/
ProxyBuilder.java 130 private ClassLoader parentClassLoader = ProxyBuilder.class.getClassLoader();
146 * Specifies the parent ClassLoader to use when creating the proxy.
150 public ProxyBuilder<T> parentClassLoader(ClassLoader parent) {
252 ClassLoader classLoader = dexMaker.generateAndLoad(parentClassLoader, dexCache);
254 proxyClass = loadClass(classLoader, generatedName);
270 private Class<? extends T> loadClass(ClassLoader classLoader, String generatedName)
272 return (Class<? extends T>) classLoader.loadClass(generatedName);
    [all...]

Completed in 1576 milliseconds

1 2