Home
last modified time | relevance | path

Searched refs:data_blob (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/payload_generator/
Ddelta_diff_utils_unittest.cc165 brillo::Blob data_blob(block_size_); in TEST_F() local
166 test_utils::FillWithData(&data_blob); in TEST_F()
172 EXPECT_TRUE(WriteExtents(old_part_.path, old_extents, kBlockSize, data_blob)); in TEST_F()
173 EXPECT_TRUE(WriteExtents(new_part_.path, new_extents, kBlockSize, data_blob)); in TEST_F()
285 brillo::Blob data_blob(kBlockSize); in TEST_F() local
286 test_utils::FillWithData(&data_blob); in TEST_F()
292 EXPECT_TRUE(WriteExtents(old_part_.path, old_extents, kBlockSize, data_blob)); in TEST_F()
294 data_blob[0]++; in TEST_F()
295 EXPECT_TRUE(WriteExtents(new_part_.path, new_extents, kBlockSize, data_blob)); in TEST_F()
376 brillo::Blob data_blob(kBlockSize); in TEST_F() local
[all …]
Dpayload_signer_unittest.cc102 brillo::Blob data_blob(std::begin(kDataToSign), in SignSampleData() local
108 EXPECT_TRUE(HashCalculator::RawHashOfBytes(data_blob.data(), in SignSampleData()
109 data_blob.size(), in SignSampleData()
Ddelta_diff_utils.cc589 brillo::Blob data_blob; in ReadExtentsToDiff() local
595 GenerateBestFullOperation(new_data, version, &data_blob, &op_type)); in ReadExtentsToDiff()
609 data_blob = brillo::Blob(); in ReadExtentsToDiff()
629 if (bsdiff_delta.size() < data_blob.size()) { in ReadExtentsToDiff()
634 data_blob = std::move(bsdiff_delta); in ReadExtentsToDiff()
646 if (imgdiff_delta.size() < data_blob.size()) { in ReadExtentsToDiff()
648 data_blob = std::move(imgdiff_delta); in ReadExtentsToDiff()
680 *out_data = std::move(data_blob); in ReadExtentsToDiff()