/external/objenesis/tck/src/org/objenesis/tck/ |
CandidateLoader.java | 33 private final ClassLoader classloader; field in class:CandidateLoader 71 * @param classloader ClassLoader from which candidates classes are loaded 74 public CandidateLoader(TCK tck, ClassLoader classloader, ErrorHandler errorHandler) { 76 this.classloader = classloader; 121 Class candidate = Class.forName(key, true, classloader);
|
/libcore/luni/src/main/java/java/security/ |
SecureClassLoader.java | 24 * {@code SecureClassLoader} represents a {@code ClassLoader} which associates 28 public class SecureClassLoader extends ClassLoader { 35 * parent {@code ClassLoader} is used. 42 * parent {@code ClassLoader}. 45 * the parent {@code ClassLoader}. 47 protected SecureClassLoader(ClassLoader parent) {
|
/libcore/luni/src/main/java/javax/net/ssl/ |
SSLServerSocketFactory.java | 58 ClassLoader cl = Thread.currentThread().getContextClassLoader(); 60 cl = ClassLoader.getSystemClassLoader();
|
SSLSocketFactory.java | 65 ClassLoader cl = Thread.currentThread().getContextClassLoader(); 67 cl = ClassLoader.getSystemClassLoader(); 73 System.logW("Could not create " + newName + " with ClassLoader "
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
XPathFactory.java | 47 * or {@link #newInstance(String uri, String factoryClassName, ClassLoader classLoader)} 143 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); 144 if (classLoader == null) { 146 classLoader = XPathFactory.class.getClassLoader(); 148 XPathFactory xpathFactory = new XPathFactoryFinder(classLoader).newFactory(uri); 166 ClassLoader classLoader) throws XPathFactoryConfigurationException { 178 if (classLoader == null) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
LeaveBehindData.java | 47 private LeaveBehindData(Parcel arg, ClassLoader loader) { 62 public LeaveBehindData createFromParcel(Parcel source, ClassLoader loader) {
|
/libcore/luni/src/main/java/java/sql/ |
DriverManager.java | 90 .forName(element, true, ClassLoader 123 ClassLoader callerClassLoader = VMStack.getCallingClassLoader(); 227 ClassLoader callerClassLoader = VMStack.getCallingClassLoader(); 259 ClassLoader callerClassLoader = VMStack.getCallingClassLoader(); 378 * Determines whether the supplied object was loaded by the given {@code ClassLoader}. 383 * the {@code ClassLoader}. 384 * @return {@code true} if the Object does belong to the {@code ClassLoader} 388 ClassLoader theClassLoader) {
|
/dalvik/dx/tests/115-merge/com/android/dx/merge/ |
DexMergeTest.java | 41 ClassLoader loader = mergeAndLoad( 61 ClassLoader loader = mergeAndLoad( 73 ClassLoader loader = mergeAndLoad( 97 ClassLoader loader = mergeAndLoad( 158 public ClassLoader mergeAndLoad(String dexAResource, String dexBResource) throws Exception { 166 return (ClassLoader) Class.forName("dalvik.system.PathClassLoader") 167 .getConstructor(String.class, ClassLoader.class)
|
/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...] |
/art/test/068-classloader/src/ |
FancyLoader.java | 36 public class FancyLoader extends ClassLoader { 41 static final String DEX_FILE = System.getenv("DEX_LOCATION") + "/068-classloader-ex.jar"; 52 public FancyLoader(ClassLoader parent) { 109 * Call DexFile.loadClass(String, ClassLoader). 115 new Class[] { String.class, ClassLoader.class });
|
/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/javassist/src/test/test/javassist/proxy/ |
ProxyCacheGCTest.java | 11 * test which checks that proxy classes are not retained after their classloader is released. 40 ClassLoader oldCL = Thread.currentThread().getContextClassLoader(); 44 ClassLoader newCL = new TestLoader(); 58 * called when a specific classloader is in place on the thread to create a method handler, method filter 75 // create a handler in the current classloader 82 // create a filter in the current classloader 115 * a classloader which inherits from the system class loader and within which a proxy handler, 118 public static class TestLoader extends ClassLoader
|
/libcore/dom/src/test/java/org/w3c/domts/ |
BatikTestDocumentBuilderFactory.java | 83 ClassLoader classLoader = ClassLoader.getSystemClassLoader(); 85 classLoader.loadClass( 156 ClassLoader.getSystemClassLoader().loadClass(
|
/art/compiler/jni/portable/ |
jni_compiler.h | 32 class ClassLoader;
|
/art/compiler/llvm/ |
compiler_llvm.h | 37 class ClassLoader;
|
/art/runtime/verifier/ |
method_verifier-inl.h | 41 inline mirror::ClassLoader* MethodVerifier::GetClassLoader() {
|
/external/apache-http/src/org/apache/commons/logging/impl/ |
LogFactoryImpl.java | 120 * determine system behaviour when a bad context-classloader is encountered. 122 * LogFactoryImpl is loaded via a child classloader of the TCCL (this 185 * classloader, or via the classloader that loaded this LogFactoryImpl class. 346 * throwing away a ClassLoader. Dangling references to objects in that 420 * Gets the context classloader. 424 protected static ClassLoader getContextClassLoader() throws LogConfigurationException { 443 protected static ClassLoader getClassLoader(Class clazz) { 452 * including which classloader the object was loaded from. 463 // It would be nice to include an identifier of the context classloader [all...] |
/external/emma/core/java12/com/vladium/util/args/ |
IOptsParser.java | 69 public static IOptsParser create (final String metadataResourceName, final ClassLoader loader,
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
DownloadManagerTestRunner.java | 48 public ClassLoader getLoader() {
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaFrameworkIntegrationTestRunner.java | 52 public ClassLoader getLoader() {
|
MediaFrameworkPerfTestRunner.java | 49 public ClassLoader getLoader() {
|
/frameworks/support/v4/honeycomb_mr2/android/support/v4/os/ |
ParcelableCompatHoneycombMR2.java | 39 public T createFromParcel(Parcel in, ClassLoader loader) {
|
/libcore/dalvik/src/main/java/dalvik/system/ |
DexFile.java | 206 public Class loadClass(String name, ClassLoader loader) { 212 * See {@link #loadClass(String, ClassLoader)}. 214 * This takes a "binary" class name to better match ClassLoader semantics. 218 public Class loadClassBinaryName(String name, ClassLoader loader, List<Throwable> suppressed) { 222 private static Class defineClass(String name, ClassLoader loader, long cookie, 301 private static native Class defineClassNative(String name, ClassLoader loader, long cookie)
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
TestBatik.java | 30 Class testClass = ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level1.core.alltests");
|
TestDOM4J.java | 30 Class testClass = ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level1.core.alltests");
|