/external/guava/guava-tests/test/com/google/common/reflect/ |
D | ClassPathTest.java | 62 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/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()
|
/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/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ClassLoaderUtil.java | 37 super(Object.class.getClassLoader()); in BootstrapClassLoader() 77 public static ClassLoader getClassLoader(Class<?> cls) { in getClassLoader() method in ClassLoaderUtil 78 ClassLoader cl = cls.getClassLoader(); in getClassLoader() 80 cl = getClassLoader(); in getClassLoader() 89 public static ClassLoader getClassLoader() { in getClassLoader() method in ClassLoaderUtil
|
/external/guice/core/src/com/google/inject/internal/ |
D | BytecodeGen.java | 67 static final ClassLoader GUICE_CLASS_LOADER = canonicalize(BytecodeGen.class.getClassLoader()); 157 public static ClassLoader getClassLoader(Class<?> type) { in getClassLoader() method in BytecodeGen 158 return getClassLoader(type, type.getClassLoader()); in getClassLoader() 161 private static ClassLoader getClassLoader(Class<?> type, ClassLoader delegate) { in getClassLoader() method in BytecodeGen 200 generator.setClassLoader(getClassLoader(type)); in newFastClass() 203 logger.fine("Loading " + type + " FastClass with " + generator.getClassLoader()); in newFastClass() 212 enhancer.setClassLoader(getClassLoader(type)); in newEnhancer() 215 logger.fine("Loading " + type + " Enhancer with " + enhancer.getClassLoader()); in newEnhancer()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
D | CustomClassLoaderConstructorTest.java | 35 CustomClassLoaderConstructorTest.class.getClassLoader()); in testGetClassForName() 44 CustomClassLoaderConstructorTest.class.getClassLoader()); in testGetClassForNameWithRoot() 46 CustomClassLoaderConstructorTest.class.getClassLoader()); in testGetClassForNameWithRoot() 55 CustomClassLoaderConstructorTest.class.getClassLoader()); in testGetClassForNameBean()
|
/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/guice/core/test/com/googlecode/guice/ |
D | BytecodeGenTest.java | 226 if (ProxyTest.class.getClassLoader() == systemClassLoader) { in testSystemClassLoaderIsUsedIfProxiedClassUsesIt() 227 assertSame(testProxy.getClass().getClassLoader(), systemClassLoader); in testSystemClassLoaderIsUsedIfProxiedClassUsesIt() 229 assertNotSame(testProxy.getClass().getClassLoader(), systemClassLoader); in testSystemClassLoaderIsUsedIfProxiedClassUsesIt() 236 assertNotNull(testObject.getClass().getClassLoader()); in testProxyClassUnloading() 237 assertNotSame(testObject.getClass().getClassLoader(), systemClassLoader); in testProxyClassUnloading()
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ServletTestUtils.java | 52 HttpServletRequest.class.getClassLoader(), in newFakeHttpServletRequest() 95 HttpServletResponse.class.getClassLoader(), in newFakeHttpServletResponse() 119 return (HttpSession) Proxy.newProxyInstance(HttpSession.class.getClassLoader(), in newFakeHttpSession()
|
/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 | 81 final URLClassLoader myLoader = (URLClassLoader) getClass().getClassLoader(); in useFrqInSeparateLoader() 114 assertSame(sepLoader, sepStopwatchC.getClassLoader()); in useFrqInSeparateLoader() 205 final URLClassLoader myLoader = (URLClassLoader) getClass().getClassLoader(); in doTestUnloadableInStaticFieldIfClosed() 222 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/testng/src/test/java/test/serviceloader/ |
D | ServiceLoaderTest.java | 19 URL url = getClass().getClassLoader().getResource("serviceloader.jar"); in serviceLoaderShouldWork() 32 URL url = getClass().getClassLoader().getResource("serviceloader.jar"); in serviceLoaderWithNoClassLoader()
|
/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/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/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/v1/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()
|