Home
last modified time | relevance | path

Searched refs:PatchConstants (Results 1 – 7 of 7) sorted by relevance

/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/
DPatchReader.java18 import com.google.archivepatcher.shared.PatchConstants;
52 byte[] expectedIdentifier = PatchConstants.IDENTIFIER.getBytes("US-ASCII"); in readPatchApplyPlan()
103 PatchConstants.CompatibilityWindowId.DEFAULT_DEFLATE.patchValue, in readPatchApplyPlan()
104 PatchConstants.CompatibilityWindowId.DEFAULT_DEFLATE.patchValue, in readPatchApplyPlan()
126 PatchConstants.DeltaFormat.BSDIFF.patchValue, in readPatchApplyPlan()
127 PatchConstants.DeltaFormat.BSDIFF.patchValue, in readPatchApplyPlan()
140 PatchConstants.DeltaFormat.fromPatchValue(deltaFormatByte), in readPatchApplyPlan()
DDeltaDescriptor.java17 import com.google.archivepatcher.shared.PatchConstants;
18 import com.google.archivepatcher.shared.PatchConstants.DeltaFormat;
31 private final PatchConstants.DeltaFormat format;
70 public PatchConstants.DeltaFormat getFormat() { in getFormat()
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DPatchWriter.java18 import com.google.archivepatcher.shared.PatchConstants;
87 dataOut.write(PatchConstants.IDENTIFIER.getBytes("US-ASCII")); in writeV1Patch()
104 dataOut.write(PatchConstants.CompatibilityWindowId.DEFAULT_DEFLATE.patchValue); in writeV1Patch()
116 dataOut.write(PatchConstants.DeltaFormat.BSDIFF.patchValue); in writeV1Patch()
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/
DPatchWriterTest.java18 import com.google.archivepatcher.shared.PatchConstants;
117 Assert.assertArrayEquals(PatchConstants.IDENTIFIER.getBytes("US-ASCII"), eightBytes); in testWriteV1Patch()
133 PatchConstants.CompatibilityWindowId.DEFAULT_DEFLATE.patchValue, patchIn.read()); in testWriteV1Patch()
141 Assert.assertEquals(PatchConstants.DeltaFormat.BSDIFF.patchValue, patchIn.read()); in testWriteV1Patch()
/external/archive-patcher/applier/src/test/java/com/google/archivepatcher/applier/
DFileByFileV1DeltaApplierTest.java18 import com.google.archivepatcher.shared.PatchConstants;
174 dataOut.write(PatchConstants.IDENTIFIER.getBytes("US-ASCII")); in writePatch()
188 dataOut.write(PatchConstants.CompatibilityWindowId.DEFAULT_DEFLATE.patchValue); in writePatch()
195 dataOut.write(PatchConstants.DeltaFormat.BSDIFF.patchValue); in writePatch()
DPatchReaderTest.java18 import com.google.archivepatcher.shared.PatchConstants;
83 PatchConstants.DeltaFormat.BSDIFF,
143 : PatchConstants.IDENTIFIER.getBytes("US-ASCII")); // header in writeTestPatch()
188 : PatchConstants.CompatibilityWindowId.DEFAULT_DEFLATE.patchValue); in writeTestPatch()
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
DPatchConstants.java20 public class PatchConstants { class