Searched refs:fileEntry (Results 1 – 6 of 6) sorted by relevance
81 Entry fileEntry = fileEntryBuilder.build(); in testApkParser() local92 fileName, txtProtobufFileName, TextFormat.printToString(fileEntry)), in testApkParser()93 fileEntry.equals(expectedfileEntryBuilder.build())); in testApkParser()
158 private void testFileParser(String fileName, Entry fileEntry) throws Exception { in testFileParser() argument170 TextFormat.printToString(fileEntry), in testFileParser()172 fileEntry.equals(expectedEntryBuilder.build())); in testFileParser()
223 Entry.Builder fileEntry = Entry.newBuilder(); in parseFolder() local224 fileEntry.setId(getId(fileRelativePath)); in parseFolder()225 fileEntry.setName(file.getName()); in parseFolder()226 fileEntry.setSize(file.length()); in parseFolder()227 fileEntry.setContentId(getFileContentId(file)); in parseFolder()228 fileEntry.setRelativePath(fileRelativePath); in parseFolder()229 fileEntry.setParentId(folderId); in parseFolder()231 FileMetadata fMetadata = parseFileMetadata(fileEntry, file); in parseFolder()233 fileEntry.setFileMetadata(fMetadata); in parseFolder()245 testSuiteContent.addFileEntries(fileEntry); in parseFolder()[all …]
187 public static void writeTextFormatMessage(String outputFileName, Entry fileEntry) in writeTextFormatMessage() argument191 txtOutput.write(TextFormat.printToString(fileEntry).getBytes(Charset.forName("UTF-8"))); in writeTextFormatMessage()195 System.out.println(TextFormat.printToString(fileEntry)); in writeTextFormatMessage()
156 Entry fileEntry = aParser.getFileEntryBuilder().build(); in main() local158 writeTextFormatMessage(outputFileName, fileEntry); in main()
278 Entry fileEntry = aParser.getFileEntryBuilder().build(); in main() local280 writeTextFormatMessage(outputFileName, fileEntry); in main()