Home
last modified time | relevance | path

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

/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
138 std::string(reinterpret_cast<const char*>(patch_data), patch_size)); in ApplyImagePatch()
/bootable/recovery/applypatch/include/applypatch/
Dimgpatch.h26 int ApplyImagePatch(const unsigned char* old_data, size_t old_size, const unsigned char* patch_data,
Dimgdiff_image.h100 std::vector<uint8_t>* patch_data,
/bootable/recovery/tests/unit/
Dupdater_test.cpp170 R"(", "patch_data"))"; in RunBlockImageUpdate()
1158 std::string patch_data = patch_bdc_g + patch_abcd_dcb; in GenerateTransferList() local
1162 { "patch_data", patch_data }, in GenerateTransferList()