Home
last modified time | relevance | path

Searched refs:operations_ (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/payload_consumer/
Dsnapshot_extent_writer_unittest.cc47 operations_[new_block] = {.type = CowOp::COW_COPY, in EmitCopy()
54 auto&& op = operations_[new_block_start]; in EmitRawBlocks()
60 operations_[new_block_start] = {.type = CowOp::COW_ZERO}; in EmitZeroBlocks()
76 operations_.begin(), operations_.end(), 0, [](auto&& acc, auto&& op) { in GetCowSize()
81 return operations_.find(block) != operations_.end(); in Contains()
85 std::map<size_t, CowOp> operations_; member in chromeos_update_engine::FakeCowWriter
118 ASSERT_TRUE(cow_writer_.operations_.empty()) in TEST_F()
125 ASSERT_EQ(cow_writer_.operations_.size(), 1U); in TEST_F()
126 ASSERT_EQ(buf, cow_writer_.operations_[123].data); in TEST_F()
144 ASSERT_EQ(cow_writer_.operations_.size(), 2U); in TEST_F()
[all …]
/system/update_engine/common/
Dcow_operation_convert_unittest.cc59 for (auto&& op : operations_) { in VerifyCowMergeOp()
82 OperationList operations_; member in chromeos_update_engine::CowOperationConvertTest
112 &operations_, InstallOperation::SOURCE_COPY, {{20, 1}}, {{30, 1}}); in TEST_F()
114 &operations_, InstallOperation::SOURCE_COPY, {{10, 1}}, {{20, 1}}); in TEST_F()
116 &operations_, InstallOperation::SOURCE_COPY, {{0, 1}}, {{10, 1}}); in TEST_F()
125 auto cow_ops = ConvertToCowOperations(operations_, merge_operations_); in TEST_F()
135 &operations_, InstallOperation::SOURCE_COPY, {{30, 1}}, {{0, 1}}); in TEST_F()
137 &operations_, InstallOperation::SOURCE_COPY, {{20, 1}}, {{30, 1}}); in TEST_F()
139 &operations_, InstallOperation::SOURCE_COPY, {{10, 1}}, {{20, 1}}); in TEST_F()
141 &operations_, InstallOperation::SOURCE_COPY, {{0, 1}}, {{10, 1}}); in TEST_F()
[all …]
/system/update_engine/payload_generator/
Dmerge_sequence_generator.h63 : operations_(std::move(transfers)) {} in MergeSequenceGenerator()
70 std::vector<CowMergeOperation> operations_; variable
Dmerge_sequence_generator.cc135 for (const auto& op : operations_) { in FindDependency()
139 operations_.begin(), in FindDependency()
140 operations_.end(), in FindDependency()
150 operations_.end(), in FindDependency()
201 for (const auto& op : operations_) { in Generate()
259 CHECK_EQ(operations_.size(), merge_sequence.size() + convert_to_raw.size()); in Generate()
Dmerge_sequence_generator_unittest.cc32 ASSERT_EQ(expected, generator->operations_); in VerifyTransfers()