/system/update_engine/payload_generator/ |
delta_diff_generator.cc | 112 vector<AnnotatedOperation> aops; local 118 &aops)); 123 diff_utils::FilterNoopOperations(&aops); 125 TEST_AND_RETURN_FALSE(payload.AddPartition(old_part, new_part, aops));
|
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.size()) [all...] |
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
|
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;
|
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.push_back(second_aop) 445 vector<AnnotatedOperation> aops; local 519 vector<AnnotatedOperation> aops; local 564 vector<AnnotatedOperation> aops; local [all...] |
inplace_generator_unittest.cc | 122 // Dump the list of operations |aops| in case of test failure. 123 void DumpAopsOnFailure(const vector<AnnotatedOperation>& aops) { 126 for (const auto& aop : aops) { 602 vector<AnnotatedOperation> aops; local 607 aops.emplace_back(); 608 aops.back().name = base::StringPrintf("<bz-block-0>"); 609 aops.back().op.set_type(InstallOperation::REPLACE_BZ); 610 StoreExtents({ExtentForRange(0, 1)}, aops.back().op.mutable_dst_extents()); 619 aops.push_back(aop); 634 vector<AnnotatedOperation> result_aops = aops; 673 vector<AnnotatedOperation> aops; local [all...] |
/system/update_engine/payload_consumer/ |
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, false 387 vector<AnnotatedOperation> aops; local 407 vector<AnnotatedOperation> aops; local 433 vector<AnnotatedOperation> aops = {aop}; local 454 vector<AnnotatedOperation> aops = {aop}; local [all...] |