/system/update_engine/payload_generator/ |
H A D | delta_diff_generator.cc | 121 vector<AnnotatedOperation> aops; local 127 &aops)); 132 diff_utils::FilterNoopOperations(&aops); 134 TEST_AND_RETURN_FALSE(payload.AddPartition(old_part, new_part, aops));
|
H A D | full_update_generator_unittest.cc | 57 vector<AnnotatedOperation> aops; member in class:chromeos_update_engine::FullUpdateGeneratorTest 84 &aops)); 86 EXPECT_EQ(new_part_chunks, static_cast<int64_t>(aops.size())); 88 EXPECT_EQ(1, aops[i].op.dst_extents_size()); 91 aops[i].op.dst_extents(0).start_block()) 94 aops[i].op.dst_extents(0).num_blocks()); 95 if (aops[i].op.type() != InstallOperation::REPLACE) { 96 EXPECT_EQ(InstallOperation::REPLACE_BZ, aops[i].op.type()); 115 &aops)); 117 EXPECT_EQ(2U, aops [all...] |
H A D | payload_file.h | 42 // operations and partition info. The operations in |aops| 46 const std::vector<AnnotatedOperation>& aops); 92 std::vector<AnnotatedOperation> aops; member in struct:chromeos_update_engine::PayloadFile::Partition
|
H A D | payload_file_unittest.cc | 59 vector<AnnotatedOperation> aops; local 63 aops.push_back(aop); 67 aops.push_back(aop); 68 payload_.part_vec_[0].aops = aops; 72 payload_.part_vec_[1].aops = {aop}; 76 const vector<AnnotatedOperation>& part0_aops = payload_.part_vec_[0].aops; 77 const vector<AnnotatedOperation>& part1_aops = payload_.part_vec_[1].aops;
|
H A D | full_update_generator.cc | 121 vector<AnnotatedOperation>* aops) { 156 aops->resize(num_chunks); 169 AnnotatedOperation* aop = aops->data() + i; 198 for (const AnnotatedOperation& aop : *aops) { 116 GenerateOperations( const PayloadGenerationConfig& config, const PartitionConfig& old_part, const PartitionConfig& new_part, BlobFileWriter* blob_file, vector<AnnotatedOperation>* aops) argument
|
H A D | ab_generator.cc | 42 vector<AnnotatedOperation>* aops) { 49 aops->clear(); 50 TEST_AND_RETURN_FALSE(diff_utils::DeltaReadPartition(aops, 60 FragmentOperations(config.version, aops, new_part.path, blob_file)); 61 SortOperationsByDestination(aops); 72 aops, config.version, merge_chunk_blocks, new_part.path, blob_file)); 75 TEST_AND_RETURN_FALSE(AddSourceHash(aops, old_part.path)); 81 vector<AnnotatedOperation>* aops) { 82 sort(aops->begin(), aops 37 GenerateOperations( const PayloadGenerationConfig& config, const PartitionConfig& old_part, const PartitionConfig& new_part, BlobFileWriter* blob_file, vector<AnnotatedOperation>* aops) argument 80 SortOperationsByDestination( vector<AnnotatedOperation>* aops) argument 85 FragmentOperations(const PayloadVersion& version, vector<AnnotatedOperation>* aops, const string& target_part_path, BlobFileWriter* blob_file) argument 193 MergeOperations(vector<AnnotatedOperation>* aops, const PayloadVersion& version, size_t chunk_blocks, const string& target_part_path, BlobFileWriter* blob_file) argument 300 AddSourceHash(vector<AnnotatedOperation>* aops, const string& source_part_path) argument [all...] |
H A D | ab_generator_unittest.cc | 231 vector<AnnotatedOperation> aops; local 254 aops.push_back(first_aop); 277 aops.push_back(second_aop); 296 ABGenerator::MergeOperations(&aops, version, 5, part_path, &blob_file)); 301 EXPECT_EQ(1U, aops.size()); 302 InstallOperation new_op = aops[0].op; 308 EXPECT_EQ("first,second", aops[0].name); 412 vector<AnnotatedOperation> aops; local 420 aops.push_back(first_aop); 427 aops 445 vector<AnnotatedOperation> aops; local 519 vector<AnnotatedOperation> aops; local 564 vector<AnnotatedOperation> aops; local [all...] |
H A D | inplace_generator_unittest.cc | 591 vector<AnnotatedOperation> aops; local 596 aops.emplace_back(); 597 aops.back().name = base::StringPrintf("<bz-block-0>"); 598 aops.back().op.set_type(InstallOperation::REPLACE_BZ); 599 StoreExtents({ExtentForRange(0, 1)}, aops.back().op.mutable_dst_extents()); 608 aops.push_back(aop); 623 vector<AnnotatedOperation> result_aops = aops;
|
H A D | payload_file.cc | 78 const vector<AnnotatedOperation>& aops) { 88 part.aops = aops; 116 for (const auto& aop : part.aops) { 142 for (const AnnotatedOperation& aop : part.aops) { 152 for (const AnnotatedOperation& aop : part.aops) 159 for (const AnnotatedOperation& aop : part.aops) 291 for (AnnotatedOperation& aop : part.aops) { 325 for (const AnnotatedOperation& aop : part.aops) { 76 AddPartition(const PartitionConfig& old_conf, const PartitionConfig& new_conf, const vector<AnnotatedOperation>& aops) argument
|
H A D | delta_diff_utils.cc | 169 bool DeltaReadPartition(vector<AnnotatedOperation>* aops, argument 180 aops, 237 TEST_AND_RETURN_FALSE(DeltaReadFile(aops, 267 TEST_AND_RETURN_FALSE(DeltaReadFile(aops, 280 bool DeltaMovedAndZeroBlocks(vector<AnnotatedOperation>* aops, argument 361 size_t num_ops = aops->size(); 364 TEST_AND_RETURN_FALSE(DeltaReadFile(aops, 374 LOG(INFO) << "Produced " << (aops->size() - num_ops) << " operations for " 378 num_ops = aops->size(); 389 aops 424 DeltaReadFile(vector<AnnotatedOperation>* aops, const string& old_part, const string& new_part, const vector<Extent>& old_extents, const vector<Extent>& new_extents, const string& name, ssize_t chunk_blocks, const PayloadVersion& version, BlobFileWriter* blob_file) argument [all...] |
H A D | inplace_generator.cc | 745 vector<AnnotatedOperation>* aops) { 750 for (const auto& aop : *aops) { 780 // Copy operations over to the |aops| vector in the final_order generated by 782 aops->clear(); 783 aops->reserve(final_order.size()); 786 aops->push_back(vertex.aop); 796 vector<AnnotatedOperation>* aops) { 809 TEST_AND_RETURN_FALSE(diff_utils::DeltaReadPartition(aops, 823 aops)); 740 ResolveReadAfterWriteDependencies( const PartitionConfig& new_part, uint64_t partition_size, size_t block_size, BlobFileWriter* blob_file, vector<AnnotatedOperation>* aops) argument 791 GenerateOperations( const PayloadGenerationConfig& config, const PartitionConfig& old_part, const PartitionConfig& new_part, BlobFileWriter* blob_file, vector<AnnotatedOperation>* aops) argument
|
/system/update_engine/payload_consumer/ |
H A D | delta_performer_unittest.cc | 121 const vector<AnnotatedOperation>& aops, 123 return GeneratePayload(blob_data, aops, sign_payload, 129 const vector<AnnotatedOperation>& aops, 158 payload.AddPartition(old_part, new_part, aops); 344 vector<AnnotatedOperation> aops; local 350 aops.push_back(aop); 352 brillo::Blob payload_data = GeneratePayload(expected_data, aops, false, 363 vector<AnnotatedOperation> aops; local 369 aops.push_back(aop); 371 brillo::Blob payload_data = GeneratePayload(expected_data, aops, fals 120 GeneratePayload(const brillo::Blob& blob_data, const vector<AnnotatedOperation>& aops, bool sign_payload) argument 128 GeneratePayload(const brillo::Blob& blob_data, const vector<AnnotatedOperation>& aops, bool sign_payload, uint64_t major_version, uint32_t minor_version) argument 387 vector<AnnotatedOperation> aops; local 407 vector<AnnotatedOperation> aops; local 433 vector<AnnotatedOperation> aops = {aop}; local 454 vector<AnnotatedOperation> aops = {aop}; local [all...] |