Home | History | Annotate | Download | only in test

Lines Matching refs:File

5  * you may not use this file except in compliance with the License.
24 import java.io.File;
58 // A cache of jar file contents
59 private final Map<File, Set<String>> jarFiles = Maps.newHashMap();
113 File classPathEntry = new File(entryName);
124 File file = new File(apkPath);
125 scanForApkFiles(file, packageName, classNames, subpackageNames);
136 private void scanForApkFiles(File source, String packageName,
141 File[] files = source.listFiles();
143 for (File file : files) {
144 scanForApkFiles(file, packageName, classNames, subpackageNames);
154 private void findClassesInDirectory(File classDir,
158 File directory = new File(classDir, pathPrefix);
161 for (File f : directory.listFiles()) {
174 * add them to the respective sets. Searches the package in a single jar file.
176 private void findClassesInJar(File jarFile, String pathPrefix,
204 * add them to the respective sets. Searches the package in a single apk file.
246 private Set<String> getJarEntries(File jarFile)
285 * Checks if a given file name represents a toplevel class.
292 * Given the absolute path of a class file, return the class name.