Home
last modified time | relevance | path

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

123

/external/guava/guava-tests/test/com/google/common/reflect/
DClassPathTest.java27 import com.google.common.reflect.ClassPath.ClassInfo;
28 import com.google.common.reflect.ClassPath.ResourceInfo;
62 ClassPath classpath = ClassPath.from(getClass().getClassLoader()); in testGetResources()
91 ClassPath classpath = ClassPath.from(getClass().getClassLoader()); in testGetAllClasses()
105 ClassPath.class.getName(), ClassPathTest.class.getName()); in testGetAllClasses()
107 ClassPath.class.getName(), ClassPathTest.class.getName()); in testGetAllClasses()
108 assertThat(classes).has().allOf(anonymousClass, LocalClass.class, ClassPath.class, in testGetAllClasses()
110 assertThat(packageNames).has().exactly(ClassPath.class.getPackage().getName()); in testGetAllClasses()
120 ClassPath classpath = ClassPath.from(getClass().getClassLoader()); in testGetTopLevelClasses()
129 assertThat(names).has().allOf(ClassPath.class.getName(), ClassPathTest.class.getName()); in testGetTopLevelClasses()
[all …]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DCustomMethodInlineTableTest.java75ClassPath classPath = new ClassPath(resolver.getResolvedClassProviders(), false, ClassPath.NOT_ART… in testCustomMethodInlineTable_Virtual()
104ClassPath classPath = new ClassPath(resolver.getResolvedClassProviders(), false, ClassPath.NOT_ART… in testCustomMethodInlineTable_Static()
133ClassPath classPath = new ClassPath(resolver.getResolvedClassProviders(), false, ClassPath.NOT_ART… in testCustomMethodInlineTable_Direct()
DMethodAnalyzerTest.java84ClassPath classPath = new ClassPath(Lists.newArrayList(new DexClassProvider(dexFile)), true, 56); in testInstanceOfNarrowingEqz_art()
115 ClassPath classPath = new ClassPath(new DexClassProvider(dexFile)); in testInstanceOfNarrowingEqz_dalvik()
147ClassPath classPath = new ClassPath(Lists.newArrayList(new DexClassProvider(dexFile)), true, 56); in testInstanceOfNarrowingNez_art()
178 ClassPath classPath = new ClassPath(new DexClassProvider(dexFile)); in testInstanceOfNarrowingNez_dalvik()
211ClassPath classPath = new ClassPath(Lists.newArrayList(new DexClassProvider(dexFile)), true, 56); in testInstanceOfNarrowingAfterMove_art()
246 ClassPath classPath = new ClassPath(new DexClassProvider(dexFile)); in testInstanceOfNarrowingAfterMove_dalvik()
DCommonSuperclassTest.java56 private final ClassPath oldClassPath;
57 private final ClassPath newClassPath;
96 …oldClassPath = new ClassPath(new DexClassProvider(new ImmutableDexFile(Opcodes.getDefault(), class… in CommonSuperclassTest()
97 newClassPath = new ClassPath(Lists.newArrayList(new DexClassProvider( in CommonSuperclassTest()
101 public void superclassTest(ClassPath classPath, String commonSuperclass, in superclassTest()
/external/proguard/src/proguard/
DConfigurationChecker.java51 ClassPath programJars = configuration.programJars; in check()
52 ClassPath libraryJars = configuration.libraryJars; in check()
54 ClassPath systemJars = configuration.systemJars; in check()
84 ClassPath systemAndLibraryJars = new ClassPath(); in check()
181 private void checkConflicts(ClassPath classPath1, in checkConflicts()
182 ClassPath classPath2) in checkConflicts()
DConfiguration.java58 public ClassPath systemJars;
63 public ClassPath programJars;
68 public ClassPath libraryJars;
DClassPath.java31 public class ClassPath class
70 public boolean addAll(ClassPath classPath) in addAll()
/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.java43 public class ClassPath { class
45 public static final ClassPath SYSTEM_CLASS_PATH = new ClassPath(getClassPath());
58 private ClassPath parent;
60 public ClassPath(final ClassPath parent, final String class_path) { in ClassPath() method in ClassPath
70 public ClassPath(final String class_path) { in ClassPath() method in ClassPath
101 public ClassPath() { in ClassPath() method in ClassPath
126 if (o instanceof ClassPath) { in equals()
127 final ClassPath cp = (ClassPath)o; in equals()
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/smali/baksmali/src/test/java/org/jf/baksmali/
DFieldGapOrderTest.java35 import org.jf.dexlib2.analysis.ClassPath;
48ClassPath classPath = new ClassPath(Lists.newArrayList(new DexClassProvider(dexFile)), false, 66); in testOldOrder()
62ClassPath classPath = new ClassPath(Lists.newArrayList(new DexClassProvider(dexFile)), false, 67); in testNewOrder()
DAnalysisTest.java40 import org.jf.dexlib2.analysis.ClassPath;
106 options.classPath = new ClassPath(new ArrayList<ClassProvider>(), true, 56); in runTest()
108 options.classPath = new ClassPath(); in runTest()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DClassPath.java52 public class ClassPath { class
66 public ClassPath(ClassProvider... classProviders) throws IOException { in ClassPath() method in ClassPath
76 public ClassPath(Iterable<ClassProvider> classProviders) throws IOException { in ClassPath() method in ClassPath
89 …public ClassPath(@Nonnull Iterable<? extends ClassProvider> classProviders, boolean checkPackagePr… in ClassPath() method in ClassPath
138 return new ArrayProto(ClassPath.this, type);
140 return new ClassProto(ClassPath.this, type);
DPrimitiveProto.java43 protected final ClassPath classPath;
46 public PrimitiveProto(@Nonnull ClassPath classPath, @Nonnull String type) { in PrimitiveProto()
52 @Nonnull @Override public ClassPath getClassPath() { return classPath; } in getClassPath()
DUnknownClassProto.java42 @Nonnull protected final ClassPath classPath;
44 public UnknownClassProto(@Nonnull ClassPath classPath) { in UnknownClassProto()
49 @Nonnull @Override public ClassPath getClassPath() { return classPath; } in getClassPath()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/util/
DSuperclassChainTest.java38 import org.jf.dexlib2.analysis.ClassPath;
60ClassPath classPath = new ClassPath(new DexClassProvider(new ImmutableDexFile(Opcodes.getDefault()… in testGetSuperclassChain()
91ClassPath classPath = new ClassPath(new DexClassProvider(new ImmutableDexFile(Opcodes.getDefault()… in testGetSuperclassChain_Unresolved()
/external/smali/baksmali/src/main/java/org/jf/baksmali/
DAnalysisArguments.java37 import org.jf.dexlib2.analysis.ClassPath;
49 import static org.jf.dexlib2.analysis.ClassPath.NOT_ART;
84 public ClassPath loadClassPathForDexFile(@Nonnull File dexFileDir, @Nonnull DexFile dexFile, in loadClassPathForDexFile()
90 public ClassPath loadClassPathForDexFile(@Nonnull File dexFileDir, @Nonnull DexFile dexFile, in loadClassPathForDexFile()
141 … return new ClassPath(resolver.getResolvedClassProviders(), checkPackagePrivateAccess, oatVersion); in loadClassPathForDexFile()
/external/proguard/src/proguard/wtk/
DProGuardObfuscator.java85 configuration.programJars = new ClassPath(); in run()
113 private ClassPath classPath(String classPathString) in classPath()
115 ClassPath classPath = new ClassPath(); in classPath()
/external/proguard/src/proguard/ant/
DConfigurationTask.java331 private ClassPath extendClassPath(ClassPath classPath, in extendClassPath()
337 classPath = new ClassPath(); in extendClassPath()
347 private ClassPath extendClassPath(ClassPath classPath, in extendClassPath()
348 ClassPath additionalClassPath) in extendClassPath()
354 classPath = new ClassPath(); in extendClassPath()
/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/testing/
DTestClassPaths.java24 import com.google.turbine.binder.ClassPath;
49 public static final ClassPath TURBINE_BOOTCLASSPATH = getTurbineBootclasspath();
51 private static ClassPath getTurbineBootclasspath() { in getTurbineBootclasspath()
/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()
/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/turbine/java/com/google/turbine/main/
DMain.java27 import com.google.turbine.binder.ClassPath;
99 ClassPath bootclasspath = bootclasspath(options); in compile()
104 ClassPath classpath = ClassPathBinder.bindClasspath(toPaths(reducedClasspath)); in compile()
142 private static ClassPath bootclasspath(TurbineOptions options) throws IOException { in bootclasspath()
155 ClassPath bootclasspath = CtSymClassBinder.bind(release); in bootclasspath()

123