Home
last modified time | relevance | path

Searched refs:classloader (Results 1 – 23 of 23) sorted by relevance

/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DJarFinder.java76 ClassLoader classloader) { in getClassPathEntries() argument
79 ClassLoader parent = classloader.getParent(); in getClassPathEntries()
83 if (classloader instanceof URLClassLoader) { in getClassPathEntries()
84 URLClassLoader urlClassLoader = (URLClassLoader) classloader; in getClassPathEntries()
93 entries.put(uri, classloader); in getClassPathEntries()
108 void scan(URI uri, ClassLoader classloader) throws IOException { in scan() argument
110 scanFrom(new File(uri), classloader); in scan()
114 @VisibleForTesting void scanFrom(File file, ClassLoader classloader) in scanFrom() argument
120 scanDirectory(file, classloader); in scanFrom()
122 scanJar(file, classloader); in scanFrom()
[all …]
/external/guava/android/guava/src/com/google/common/reflect/
DClassPath.java117 public static ClassPath from(ClassLoader classloader) throws IOException { in from() argument
119 scanner.scan(classloader); in from()
359 public final void scan(ClassLoader classloader) throws IOException { in scan() argument
360 for (Map.Entry<File, ClassLoader> entry : getClassPathEntries(classloader).entrySet()) { in scan()
366 final void scan(File file, ClassLoader classloader) throws IOException { in scan() argument
368 scanFrom(file, classloader); in scan()
378 protected void scanFrom(File file, ClassLoader classloader) throws IOException { in scanFrom() argument
389 scanDirectory(classloader, file); in scanFrom()
391 scanJar(file, classloader); in scanFrom()
395 private void scanJar(File file, ClassLoader classloader) throws IOException { in scanJar() argument
[all …]
/external/guava/guava/src/com/google/common/reflect/
DClassPath.java117 public static ClassPath from(ClassLoader classloader) throws IOException { in from() argument
119 scanner.scan(classloader); in from()
359 public final void scan(ClassLoader classloader) throws IOException { in scan() argument
360 for (Map.Entry<File, ClassLoader> entry : getClassPathEntries(classloader).entrySet()) { in scan()
366 final void scan(File file, ClassLoader classloader) throws IOException { in scan() argument
368 scanFrom(file, classloader); in scan()
378 protected void scanFrom(File file, ClassLoader classloader) throws IOException { in scanFrom() argument
389 scanDirectory(classloader, file); in scanFrom()
391 scanJar(file, classloader); in scanFrom()
395 private void scanJar(File file, ClassLoader classloader) throws IOException { in scanJar() argument
[all …]
/external/objenesis/tck/src/main/java/org/objenesis/tck/
DCandidateLoader.java34 private final ClassLoader classloader; field in CandidateLoader
75 public CandidateLoader(TCK tck, ClassLoader classloader, ErrorHandler errorHandler) { in CandidateLoader() argument
77 this.classloader = classloader; in CandidateLoader()
123 Class<?> candidate = Class.forName(key, true, classloader); in handlePropertyEntry()
/external/guava/android/guava-tests/test/com/google/common/reflect/
DClassPathTest.java82 URLClassLoader classloader = new URLClassLoader(new URL[] {url1, url2}, null); in testClassPathEntries_URLClassLoader_noParent() local
83 assertThat(ClassPath.Scanner.getClassPathEntries(classloader)) in testClassPathEntries_URLClassLoader_noParent()
84 .containsExactly(new File("/a"), classloader, new File("/b"), classloader); in testClassPathEntries_URLClassLoader_noParent()
143 URLClassLoader classloader = new URLClassLoader(new URL[] {url}, null); in testClassPathEntries_URLClassLoader_pathWithSpace() local
144 assertThat(ClassPath.Scanner.getClassPathEntries(classloader)) in testClassPathEntries_URLClassLoader_pathWithSpace()
145 .containsExactly(new File("/c:/Documents and Settings/"), classloader); in testClassPathEntries_URLClassLoader_pathWithSpace()
152 URLClassLoader classloader = new URLClassLoader(new URL[] {url}, null); in testClassPathEntries_URLClassLoader_pathWithEscapedSpace() local
153 assertThat(ClassPath.Scanner.getClassPathEntries(classloader)) in testClassPathEntries_URLClassLoader_pathWithEscapedSpace()
154 .containsExactly(new File("/c:/Documents and Settings/"), classloader); in testClassPathEntries_URLClassLoader_pathWithEscapedSpace()
180 URLClassLoader classloader = new URLClassLoader(new URL[] {url}, null); in testJarFileWithSpaces() local
[all …]
/external/guava/guava-tests/test/com/google/common/reflect/
DClassPathTest.java89 URLClassLoader classloader = new URLClassLoader(new URL[] {url1, url2}, null); in testClassPathEntries_URLClassLoader_noParent() local
90 assertThat(ClassPath.Scanner.getClassPathEntries(classloader)) in testClassPathEntries_URLClassLoader_noParent()
91 .containsExactly(new File("/a"), classloader, new File("/b"), classloader); in testClassPathEntries_URLClassLoader_noParent()
150 URLClassLoader classloader = new URLClassLoader(new URL[] {url}, null); in testClassPathEntries_URLClassLoader_pathWithSpace() local
151 assertThat(ClassPath.Scanner.getClassPathEntries(classloader)) in testClassPathEntries_URLClassLoader_pathWithSpace()
152 .containsExactly(new File("/c:/Documents and Settings/"), classloader); in testClassPathEntries_URLClassLoader_pathWithSpace()
159 URLClassLoader classloader = new URLClassLoader(new URL[] {url}, null); in testClassPathEntries_URLClassLoader_pathWithEscapedSpace() local
160 assertThat(ClassPath.Scanner.getClassPathEntries(classloader)) in testClassPathEntries_URLClassLoader_pathWithEscapedSpace()
161 .containsExactly(new File("/c:/Documents and Settings/"), classloader); in testClassPathEntries_URLClassLoader_pathWithEscapedSpace()
187 URLClassLoader classloader = new URLClassLoader(new URL[] {url}, null); in testJarFileWithSpaces() local
[all …]
/external/opencensus-java/contrib/agent/
Dbuild.gradle10 // The package containing the classes that need to be loaded by the bootstrap classloader because
11 // they are used from classes loaded by the bootstrap classloader.
17 // agent's classes with the app's classes, which are loaded by the same classloader (the system
18 // classloader).
43 // classloader.
72 // classes, which are loaded by the same classloader (the system classloader).
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DSandboxClassLoader.java57 private static URL[] getClassPathUrls(ClassLoader classloader) { in getClassPathUrls() argument
58 if (classloader instanceof URLClassLoader) { in getClassPathUrls()
59 return ((URLClassLoader) classloader).getURLs(); in getClassPathUrls()
/external/guice/core/test/com/googlecode/guice/
DBytecodeGenTest.java109 TestVisibilityClassLoader(ClassLoader classloader, boolean hideInternals) { in TestVisibilityClassLoader() argument
110 super(getClassPathUrls(), classloader); in TestVisibilityClassLoader() local
356 MultipleVersionsOfGuiceClassLoader(ClassLoader classloader) { in MultipleVersionsOfGuiceClassLoader() argument
357 super(getClassPathUrls(), classloader); in MultipleVersionsOfGuiceClassLoader() local
/external/emma/core/res/com/vladium/emma/
Dexceptions.properties22 by {0} instrumenting classloader, possibly because is was not listed in \
24 actual classloader was: {2}
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/
DTraceLoggerTest.java21 import org.powermock.core.classloader.annotations.PrepareForTest;
DHistogramChartTest.java27 import org.powermock.core.classloader.annotations.PrepareForTest;
/external/dexmaker/
DREADME.version13 …Allow to share classloader via dexmaker.share_classloader system property (I324cddd644610eef811c62…
/external/desugar/java/com/google/devtools/build/android/desugar/scan/
DKeepScanner.java133 ClassLoader classloader = in main() local
137 seeds = scan(checkNotNull(options.inputJars), options.prefix, classloader); in main()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DTestTypeFactoryWithClassLoader.java8 import org.powermock.core.classloader.annotations.PrepareForTest;
/external/antlr/gunit/
DCHANGES.txt64 * allows providing a classloader (for both JUnitCodeGen and gUnitExecutor)
/external/apache-commons-bcel/docs/
Dmanual.bib70 @InProceedings{classloader, inproceedings
/external/icu/icu4j/
DAndroid.bp74 // com.ibm.icu.impl.CalendarAstronomer in the app classloader.
/external/kotlinx.coroutines/kotlinx-coroutines-debug/
DREADME.md239 … at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:98)
/external/apache-commons-bcel/
DRELEASE-NOTES.txt352 o BCEL-110: Problem with JAXB if the bcel classloader is used; remove the broken
/external/testng/
DCHANGES.txt259 Fixed: ServiceLoader wasn't resolving correctly if no service loader classloader was specified
570 Fixed: Allow IObjectFactory to load from non-standard classloader (for PowerMock support)
/external/antlr/runtime/C/
DREADME891 * allow different source of classloader:
/external/antlr/tool/
DCHANGES.txt2532 * allow different source of classloader: