Home
last modified time | relevance | path

Searched refs:path (Results 1 – 14 of 14) sorted by relevance

/dalvik/dx/src/com/android/dx/cf/direct/
DClassPathOpener.java90 boolean accept(String path); in accept() argument
99 public boolean accept(String path) {
160 String path = file.getPath(); in processOne() local
162 if (path.endsWith(".zip") || in processOne()
163 path.endsWith(".jar") || in processOne()
164 path.endsWith(".apk")) { in processOne()
167 if (filter.accept(path)) { in processOne()
169 return consumer.processFileBytes(path, file.lastModified(), bytes); in processOne()
267 String path = one.getName(); in processArchive() local
268 if (filter.accept(path)) { in processArchive()
[all …]
/dalvik/dx/src/com/android/multidex/
DMainDexListBuilder.java104 Path path = null; in MainDexListBuilder() local
112 path = new Path(pathString); in MainDexListBuilder()
114 ClassReferenceListBuilder mainListBuilder = new ClassReferenceListBuilder(path); in MainDexListBuilder()
120 keepAnnotated(path); in MainDexListBuilder()
128 if (path != null) { in MainDexListBuilder()
129 for (ClassPathElement element : path.elements) { in MainDexListBuilder()
160 private void keepAnnotated(Path path) throws FileNotFoundException { in keepAnnotated() argument
161 for (ClassPathElement element : path.getElements()) { in keepAnnotated()
165 DirectClassFile clazz = path.getClass(name); in keepAnnotated()
DClassReferenceListBuilder.java43 private final Path path; field in ClassReferenceListBuilder
46 public ClassReferenceListBuilder(Path path) { in ClassReferenceListBuilder() argument
47 this.path = path; in ClassReferenceListBuilder()
84 classFile = path.getClass(name); in addRoots()
87 " is missing form original class path " + path, e); in addRoots()
150 DirectClassFile classFile = path.getClass(classBinaryName + CLASS_EXTENSION); in addClassWithHierachy()
DPath.java95 synchronized DirectClassFile getClass(String path) throws FileNotFoundException { in getClass() argument
99 InputStream in = element.open(path); in getClass()
103 classFile = new DirectClassFile(bytes, path, false); in getClass()
114 throw new FileNotFoundException("File \"" + path + "\" not found"); in getClass()
DArchivePathElement.java43 public InputStream open(String path) throws IOException { in open() argument
44 ZipEntry entry = archive.getEntry(path); in open()
46 throw new FileNotFoundException("File \"" + path + "\" not found"); in open()
DFolderPathElement.java37 public InputStream open(String path) throws FileNotFoundException { in open() argument
39 path.replace(SEPARATOR_CHAR, File.separatorChar))); in open()
DClassPathElement.java35 InputStream open(String path) throws IOException; in open() argument
/dalvik/dx/junit-tests/com/android/dx/merge/
DDexMergerTest.java65 String path = clazz.getName().replace('.', '/') + ".class"; in getDexForClass() local
67 try (InputStream in = getClass().getClassLoader().getResourceAsStream(path); in getDexForClass()
70 ZipEntry entry = new ZipEntry(path); in getDexForClass()
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java1029 private static String fixPath(String path) { in fixPath() argument
1035 path = path.replace('\\', '/'); in fixPath()
1038 int index = path.lastIndexOf("/./"); in fixPath()
1041 return path.substring(index + 3); in fixPath()
1044 if (path.startsWith("./")) { in fixPath()
1045 return path.substring(2); in fixPath()
1048 return path; in fixPath()
1156 public boolean accept(String path) { in accept() argument
1157 return !filter.accept(path); in accept()
1172 public boolean accept(String path) { in accept() argument
[all …]
/dalvik/dx/tests/138-invoke-polymorphic-again/
Dinfo.txt3 were mis-annotated in dx as having a return result. This led to a path
/dalvik/dx/src/com/android/dx/command/annotool/
DAnnotationLister.java60 for (String path : args.files) { in process()
63 opener = new ClassPathOpener(path, true, in process()
/dalvik/dx/etc/
Ddx.bat21 REM Set up prog to be the path of this script, including following symlinks,
25 rem Check we have a valid Java.exe in the path.
DmainDexClasses.bat19 rem Check we have a valid Java.exe in the path.
126 echo "Usage : %0 [--output <output file>] <application path>"
/dalvik/tools/hprof-conv/
DHprofConv.c701 static FILE* fopen_or_default(const char* path, const char* mode, FILE* def) { in fopen_or_default() argument
702 if (!strcmp(path, "-")) { in fopen_or_default()
705 return fopen(path, mode); in fopen_or_default()