Home
last modified time | relevance | path

Searched refs:ClassPath (Results 1 – 25 of 70) sorted by relevance

123

/external/guava/android/guava-tests/test/com/google/common/reflect/
DClassPathTest.java30 import com.google.common.reflect.ClassPath.ClassInfo;
31 import com.google.common.reflect.ClassPath.ResourceInfo;
72 assertThat(ClassPath.getClassPathEntries(new URLClassLoader(new URL[0], null)).keySet()) in testClassPathEntries_emptyURLClassLoader_noParent()
81 assertThat(ClassPath.getClassPathEntries(classloader)) in testClassPathEntries_urlClassLoader_noParent()
91 assertThat(ClassPath.getClassPathEntries(child)) in testClassPathEntries_urlClassLoader_withParent()
101 assertThat(ClassPath.getClassPathEntries(child)).containsExactly(new File("/a"), parent); in testClassPathEntries_duplicateUri_parentWins()
106 assertThat(ClassPath.getClassPathEntries(new ClassLoader(null) {})).isEmpty(); in testClassPathEntries_notURLClassLoader_noParent()
113 assertThat(ClassPath.getClassPathEntries(new ClassLoader(parent) {})) in testClassPathEntries_notURLClassLoader_withParent()
123 assertThat(ClassPath.getClassPathEntries(new ClassLoader(parent) {})) in testClassPathEntries_notURLClassLoader_withParentAndGrandParent()
132 assertThat(ClassPath.getClassPathEntries(new ClassLoader(parent) {})) in testClassPathEntries_notURLClassLoader_withGrandParent()
[all …]
/external/guava/guava-tests/test/com/google/common/reflect/
DClassPathTest.java36 import com.google.common.reflect.ClassPath.ClassInfo;
37 import com.google.common.reflect.ClassPath.ResourceInfo;
79 assertThat(ClassPath.getClassPathEntries(new URLClassLoader(new URL[0], null)).keySet()) in testClassPathEntries_emptyURLClassLoader_noParent()
88 assertThat(ClassPath.getClassPathEntries(classloader)) in testClassPathEntries_urlClassLoader_noParent()
98 assertThat(ClassPath.getClassPathEntries(child)) in testClassPathEntries_urlClassLoader_withParent()
108 assertThat(ClassPath.getClassPathEntries(child)).containsExactly(new File("/a"), parent); in testClassPathEntries_duplicateUri_parentWins()
113 assertThat(ClassPath.getClassPathEntries(new ClassLoader(null) {})).isEmpty(); in testClassPathEntries_notURLClassLoader_noParent()
120 assertThat(ClassPath.getClassPathEntries(new ClassLoader(parent) {})) in testClassPathEntries_notURLClassLoader_withParent()
130 assertThat(ClassPath.getClassPathEntries(new ClassLoader(parent) {})) in testClassPathEntries_notURLClassLoader_withParentAndGrandParent()
139 assertThat(ClassPath.getClassPathEntries(new ClassLoader(parent) {})) in testClassPathEntries_notURLClassLoader_withGrandParent()
[all …]
/external/javassist/src/main/javassist/
DClassPoolTail.java36 ClassPath path;
38 ClassPathList(ClassPath p, ClassPathList n) { in ClassPathList()
44 final class DirClassPath implements ClassPath {
86 final class JarDirClassPath implements ClassPath {
130 final class JarClassPath implements ClassPath {
212 public synchronized ClassPath insertClassPath(ClassPath cp) { in insertClassPath()
217 public synchronized ClassPath appendClassPath(ClassPath cp) { in appendClassPath()
232 public synchronized void removeClassPath(ClassPath cp) { in removeClassPath()
246 public ClassPath appendSystemPath() { in appendSystemPath()
253 public ClassPath insertClassPath(String pathname) in insertClassPath()
[all …]
DClassPool.java911 public ClassPath appendSystemPath() { in appendSystemPath()
924 public ClassPath insertClassPath(ClassPath cp) { in insertClassPath()
937 public ClassPath appendClassPath(ClassPath cp) { in appendClassPath()
953 public ClassPath insertClassPath(String pathname) in insertClassPath()
971 public ClassPath appendClassPath(String pathname) in appendClassPath()
982 public void removeClassPath(ClassPath cp) { in removeClassPath()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DSyntheticRepository.java36 …private static final Map<ClassPath, SyntheticRepository> instances = new HashMap<>(); // CLASSPATH…
38 private SyntheticRepository(final ClassPath path) { in SyntheticRepository()
43 return getInstance(ClassPath.SYSTEM_CLASS_PATH); in getInstance()
46 public static SyntheticRepository getInstance(final ClassPath classPath) { in getInstance()
DClassPath.java48 public class ClassPath implements Closeable { class
452 public static final ClassPath SYSTEM_CLASS_PATH = new ClassPath(getClassPath());
538 private ClassPath parent;
548 public ClassPath() {
552 public ClassPath(final ClassPath parent, final String classPath) {
563 public ClassPath(final String classPath) {
606 if (o instanceof ClassPath) {
607 final ClassPath cp = (ClassPath) o;
DClassPathRepository.java36 private ClassPath _path = null;
39 public ClassPathRepository(final ClassPath path) { in ClassPathRepository()
153 public ClassPath getClassPath() { in getClassPath()
DMemorySensitiveClassPathRepository.java38 private ClassPath _path = null;
41 public MemorySensitiveClassPathRepository(final ClassPath path) { in MemorySensitiveClassPathRepository()
160 public ClassPath getClassPath() { in getClassPath()
/external/google-smali/baksmali/src/test/java/com/android/tools/smali/baksmali/
DFieldGapOrderTest.java34 import com.android.tools.smali.dexlib2.analysis.ClassPath;
47ClassPath classPath = new ClassPath(Lists.newArrayList(new DexClassProvider(dexFile)), false, 66); in testOldOrder()
61ClassPath classPath = new ClassPath(Lists.newArrayList(new DexClassProvider(dexFile)), false, 67); in testNewOrder()
/external/google-smali/dexlib2/src/test/java/com/android/tools/smali/dexlib2/analysis/
DCustomMethodInlineTableTest.java33 import com.android.tools.smali.dexlib2.analysis.ClassPath;
82ClassPath classPath = new ClassPath(resolver.getResolvedClassProviders(), false, ClassPath.NOT_ART… in testCustomMethodInlineTable_Virtual()
113ClassPath classPath = new ClassPath(resolver.getResolvedClassProviders(), false, ClassPath.NOT_ART… in testCustomMethodInlineTable_Static()
144ClassPath classPath = new ClassPath(resolver.getResolvedClassProviders(), false, ClassPath.NOT_ART… in testCustomMethodInlineTable_Direct()
DMethodAnalyzerTest.java34 import com.android.tools.smali.dexlib2.analysis.ClassPath;
87ClassPath classPath = new ClassPath(Lists.newArrayList(new DexClassProvider(dexFile)), true, 56); in testInstanceOfNarrowingEqz_art()
118 ClassPath classPath = new ClassPath(new DexClassProvider(dexFile)); in testInstanceOfNarrowingEqz_dalvik()
150ClassPath classPath = new ClassPath(Lists.newArrayList(new DexClassProvider(dexFile)), true, 56); in testInstanceOfNarrowingNez_art()
181 ClassPath classPath = new ClassPath(new DexClassProvider(dexFile)); in testInstanceOfNarrowingNez_dalvik()
214ClassPath classPath = new ClassPath(Lists.newArrayList(new DexClassProvider(dexFile)), true, 56); in testInstanceOfNarrowingAfterMove_art()
249 ClassPath classPath = new ClassPath(new DexClassProvider(dexFile)); in testInstanceOfNarrowingAfterMove_dalvik()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/analysis/
DClassPath.java50 public class ClassPath { class
65 public ClassPath(ClassProvider... classProviders) throws IOException { in ClassPath() method in ClassPath
75 public ClassPath(Iterable<ClassProvider> classProviders) throws IOException { in ClassPath() method in ClassPath
88 …public ClassPath(@Nonnull Iterable<? extends ClassProvider> classProviders, boolean checkPackagePr… in ClassPath() method in ClassPath
138 return new ArrayProto(ClassPath.this, key);
140 return new ClassProto(ClassPath.this, key);
DPrimitiveProto.java42 protected final ClassPath classPath;
45 public PrimitiveProto(@Nonnull ClassPath classPath, @Nonnull String type) { in PrimitiveProto()
51 @Nonnull @Override public ClassPath getClassPath() { return classPath; } in getClassPath()
DUnknownClassProto.java41 @Nonnull protected final ClassPath classPath;
43 public UnknownClassProto(@Nonnull ClassPath classPath) { in UnknownClassProto()
48 @Nonnull @Override public ClassPath getClassPath() { return classPath; } in getClassPath()
/external/auto/value/src/test/java/com/google/auto/value/processor/
DGuavaCollectionBuildersTest.java21 import com.google.common.reflect.ClassPath;
58 ClassPath classPath = ClassPath.from(getClass().getClassLoader()); in testImmutableBuilders()
59 ImmutableSet<ClassPath.ClassInfo> classes = classPath.getAllClasses(); in testImmutableBuilders()
61 for (ClassPath.ClassInfo classInfo : classes) { in testImmutableBuilders()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/util/
DClassPathTestCase.java30 Assert.assertNotNull(ClassPath.SYSTEM_CLASS_PATH.getClassFile("java.lang.String")); in testGetClassFile()
34 Assert.assertNotNull(ClassPath.SYSTEM_CLASS_PATH.getResource("java/lang/String.class")); in testGetResource()
38 try (final InputStream inputStream = ClassPath.SYSTEM_CLASS_PATH in testGetResourceAsStream()
/external/google-smali/dexlib2/src/test/java/com/android/tools/smali/dexlib2/analysis/util/
DSuperclassChainTest.java37 import com.android.tools.smali.dexlib2.analysis.ClassPath;
59ClassPath classPath = new ClassPath(new DexClassProvider(new ImmutableDexFile(Opcodes.getDefault()… in testGetSuperclassChain()
90ClassPath classPath = new ClassPath(new DexClassProvider(new ImmutableDexFile(Opcodes.getDefault()… in testGetSuperclassChain_Unresolved()
/external/google-smali/baksmali/src/main/java/com/android/tools/smali/baksmali/
DAnalysisArguments.java37 import com.android.tools.smali.dexlib2.analysis.ClassPath;
50 import static com.android.tools.smali.dexlib2.analysis.ClassPath.NOT_SPECIFIED;
85 public ClassPath loadClassPathForDexFile(@Nonnull File dexFileDir, in loadClassPathForDexFile()
92 public ClassPath loadClassPathForDexFile(@Nonnull File dexFileDir, in loadClassPathForDexFile()
145 … return new ClassPath(resolver.getResolvedClassProviders(), checkPackagePrivateAccess, oatVersion); in loadClassPathForDexFile()
/external/guava/guava-gwt/test/com/google/common/
DGwtTestSuite.java19 import com.google.common.reflect.ClassPath;
20 import com.google.common.reflect.ClassPath.ClassInfo;
37 : ClassPath.from(GwtTestSuite.class.getClassLoader()).getTopLevelClasses()) { in suite()
/external/turbine/javatests/com/google/turbine/lower/
DMissingJavaBaseModuleTest.java25 import com.google.turbine.binder.ClassPath;
52 ClassPath base = JimageClassBinder.bindDefault(); in test()
53 ClassPath bootclasspath = in test()
54 new ClassPath() { in test()
/external/turbine/javatests/com/google/turbine/testing/
DTestClassPaths.java23 import com.google.turbine.binder.ClassPath;
48 public static final ClassPath TURBINE_BOOTCLASSPATH = getTurbineBootclasspath();
50 private static ClassPath getTurbineBootclasspath() { in getTurbineBootclasspath()
/external/guava/guava-tests/test/com/google/common/collect/
DWriteReplaceOverridesTest.java26 import com.google.common.reflect.ClassPath;
27 import com.google.common.reflect.ClassPath.ClassInfo;
61 for (ClassInfo info : ClassPath.from(getClass().getClassLoader()).getAllClasses()) { in testClassesHaveOverrides()
/external/guava/android/guava-tests/test/com/google/common/collect/
DWriteReplaceOverridesTest.java26 import com.google.common.reflect.ClassPath;
27 import com.google.common.reflect.ClassPath.ClassInfo;
61 for (ClassInfo info : ClassPath.from(getClass().getClassLoader()).getAllClasses()) { in testClassesHaveOverrides()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/
DRepository.java23 import org.apache.bcel.util.ClassPath;
84 public static ClassPath.ClassFile lookupClassFile( final String class_name ) { in lookupClassFile()
86 final ClassPath path = repository.getClassPath(); in lookupClassFile()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/
DChannelAndServerBuilderTest.java22 import com.google.common.reflect.ClassPath;
23 import com.google.common.reflect.ClassPath.ClassInfo;
55 ClassPath.from(loader).getTopLevelClassesRecursive("io.grpc"); in params()

123