Searched refs:data_blob (Results 1 – 4 of 4) sorted by relevance
/system/update_engine/scripts/update_payload/ |
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)
|
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))
|
/system/update_engine/payload_generator/ |
D | delta_diff_utils_unittest.cc | 251 brillo::Blob data_blob(kBlockSize); in TEST_F() local 252 test_utils::FillWithData(&data_blob); in TEST_F() 258 EXPECT_TRUE(WriteExtents(old_part_.path, old_extents, kBlockSize, data_blob)); in TEST_F() 259 EXPECT_TRUE(WriteExtents(new_part_.path, new_extents, kBlockSize, data_blob)); in TEST_F() 283 brillo::Blob data_blob(kBlockSize); in TEST_F() local 284 test_utils::FillWithData(&data_blob); in TEST_F() 290 EXPECT_TRUE(WriteExtents(old_part_.path, old_extents, kBlockSize, data_blob)); in TEST_F() 292 data_blob[0]++; in TEST_F() 293 EXPECT_TRUE(WriteExtents(new_part_.path, new_extents, kBlockSize, data_blob)); in TEST_F() 314 brillo::Blob data_blob(kBlockSize); in TEST_F() local [all …]
|
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() 839 data_blob.size(), in ReadExtentsToDiff() 843 data_blob = std::move(puffdiff_delta); in ReadExtentsToDiff() 870 *out_data = std::move(data_blob); in ReadExtentsToDiff()
|