Home
last modified time | relevance | path

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

/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/
DPatchConstants.java39 public final byte patchValue; field in PatchConstants.CompatibilityWindowId
44 private CompatibilityWindowId(byte patchValue) { in CompatibilityWindowId() argument
45 this.patchValue = patchValue; in CompatibilityWindowId()
53 public static CompatibilityWindowId fromPatchValue(byte patchValue) { in fromPatchValue() argument
54 switch (patchValue) { in fromPatchValue()
76 public final byte patchValue; field in PatchConstants.DeltaFormat
81 private DeltaFormat(byte patchValue) { in DeltaFormat() argument
82 this.patchValue = patchValue; in DeltaFormat()
90 public static DeltaFormat fromPatchValue(byte patchValue) { in fromPatchValue() argument
91 switch (patchValue) { in fromPatchValue()
/external/archive-patcher/applier/src/main/java/com/google/archivepatcher/applier/
DPatchReader.java103 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()
/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/
DPatchWriter.java104 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.java133 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.java188 dataOut.write(PatchConstants.CompatibilityWindowId.DEFAULT_DEFLATE.patchValue); in writePatch()
195 dataOut.write(PatchConstants.DeltaFormat.BSDIFF.patchValue); in writePatch()
DPatchReaderTest.java188 : PatchConstants.CompatibilityWindowId.DEFAULT_DEFLATE.patchValue); in writeTestPatch()
201 patchOut.write(corruption.corruptDeltaType ? 73 : descriptor.getFormat().patchValue); in writeTestPatch()