Searched refs:data_blob (Results 1 – 4 of 4) sorted by relevance
/system/update_engine/payload_generator/ |
D | delta_diff_utils_unittest.cc | 198 brillo::Blob data_blob(block_size_); in TEST_F() local 199 test_utils::FillWithData(&data_blob); in TEST_F() 205 EXPECT_TRUE(WriteExtents(old_part_.path, old_extents, kBlockSize, data_blob)); in TEST_F() 206 EXPECT_TRUE(WriteExtents(new_part_.path, new_extents, kBlockSize, data_blob)); in TEST_F() 315 brillo::Blob data_blob(kBlockSize); in TEST_F() local 316 test_utils::FillWithData(&data_blob); in TEST_F() 322 EXPECT_TRUE(WriteExtents(old_part_.path, old_extents, kBlockSize, data_blob)); in TEST_F() 324 data_blob[0]++; in TEST_F() 325 EXPECT_TRUE(WriteExtents(new_part_.path, new_extents, kBlockSize, data_blob)); in TEST_F() 410 brillo::Blob data_blob(kBlockSize); in TEST_F() local [all …]
|
D | delta_diff_utils.cc | 862 brillo::Blob data_blob; in ReadExtentsToDiff() local 868 GenerateBestFullOperation(new_data, version, &data_blob, &op_type)); in ReadExtentsToDiff() 884 data_blob = brillo::Blob(); in ReadExtentsToDiff() 886 operation, data_blob.size(), 0, src_extents.size())) { in ReadExtentsToDiff() 920 data_blob.size(), in ReadExtentsToDiff() 924 data_blob = std::move(bsdiff_delta); in ReadExtentsToDiff() 968 data_blob.size(), in ReadExtentsToDiff() 972 data_blob = std::move(puffdiff_delta); in ReadExtentsToDiff() 1008 *out_data = std::move(data_blob); in ReadExtentsToDiff()
|
/system/update_engine/scripts/update_payload/ |
D | test_utils.py | 251 for data_blob in data_blobs: 252 file_obj.write(data_blob) 272 def AddData(self, data_blob): argument 274 data_length = len(data_blob) 277 self.data_blobs.append(data_blob) 282 data_blob=None, do_hash_data_blob=True): argument 300 if data_blob is not None: 302 data_sha256_hash = hashlib.sha256(data_blob).digest() 303 data_length, data_offset = self.AddData(data_blob)
|
D | checker_unittest.py | 1052 data_blob=os.urandom(rootfs_part_size)) 1168 data_blob=os.urandom(rootfs_op_size)) 1179 data_blob=os.urandom(kernel_op_size))
|