/bootable/recovery/applypatch/ |
libimgpatch.pc | 4 Description: Apply imgdiff patch
|
Makefile | 15 # This file is for building imgdiff in Chrome OS. 23 all: imgdiff libimgpatch.a 26 rm -f *.o imgdiff libimgpatch.a 28 imgdiff: imgdiff.o bsdiff.o utils.o
|
imgdiff_main.cpp | 17 #include "applypatch/imgdiff.h" 20 return imgdiff(argc, const_cast<const char**>(argv));
|
Android.mk | 125 libimgdiff_src_files := imgdiff.cpp 172 # imgdiff (host static executable) 176 LOCAL_MODULE := imgdiff
|
imgpatch.cpp | 17 // See imgdiff.cpp in this directory for a description of the patch file 36 #include <applypatch/imgdiff.h>
|
imgdiff.cpp | 41 * An "imgdiff" patch consists of a header describing the chunk structure 62 * The imgdiff patch header looks like this: 124 #include "applypatch/imgdiff.h" 759 char ptemp[] = "/data/local/tmp/imgdiff-patch-XXXXXX"; 761 char ptemp[] = "/tmp/imgdiff-patch-XXXXXX"; 853 int imgdiff(int argc, const char** argv) { function [all...] |
/bootable/recovery/tests/component/ |
imgdiff_test.cpp | 25 #include <applypatch/imgdiff.h> 32 // Sanity check for the given imgdiff patch header. 92 ASSERT_EQ(2, imgdiff(1, (const char* []){ "imgdiff" })); 93 ASSERT_EQ(2, imgdiff(2, (const char* []){ "imgdiff", "-z" })); 94 ASSERT_EQ(2, imgdiff(2, (const char* []){ "imgdiff", "-b" })); 95 ASSERT_EQ(2, imgdiff(3, (const char* []){ "imgdiff", "-z", "-b" })) [all...] |
/system/update_engine/payload_consumer/ |
payload_constants.cc | 66 case InstallOperation::IMGDIFF: 67 return "IMGDIFF";
|
payload_constants.h | 46 // The minor version that allows IMGDIFF operation.
|
/system/update_engine/scripts/update_payload/ |
common.py | 48 IMGDIFF = _CLASS.IMGDIFF 50 DISCARD, REPLACE_XZ, IMGDIFF) 61 IMGDIFF: 'IMGDIFF',
|
applier.py | 350 """Applies a SOURCE_BSDIFF or IMGDIFF operation. 376 op.type != common.OpType.IMGDIFF): 414 if op.type == common.OpType.IMGDIFF: 471 elif op.type in (common.OpType.SOURCE_BSDIFF, common.OpType.IMGDIFF):
|
checker.py | 819 """Specific checks for BSDIFF, SOURCE_BSDIFF and IMGDIFF operations. [all...] |
checker_unittest.py | 41 'IMGDIFF': common.OpType.IMGDIFF, [all...] |
update_metadata_pb2.py | 63 name='IMGDIFF', index=9, number=9,
|
/bootable/recovery/applypatch/include/applypatch/ |
imgdiff.h | 37 int imgdiff(int argc, const char** argv);
|
/build/make/tools/releasetools/ |
blockimgdiff.py | 38 def compute_patch(srcfile, tgtfile, imgdiff=False): 41 cmd = ['imgdiff', '-z'] if imgdiff else ['bsdiff'] 44 # Don't dump the bsdiff/imgdiff commands, which are not useful for the case 434 # imgdiff patchstart patchlen srchash tgthash <tgt rangeset> <src_str> 461 elif xf.style in ("bsdiff", "imgdiff"): 687 # like to use imgdiff -z if possible (because it usually 691 # - imgdiff is not disabled, and 699 # which is what imgdiff needs to operate. (imgdiff i [all...] |
common.py | [all...] |
ota_package_parser.py | 107 elif cmd_name == "bsdiff" or cmd_name == "imgdiff":
|
/system/update_engine/payload_generator/ |
delta_diff_utils.h | 96 // SOURCE_BSDIFF or IMGDIFF) wins. 106 // Runs the bsdiff or imgdiff tool in |diff_path| on two files and returns the
|
delta_diff_utils.cc | 54 const char* const kImgdiffPath = "imgdiff"; 63 // The maximum destination size allowed for imgdiff. In general, imgdiff should 660 // Disable bsdiff and imgdiff when the data is too big. 671 bool imgdiff_allowed = version.OperationAllowed(InstallOperation::IMGDIFF); 674 LOG(INFO) << "imgdiff blacklisted, data too big: " 743 // Imgdiff might fail in some cases, only use the result if it succeed, 751 operation.set_type(InstallOperation::IMGDIFF); 755 LOG(ERROR) << "Imgdiff failed with source extents: " 790 // Runs the bsdiff or imgdiff tool in |diff_path| on two files and returns th [all...] |
payload_generation_config.cc | 168 case InstallOperation::IMGDIFF:
|
payload_generation_config.h | 141 // Wheter the IMGDIFF operation is allowed based on the available compressor
|
generate_delta_main.cc | 329 "format, used to check imgdiff compatibility."); 577 LOG(INFO) << "IMGDIFF operation disabled due to fingerprint mismatch.";
|
/bootable/recovery/updater/ |
blockimg.cpp | 456 params.tokens[0] == "imgdiff"); 970 * Do a source/target load for move/bsdiff/imgdiff in version 3. [all...] |
/system/update_engine/ |
update_metadata.proto | 167 IMGDIFF = 9; // The data is in imgdiff format.
|