Searched refs:data_blob (Results 1 – 4 of 4) sorted by relevance
/aosp12/system/update_engine/payload_generator/ |
H A D | delta_diff_utils_unittest.cc | 241 brillo::Blob data_blob(kBlockSize); in TEST_F() local 242 test_utils::FillWithData(&data_blob); in TEST_F() 248 EXPECT_TRUE(WriteExtents(old_part_.path, old_extents, kBlockSize, data_blob)); in TEST_F() 273 brillo::Blob data_blob(kBlockSize); in TEST_F() local 274 test_utils::FillWithData(&data_blob); in TEST_F() 282 data_blob[0]++; in TEST_F() 304 brillo::Blob data_blob(kBlockSize); in TEST_F() local 309 std::iota(data_blob.begin(), data_blob.begin() + 50, 0); in TEST_F() 310 EXPECT_TRUE(WriteExtents(old_part_.path, extents, kBlockSize, data_blob)); in TEST_F() 312 std::iota(data_blob.begin(), data_blob.begin() + 50, 1); in TEST_F() [all …]
|
H A D | delta_diff_utils.cc | 738 brillo::Blob data_blob; in ReadExtentsToDiff() local 744 GenerateBestFullOperation(new_data, version, &data_blob, &op_type)); in ReadExtentsToDiff() 758 data_blob = brillo::Blob(); in ReadExtentsToDiff() 760 operation, data_blob.size(), 0, src_extents.size())) { in ReadExtentsToDiff() 791 data_blob.size(), in ReadExtentsToDiff() 795 data_blob = std::move(bsdiff_delta); in ReadExtentsToDiff() 835 data_blob.size(), in ReadExtentsToDiff() 839 data_blob = std::move(puffdiff_delta); in ReadExtentsToDiff() 866 *out_data = std::move(data_blob); in ReadExtentsToDiff()
|
/aosp12/system/update_engine/scripts/update_payload/ |
H A D | test_utils.py | 258 for data_blob in data_blobs: 259 file_obj.write(data_blob) 279 def AddData(self, data_blob): argument 281 data_length = len(data_blob) 284 self.data_blobs.append(data_blob) 289 data_blob=None, do_hash_data_blob=True): argument 307 if data_blob is not None: 309 data_sha256_hash = hashlib.sha256(data_blob).digest() 310 data_length, data_offset = self.AddData(data_blob)
|
H A D | checker_unittest.py | 943 data_blob=os.urandom(rootfs_part_size)) 1045 data_blob=os.urandom(rootfs_op_size)) 1056 data_blob=os.urandom(kernel_op_size))
|