Home
last modified time | relevance | path

Searched refs:classPath (Results 1 – 25 of 43) sorted by relevance

12

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DArrayProto.java45 protected final ClassPath classPath; field in ArrayProto
49 public ArrayProto(@Nonnull ClassPath classPath, @Nonnull String type) { in ArrayProto() argument
50 this.classPath = classPath; in ArrayProto()
68 @Nonnull @Override public ClassPath getClassPath() { return classPath; } in getClassPath()
107 return classPath.getClass("Ljava/lang/Object;"); in getCommonSuperclass()
111 TypeProto thisClass = classPath.getClass(elementType); in getCommonSuperclass()
112 TypeProto otherClass = classPath.getClass(((ArrayProto)other).elementType); in getCommonSuperclass()
120 return classPath.getClass(makeArrayType(mergedClass.getType(), dimensions)); in getCommonSuperclass()
124 return classPath.getClass(makeArrayType("Ljava/lang/Object;", dimensions)); in getCommonSuperclass()
137 return classPath.getClass("Ljava/lang/Object;"); in getCommonSuperclass()
[all …]
DUnknownClassProto.java41 @Nonnull protected final ClassPath classPath; field in UnknownClassProto
43 public UnknownClassProto(@Nonnull ClassPath classPath) { in UnknownClassProto() argument
44 this.classPath = classPath; in UnknownClassProto()
48 @Nonnull @Override public ClassPath getClassPath() { return classPath; } in getClassPath()
60 return classPath.getClass("Ljava/lang/Object;"); in getCommonSuperclass()
73 return classPath.getClass("Ljava/lang/Object;").getFieldByOffset(fieldOffset); in getFieldByOffset()
79 return classPath.getClass("Ljava/lang/Object;").getMethodByVtableIndex(vtableIndex); in getMethodByVtableIndex()
DClassPath.java67 public ClassPath(DexFile... classPath) throws IOException { in ClassPath() argument
68 this(Lists.newArrayList(classPath), 15); in ClassPath()
77 public ClassPath(@Nonnull Iterable<DexFile> classPath, int api) { in ClassPath() argument
78 this(Lists.newArrayList(classPath), api == 17); in ClassPath()
87 public ClassPath(@Nonnull Iterable<DexFile> classPath, boolean checkPackagePrivateAccess) { in ClassPath() argument
89 … Iterable<DexFile> dexFiles = Iterables.concat(classPath, Lists.newArrayList(getBasicClasses())); in ClassPath()
166 …lassPath fromClassPath(Iterable<String> classPathDirs, Iterable<String> classPath, DexFile dexFile, in fromClassPath() argument
168 return fromClassPath(classPathDirs, classPath, dexFile, api, api == 17); in fromClassPath()
172 …lassPath fromClassPath(Iterable<String> classPathDirs, Iterable<String> classPath, DexFile dexFile, in fromClassPath() argument
176 for (String classPathEntry: classPath) { in fromClassPath()
DPrimitiveProto.java42 protected final ClassPath classPath; field in PrimitiveProto
45 public PrimitiveProto(@Nonnull ClassPath classPath, @Nonnull String type) { in PrimitiveProto() argument
46 this.classPath = classPath; in PrimitiveProto()
51 @Nonnull @Override public ClassPath getClassPath() { return classPath; } in getClassPath()
DCustomInlineMethodResolver.java52 @Nonnull private final ClassPath classPath; field in CustomInlineMethodResolver
55 public CustomInlineMethodResolver(@Nonnull ClassPath classPath, @Nonnull String inlineTable) { in CustomInlineMethodResolver() argument
56 this.classPath = classPath; in CustomInlineMethodResolver()
84 …public CustomInlineMethodResolver(@Nonnull ClassPath classPath, @Nonnull File inlineTable) throws … in CustomInlineMethodResolver() argument
85 this(classPath, Files.toString(inlineTable, Charset.forName("UTF-8"))); in CustomInlineMethodResolver()
120 TypeProto typeProto = classPath.getClass(className); in parseAndResolveInlineMethod()
DClassProto.java63 @Nonnull protected final ClassPath classPath; field in ClassProto
69 public ClassProto(@Nonnull ClassPath classPath, @Nonnull String type) { in ClassProto() argument
73 this.classPath = classPath; in ClassProto()
78 @Nonnull @Override public ClassPath getClassPath() { return classPath; } in getClassPath()
89 return classPath.getClassDef(type);
135 interfaceDef = classPath.getClassDef(interfaceType);
142 … ClassProto interfaceProto = (ClassProto) classPath.getClass(interfaceType);
167 … ClassProto superclassProto = (ClassProto) classPath.getClass(superclass);
314 return classPath.getUnknownClass(); in getCommonSuperclass()
334 return classPath.getUnknownClass(); in getCommonSuperclass()
[all …]
DMethodAnalyzer.java77 @Nonnull private final ClassPath classPath; field in MethodAnalyzer
95 public MethodAnalyzer(@Nonnull ClassPath classPath, @Nonnull Method method, in MethodAnalyzer() argument
97 this.classPath = classPath; in MethodAnalyzer()
158 classPath.getClass(method.getDefiningClass()))); in analyze()
162 classPath.getClass(method.getDefiningClass()))); in analyze()
297 RegisterType.getRegisterType(classPath, parameter)); in propagateParameterTypes()
1028 …resultRegisterType = RegisterType.getRegisterType(classPath, ((MethodReference)reference).getRetur…
1030 resultRegisterType = RegisterType.getRegisterType(classPath, (TypeReference)reference);
1048 classPath.getClass("Ljava/lang/Throwable;"));
1050 … exceptionType = RegisterType.getRegisterType(RegisterType.REFERENCE, classPath.getClass(type))
[all …]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/util/
DSuperclassChainTest.java59 ClassPath classPath = new ClassPath(new ImmutableDexFile(classes)); in testGetSuperclassChain() local
61 TypeProto objectClassProto = classPath.getClass("Ljava/lang/Object;"); in testGetSuperclassChain()
62 TypeProto oneClassProto = classPath.getClass("Ltest/one;"); in testGetSuperclassChain()
63 TypeProto twoClassProto = classPath.getClass("Ltest/two;"); in testGetSuperclassChain()
64 TypeProto threeClassProto = classPath.getClass("Ltest/three;"); in testGetSuperclassChain()
90 ClassPath classPath = new ClassPath(new ImmutableDexFile(classes)); in testGetSuperclassChain_Unresolved() local
92 TypeProto unknownClassProto = classPath.getUnknownClass(); in testGetSuperclassChain_Unresolved()
93 TypeProto oneClassProto = classPath.getClass("Ltest/one;"); in testGetSuperclassChain_Unresolved()
94 TypeProto twoClassProto = classPath.getClass("Ltest/two;"); in testGetSuperclassChain_Unresolved()
95 TypeProto threeClassProto = classPath.getClass("Ltest/three;"); in testGetSuperclassChain_Unresolved()
/external/jarjar/src/main/com/tonicsystems/jarjar/
DPathClass.java21 private String classPath; field in PathClass
24 public PathClass(String classPath, String className) { in PathClass() argument
25 this.classPath = classPath; in PathClass()
30 return classPath; in getClassPath()
38 return classPath + "!" + className; in toString()
/external/proguard/src/proguard/wtk/
DProGuardObfuscator.java66 String classPath, in run() argument
82 configuration.libraryJars = classPath(classPath); in run()
113 private ClassPath classPath(String classPathString) in classPath() method in ProGuardObfuscator
115 ClassPath classPath = new ClassPath(); in classPath() local
134 classPath.add(classPathEntry); in classPath()
140 return classPath; in classPath()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DCustomMethodInlineTableTest.java71 …ClassPath classPath = ClassPath.fromClassPath(ImmutableList.<String>of(), ImmutableList.<String>of… in testCustomMethodInlineTable_Virtual() local
73 …InlineMethodResolver inlineMethodResolver = new CustomInlineMethodResolver(classPath, "Lblah;->bla… in testCustomMethodInlineTable_Virtual()
74 MethodAnalyzer methodAnalyzer = new MethodAnalyzer(classPath, method, inlineMethodResolver); in testCustomMethodInlineTable_Virtual()
98 …ClassPath classPath = ClassPath.fromClassPath(ImmutableList.<String>of(), ImmutableList.<String>of… in testCustomMethodInlineTable_Static() local
100 …InlineMethodResolver inlineMethodResolver = new CustomInlineMethodResolver(classPath, "Lblah;->bla… in testCustomMethodInlineTable_Static()
101 MethodAnalyzer methodAnalyzer = new MethodAnalyzer(classPath, method, inlineMethodResolver); in testCustomMethodInlineTable_Static()
125 …ClassPath classPath = ClassPath.fromClassPath(ImmutableList.<String>of(), ImmutableList.<String>of… in testCustomMethodInlineTable_Direct() local
127 …InlineMethodResolver inlineMethodResolver = new CustomInlineMethodResolver(classPath, "Lblah;->bla… in testCustomMethodInlineTable_Direct()
128 MethodAnalyzer methodAnalyzer = new MethodAnalyzer(classPath, method, inlineMethodResolver); in testCustomMethodInlineTable_Direct()
DCommonSuperclassTest.java53 private final ClassPath classPath; field in CommonSuperclassTest
56 classPath = new ClassPath(new ImmutableDexFile(ImmutableSet.of( in CommonSuperclassTest()
93 TypeProto commonSuperclassProto = classPath.getClass(commonSuperclass); in superclassTest()
94 TypeProto type1Proto = classPath.getClass(type1); in superclassTest()
95 TypeProto type2Proto = classPath.getClass(type2); in superclassTest()
130classPath.getClass(onetwo).getCommonSuperclass(new ClassProto(classPath, onetwo)).getType()); in testGetCommonSuperclass()
/external/proguard/src/proguard/ant/
DConfigurationTask.java331 private ClassPath extendClassPath(ClassPath classPath, in extendClassPath() argument
335 if (classPath == null) in extendClassPath()
337 classPath = new ClassPath(); in extendClassPath()
340 classPathElement.appendClassPathEntriesTo(classPath, in extendClassPath()
343 return classPath; in extendClassPath()
347 private ClassPath extendClassPath(ClassPath classPath, in extendClassPath() argument
352 if (classPath == null) in extendClassPath()
354 classPath = new ClassPath(); in extendClassPath()
357 classPath.addAll(additionalClassPath); in extendClassPath()
360 return classPath; in extendClassPath()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/
DAbstractClassLoader.java30 private ClassLoader classPath; field in AbstractClassLoader
44 protected AbstractClassLoader(ClassLoader parent, ClassLoader classPath, ClassFilter filter) { in AbstractClassLoader() argument
47 this.classPath = classPath; in AbstractClassLoader()
66 java.io.InputStream is = classPath.getResourceAsStream( in loadClass()
/external/emma/tools/java/com/vladium/tools/
DClassDep.java51 final URL [] classPath; in main() local
54 classPath = new URL [tokenizer.countTokens ()]; in main()
58 classPath [i] = new File (tokenizer.nextToken ()).toURL (); in main()
75 final ClassDep _this = new ClassDep (rootSet, classPath); in main()
99 public ClassDep (final String [] rootSet, final URL [] classPath) in ClassDep() argument
104 if (classPath == null) in ClassDep()
108 m_classPath = classPath; in ClassDep()
/external/proguard/src/proguard/
DInputReader.java133 ClassPath classPath, in readInput() argument
137 classPath, in readInput()
139 classPath.size(), in readInput()
148 ClassPath classPath, in readInput() argument
155 ClassPathEntry entry = classPath.get(index); in readInput()
DOutputWriter.java97 ClassPath classPath, in writeOutput() argument
108 DataEntryWriterFactory.createDataEntryWriter(classPath, in writeOutput()
177 classPath, in writeOutput()
187 …throw (IOException)new IOException("Can't write [" + classPath.get(fromOutputIndex).getName() + "]… in writeOutput()
DClassPath.java70 public boolean addAll(ClassPath classPath) in addAll() argument
72 return classPathEntries.addAll(classPath.classPathEntries); in addAll()
/external/javassist/src/main/javassist/scopedpool/
DScopedClassPool.java41 protected LoaderClassPath classPath; field in ScopedClassPool
86 classPath = new LoaderClassPath(cl); in ScopedClassPool()
87 this.insertClassPath(classPath); in ScopedClassPool()
119 this.removeClassPath(classPath); in close()
120 classPath.close(); in close()
/external/eyes-free/AccessCheck/src/com/android/accessibility/
DAccessibilityValidationContentHandler.java117 String classPath = "android.widget." + localName; in startElement() local
119 potentialClass = sValidationClassLoader.loadClass(classPath); in startElement()
127 if (mExclusionList.contains(classPath)) { in startElement()
130 mExclusionList.add(classPath); in startElement()
/external/proguard/src/proguard/gui/
DClassPathPanel.java207 public void setClassPath(ClassPath classPath) in setClassPath() argument
211 if (classPath != null) in setClassPath()
213 for (int index = 0; index < classPath.size(); index++) in setClassPath()
215 listModel.addElement(classPath.get(index)); in setClassPath()
236 ClassPath classPath = new ClassPath(); in getClassPath() local
239 classPath.add((ClassPathEntry)listModel.get(index)); in getClassPath()
242 return classPath; in getClassPath()
/external/vogar/src/vogar/target/
DClassPathScanner.java47 private final String[] classPath; field in ClassPathScanner
51 classPath = getClassPath(); in ClassPathScanner()
85 for (String entry : classPath) { in findClasses()
230 String classPath = System.getProperty("java.class.path"); in getClassPath() local
232 return classPath.split(Pattern.quote(separator)); in getClassPath()
/external/jarjar/src/main/com/tonicsystems/jarjar/util/
DClassPathIterator.java43 public ClassPathIterator(String classPath) throws IOException { in ClassPathIterator() argument
44 this(new File(System.getProperty("user.dir")), classPath, null); in ClassPathIterator()
47 public ClassPathIterator(File parent, String classPath, String delim) throws IOException { in ClassPathIterator() argument
51 StringTokenizer st = new StringTokenizer(classPath, delim); in ClassPathIterator()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetProviderICU.java86 public final Charset charsetForName(String charsetName, String classPath) { in charsetForName() argument
87 return charsetForName(charsetName, classPath, null); in charsetForName()
99 public Charset charsetForName(String charsetName, String classPath, ClassLoader loader) { in charsetForName() argument
102 cs = new CharsetMBCS(charsetName, charsetName, new String[0], classPath, loader); in charsetForName()
/external/vogar/src/vogar/
DClassFileIndex.java163 String classPath = jarEntry.getName()
167 if (classFileMap.containsKey(classPath)) {
168 classFileMap.get(classPath).add(file);
172 classFileMap.put(classPath, classPathJars);

12