Searched refs:deltaFriendlyNewFile (Results 1 – 3 of 3) sorted by relevance
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/ |
D | PreDiffExecutor.java | 41 private File deltaFriendlyNewFile; field in PreDiffExecutor.Builder 70 public Builder writingDeltaFriendlyFiles(File deltaFriendlyOldFile, File deltaFriendlyNewFile) { in writingDeltaFriendlyFiles() argument 71 if (deltaFriendlyOldFile == null || deltaFriendlyNewFile == null) { in writingDeltaFriendlyFiles() 75 this.deltaFriendlyNewFile = deltaFriendlyNewFile; in writingDeltaFriendlyFiles() 108 deltaFriendlyNewFile, in build() 129 private final File deltaFriendlyNewFile; field in PreDiffExecutor 141 File deltaFriendlyNewFile, in PreDiffExecutor() argument 146 this.deltaFriendlyNewFile = deltaFriendlyNewFile; in PreDiffExecutor() 187 try (FileOutputStream out = new FileOutputStream(deltaFriendlyNewFile); in generateDeltaFriendlyFiles()
|
D | FileByFileV1DeltaGenerator.java | 69 TempFileHolder deltaFriendlyNewFile = new TempFileHolder(); in generateDelta() 76 .writingDeltaFriendlyFiles(deltaFriendlyOldFile.file, deltaFriendlyNewFile.file); in generateDelta() 84 deltaFriendlyOldFile.file, deltaFriendlyNewFile.file, bufferedDeltaOut); in generateDelta() 90 deltaFriendlyNewFile.file.length(), in generateDelta() 108 TempFileHolder deltaFriendlyNewFile = new TempFileHolder()) { in generatePreDiffPlan() 112 .writingDeltaFriendlyFiles(deltaFriendlyOldFile.file, deltaFriendlyNewFile.file); in generatePreDiffPlan()
|
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/ |
D | PreDiffExecutorTest.java | 48 private File deltaFriendlyNewFile; field in PreDiffExecutorTest 54 deltaFriendlyNewFile = newTempFile(); in setup() 129 .writingDeltaFriendlyFiles(deltaFriendlyOldFile, deltaFriendlyNewFile) in testPrepareForDiffing_OneCompressedEntry_Unchanged() 140 assertFileEquals(newFile, deltaFriendlyNewFile); in testPrepareForDiffing_OneCompressedEntry_Unchanged() 152 .writingDeltaFriendlyFiles(deltaFriendlyOldFile, deltaFriendlyNewFile) in testPrepareForDiffing_OneCompressedEntry_Changed() 162 Assert.assertTrue(newFile.length() < deltaFriendlyNewFile.length()); in testPrepareForDiffing_OneCompressedEntry_Changed() 200 byte[] actualNew = readFile(deltaFriendlyNewFile); in testPrepareForDiffing_OneCompressedEntry_Changed() 217 .writingDeltaFriendlyFiles(deltaFriendlyOldFile, deltaFriendlyNewFile) 229 assertFileEquals(newFile, deltaFriendlyNewFile);
|