Home
last modified time | relevance | path

Searched refs:fileName (Results 1 – 6 of 6) sorted by relevance

/dalvik/dx/src/com/android/dex/util/
DFileUtils.java37 public static byte[] readFile(String fileName) { in readFile() argument
38 File file = new File(fileName); in readFile()
92 public static boolean hasArchiveSuffix(String fileName) { in hasArchiveSuffix() argument
93 return fileName.endsWith(".zip") in hasArchiveSuffix()
94 || fileName.endsWith(".jar") in hasArchiveSuffix()
95 || fileName.endsWith(".apk"); in hasArchiveSuffix()
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DMain.java58 for (String fileName : mInputFileNames) { in run()
61 Output.generateFirstHeader(fileName, mOutputFormat); in run()
63 Output.generateHeader(fileName, mOutputFormat); in run()
65 List<RandomAccessFile> rafs = openInputFiles(fileName); in run()
95 List<RandomAccessFile> openInputFiles(String fileName) throws IOException { in openInputFiles() argument
96 List<RandomAccessFile> rafs = openInputFileAsZip(fileName); in openInputFiles()
99 File inputFile = new File(fileName); in openInputFiles()
117 List<RandomAccessFile> openInputFileAsZip(String fileName) throws IOException { in openInputFileAsZip() argument
123 zipFile = new ZipFile(fileName); in openInputFileAsZip()
126 System.err.println("Unable to open '" + fileName + "': " + in openInputFileAsZip()
DOutput.java33 private static void generateHeader0(String fileName, String format) { in generateHeader0() argument
35 if (fileName != null) { in generateHeader0()
36 out.println("File: " + fileName); in generateHeader0()
39 if (fileName != null) { in generateHeader0()
40 out.println(IN0 + "<external file=\"" + fileName + "\">"); in generateHeader0()
50 public static void generateFirstHeader(String fileName, String format) { in generateFirstHeader() argument
51 generateHeader0(fileName, format); in generateFirstHeader()
54 public static void generateHeader(String fileName, String format) { in generateHeader() argument
56 generateHeader0(fileName, format); in generateHeader()
/dalvik/dexgen/src/com/android/dexgen/util/
DFileUtils.java41 public static byte[] readFile(String fileName) { in readFile() argument
42 File file = new File(fileName); in readFile()
/dalvik/dx/src/com/android/multidex/
DMainDexListBuilder.java152 for (String fileName : fileNames) { in printList()
153 System.out.println(fileName); in printList()
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java432 …private static void readPathsFromFile(String fileName, Collection<String> paths) throws IOExceptio… in readPathsFromFile() argument
435 FileReader fr = new FileReader(fileName); in readPathsFromFile()
895 private boolean createJar(String fileName) { in createJar() argument
904 OutputStream out = openOutput(fileName); in createJar()