Searched refs:PatchConstants (Results 1 – 7 of 7) sorted by relevance
18 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()
17 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()
18 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()
18 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()
18 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()
18 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()
20 public class PatchConstants { class