/external/guava/guava-tests/test/com/google/common/reflect/ |
D | ClassPathTest.java | 61 ClassPath classpath = ClassPath.from(getClass().getClassLoader()); in testGetResources() 81 assertEquals(getClass().getClassLoader().getResource(testResourceName), in testGetResources() 91 ClassPath classpath = ClassPath.from(getClass().getClassLoader()); in testGetAllClasses() 120 ClassPath classpath = ClassPath.from(getClass().getClassLoader()); in testGetTopLevelClasses() 139 ClassPath classpath = ClassPath.from(ClassPathTest.class.getClassLoader()); in testGetTopLevelClassesRecursive() 151 ClassLoader parent = ClassPathTest.class.getClassLoader(); in testGetTopLevelClasses_diamond() 161 .addEqualityGroup(classInfo(Test.class), classInfo(Test.class, getClass().getClassLoader())) in testEquals() 163 new ResourceInfo("a/b/c.txt", getClass().getClassLoader()), in testEquals() 164 new ResourceInfo("a/b/c.txt", getClass().getClassLoader())) in testEquals() 166 new ResourceInfo("x.txt", getClass().getClassLoader())) in testEquals() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | ClassLoaderUtil.java | 35 super(Object.class.getClassLoader()); in BootstrapClassLoader() 75 public static ClassLoader getClassLoader(Class<?> cls) { in getClassLoader() method in ClassLoaderUtil 76 ClassLoader cl = cls.getClassLoader(); in getClassLoader() 78 cl = getClassLoader(); in getClassLoader() 87 public static ClassLoader getClassLoader() { in getClassLoader() method in ClassLoaderUtil
|
/external/emma/core/java12/com/vladium/util/ |
D | ClassLoaderResolver.java | 45 public static synchronized ClassLoader getClassLoader (final Class caller) in getClassLoader() method in ClassLoaderResolver 49 return s_strategy.getClassLoader (ctx); in getClassLoader() 67 public static synchronized ClassLoader getClassLoader () in getClassLoader() method in ClassLoaderResolver 72 return s_strategy.getClassLoader (ctx); in getClassLoader() 144 public ClassLoader getClassLoader (final ClassLoadContext ctx) in getClassLoader() method in ClassLoaderResolver.DefaultClassLoadStrategy 157 final ClassLoader callerLoader = caller.getClassLoader (); in getClassLoader()
|
D | ResourceLoader.java | 37 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); in loadClass() 48 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); in getResource() 62 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); in getResourceAsStream() 77 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); in getResources()
|
D | IClassLoadStrategy.java | 28 ClassLoader getClassLoader (ClassLoadContext ctx); in getClassLoader() method
|
/external/jetty/src/java/org/eclipse/jetty/continuation/ |
D | ContinuationSupport.java | 49 …Class<? extends Continuation> s3c = ContinuationSupport.class.getClassLoader().loadClass("org.ecli… 66 …Class<?> jetty6ContinuationClass = ContinuationSupport.class.getClassLoader().loadClass("org.mortb… 70 …Class<? extends Continuation> j6c = ContinuationSupport.class.getClassLoader().loadClass("org.ecli… 86 …waiting=ContinuationSupport.class.getClassLoader().loadClass("org.mortbay.util.ajax.WaitingContinu…
|
/external/mockito/src/org/mockito/internal/creation/jmock/ |
D | SearchingClassLoader.java | 30 addIfNewElement(loaders, first.getClassLoader()); in combineLoadersOf() 32 addIfNewElement(loaders, c.getClassLoader()); in combineLoadersOf() 40 addIfNewElement(loaders, SearchingClassLoader.class.getClassLoader()); in combineLoadersOf()
|
D | ClassImposterizer.java | 67 …mockedType.getCanonicalName() + "', loaded by classloader : '" + mockedType.getClassLoader() + "'", in imposterise() 68 …proxyClass.getCanonicalName() + "', loaded by classloader : '" + proxyClass.getClassLoader() + "'", in imposterise() 69 …CanonicalName() + "', loaded by classloader : '" + proxyInstance.getClass().getClassLoader() + "'", in imposterise()
|
/external/easymock/src/org/easymock/internal/ |
D | EasyMockProperties.java | 58 InputStream in = getClassLoader().getResourceAsStream( in EasyMockProperties() 132 private ClassLoader getClassLoader() { in getClassLoader() method in EasyMockProperties 142 cl = getClass().getClassLoader(); in getClassLoader()
|
/external/jetty/src/java/org/eclipse/jetty/servlet/listener/ |
D | ELContextCleaner.java | 116 LOG.info("Clazz: "+clazz+" loaded by "+clazz.getClassLoader()); in purgeEntries() 117 if (Thread.currentThread().getContextClassLoader().equals(clazz.getClassLoader())) in purgeEntries() 123 …er="+Thread.currentThread().getContextClassLoader()+"clazz's classloader="+clazz.getClassLoader()); in purgeEntries()
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
D | AbstractClassGenerator.java | 67 className = getClassName(getClassLoader()); in getClassName() 168 public ClassLoader getClassLoader() { 174 t = getClass().getClassLoader(); 192 ClassLoader loader = getClassLoader();
|
/external/jetty/src/java/org/eclipse/jetty/util/preventers/ |
D | AbstractLeakPreventer.java | 53 Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); in doStart() 54 prevent(getClass().getClassLoader()); in doStart()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | FinalizableReferenceQueueClassLoaderUnloadingTest.java | 93 final URLClassLoader myLoader = (URLClassLoader) getClass().getClassLoader(); in useFrqInSeparateLoader() 126 assertSame(sepLoader, sepStopwatchC.getClassLoader()); in useFrqInSeparateLoader() 217 final URLClassLoader myLoader = (URLClassLoader) getClass().getClassLoader(); in doTestUnloadableInStaticFieldIfClosed() 234 assertSame(sepLoader, sepFrqUserC.getClassLoader()); in doTestUnloadableInStaticFieldIfClosed()
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Reflection.java | 69 Class.forName(clazz.getName(), true, clazz.getClassLoader()); in initialize() 91 interfaceType.getClassLoader(), in newProxy()
|
/external/emma/core/java12/com/vladium/emma/rt/ |
D | RT.java | 39 ClassLoader loader = RT.class.getClassLoader (); in reset() 150 … if (DEBUG) System.out.println ("RT::dumpCoverageData() DUMPING " + RT.class.getClassLoader ()); in dumpCoverageData() 218 …T[" + System.identityHashCode (RT.class) + "]::<clinit>: loaded by " + RT.class.getClassLoader ());
|
/external/protobuf/java/src/device/test/java/com/google/protobuf/nano/ |
D | NanoAndroidTest.java | 55 message = parcel.readParcelable(getClass().getClassLoader()); in testParceling() 77 message = parcel.readParcelable(getClass().getClassLoader()); in testExtendableParceling()
|
/external/jetty/src/java/org/eclipse/jetty/util/ |
D | Loader.java | 59 loader=loadClass==null?null:loadClass.getClassLoader(); in getResource() 105 loader=loadClass==null?null:loadClass.getClassLoader(); in loadClass() 140 loader=loadClass==null?null:loadClass.getClassLoader(); in getResourceBundle()
|
/external/apache-http/src/org/apache/commons/logging/ |
D | LogFactory.java | 769 protected static ClassLoader getClassLoader(Class clazz) { in getClassLoader() method in LogFactory 771 return clazz.getClassLoader(); in getClassLoader() 878 classLoader = getClassLoader(LogFactory.class); 1097 … + " loaded from classloader " + objectId(logFactoryClass.getClassLoader()) 1240 ClassLoader logFactoryClassLoader = logFactoryClass.getClassLoader(); 1633 classLoader = getClassLoader(clazz); 1737 thisClassLoader = getClassLoader(LogFactory.class);
|
/external/apache-http/src/org/apache/commons/logging/impl/ |
D | LogFactoryImpl.java | 448 protected static ClassLoader getClassLoader(Class clazz) { in getClassLoader() method in LogFactoryImpl 449 return LogFactory.getClassLoader(clazz); in getClassLoader() 478 ClassLoader classLoader = getClassLoader(clazz); in initDiagnostics() 1140 + "' from classloader " + objectId(logAdapterClass.getClassLoader()) in createLogFromClass() 1167 ClassLoader thisClassLoader = getClassLoader(LogFactoryImpl.class); in getBaseClassLoader() 1345 ClassLoader logInterfaceClassLoader = getClassLoader(Log.class); in handleFlawedHierarchy()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/ |
D | RobolectricClassLoader.java | 21 super(RobolectricClassLoader.class.getClassLoader(), null); in RobolectricClassLoader() 37 … classPool.appendClassPath(new LoaderClassPath(RobolectricClassLoader.class.getClassLoader())); in RobolectricClassLoader()
|
/external/emma/core/java12/com/vladium/emma/data/ |
D | mergeCommand.java | 39 loader = ClassLoaderResolver.getClassLoader (); in run() 43 loader = getClass ().getClassLoader (); in run()
|
/external/emma/core/java12/com/vladium/emma/report/ |
D | reportCommand.java | 41 loader = ClassLoaderResolver.getClassLoader (); in run() 45 loader = getClass ().getClassLoader (); in run()
|
/external/emma/core/java12/com/vladium/emma/instr/ |
D | instrCommand.java | 42 loader = ClassLoaderResolver.getClassLoader (); in run() 46 loader = getClass ().getClassLoader (); in run()
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
D | ObjectFactory.java | 414 ClassLoader current = ObjectFactory.class.getClassLoader(); in findClassLoader() 512 ClassLoader current = ObjectFactory.class.getClassLoader(); in findProviderClass() 548 ClassLoader current = ObjectFactory.class.getClassLoader(); in findJarServiceProviderName()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | ObjectFactory.java | 413 ClassLoader current = ObjectFactory.class.getClassLoader(); in findClassLoader() 511 ClassLoader current = ObjectFactory.class.getClassLoader(); in findProviderClass() 547 ClassLoader current = ObjectFactory.class.getClassLoader(); in findJarServiceProviderName()
|