Home
last modified time | relevance | path

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

/bootable/recovery/applypatch/include/applypatch/
Dimgpatch.h26 int ApplyImagePatch(const unsigned char* old_data, size_t old_size, const unsigned char* patch_data,
Dapplypatch.h51 const std::vector<std::unique_ptr<Value>>& patch_data,
Dimgdiff_image.h98 std::vector<uint8_t>* patch_data,
/bootable/recovery/tests/component/
Dupdater_test.cpp526 { "patch_data", "" },
572 { "patch_data", "" },
615 { "patch_data", "" },
686 { "patch_data", "" },
757 { "patch_data", "" },
823 { "patch_data", "" },
886 { "patch_data", "" },
/bootable/recovery/applypatch/
Dimgdiff.cpp333 std::vector<uint8_t>* patch_data, in MakePatch() argument
368 patch_data->resize(sz); in MakePatch()
369 if (!android::base::ReadFully(patch_fd, patch_data->data(), sz)) { in MakePatch()
1121 std::vector<uint8_t> patch_data; in GeneratePatchesInternal() local
1122 if (!ImageChunk::MakePatch(tgt_chunk, src_ref, &patch_data, bsdiff_cache_ptr)) { in GeneratePatchesInternal()
1127 LOG(INFO) << "patch " << i << " is " << patch_data.size() << " bytes (of " in GeneratePatchesInternal()
1130 if (PatchChunk::RawDataIsSmaller(tgt_chunk, patch_data.size())) { in GeneratePatchesInternal()
1133 patch_chunks->emplace_back(tgt_chunk, src_ref, std::move(patch_data)); in GeneratePatchesInternal()
1447 std::vector<uint8_t> patch_data; in GeneratePatches() local
1448 if (!ImageChunk::MakePatch(tgt_chunk, src_chunk, &patch_data, nullptr)) { in GeneratePatches()
[all …]
Dimgpatch.cpp135 int ApplyImagePatch(const unsigned char* old_data, size_t old_size, const unsigned char* patch_data, in ApplyImagePatch() argument
137 Value patch(VAL_BLOB, std::string(reinterpret_cast<const char*>(patch_data), patch_size)); in ApplyImagePatch()
Dapplypatch.cpp480 const std::vector<std::unique_ptr<Value>>& patch_data, const Value* bonus_data) { in applypatch() argument
520 return GenerateTarget(source_file, patch_data[to_use], target_filename, target_sha1, in applypatch()
539 return GenerateTarget(copy_file, patch_data[to_use], target_filename, target_sha1, bonus_data); in applypatch()