Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Ddelta_diff_generator.cc82 new_part_(new_part), in PartitionProcessor()
92 << new_part_.name; in Run()
94 config_, old_part_, new_part_, file_writer_, aops_); in Run()
99 << new_part_.name << ") failed"; in Run()
105 if (!snapshot_enabled || !IsDynamicPartition(new_part_.name)) { in Run()
113 auto generator = MergeSequenceGenerator::Create(*aops_, new_part_.name); in Run()
119 LOG(INFO) << "Estimating COW size for partition: " << new_part_.name; in Run()
123 target_fd->Open(new_part_.path.c_str(), O_RDONLY); in Run()
141 new_part_.size, in Run()
153 LOG(INFO) << "Estimated COW size for partition: " << new_part_.name << " " in Run()
[all …]
Ddelta_diff_utils_unittest.cc121 CreatePartition(&new_part_, in SetUp()
136 new_part_.path, in RunDeltaMovedAndZeroBlocks()
138 new_part_.size / block_size_, in RunDeltaMovedAndZeroBlocks()
150 PartitionConfig new_part_{"part"}; member in chromeos_update_engine::DeltaDiffUtilsTest
167 new_part_.verity.hash_tree_extent = ExtentForRange(20, 30); in TEST_F()
168 new_part_.verity.fec_extent = ExtentForRange(40, 50); in TEST_F()
174 new_part_, in TEST_F()
185 extent, new_part_.verity.hash_tree_extent)); in TEST_F()
187 ExtentRanges::ExtentsOverlap(extent, new_part_.verity.fec_extent)); in TEST_F()
211 WriteExtents(new_part_.path, new_extents, kBlockSize, data_to_test)); in TEST_F()
[all …]
Dblock_mapping_unittest.cc40 ScopedTempFile new_part_{"BlockMappingTest_new.XXXXXX"}; member in chromeos_update_engine::BlockMappingTest
99 test_utils::WriteFileString(new_part_.path(), new_contents); in TEST_F()
103 new_part_.path(), in TEST_F()
Ddelta_diff_utils.cc407 new_part_(new_part), in FileDeltaProcessor()
432 const string& new_part_; // NOLINT(runtime/member_string_references) member in chromeos_update_engine::diff_utils::FileDeltaProcessor
458 new_part_, in Run()
471 config_.version, &file_aops_, new_part_, blob_file_)) { in Run()
/system/update_engine/aosp/
Dupdate_attempter_android_integration_test.cc100 FillPartition(new_part_.path(), false); in SetUp()
217 new_part_.fd(), blob_file_.fd(), op.data_length())); in HydratePayload()
226 new_part_.path(), op.dst_extents(), &new_data, kBlockSize)) in HydratePayload()
250 utils::PWriteAll(new_part_.fd(), in HydratePayload()
260 new_part_.path(), op.dst_extents(), data, kBlockSize)); in HydratePayload()
277 HashCalculator::RawHashOfFile(new_part_.path(), &hash); in ApplyPayload()
339 CHECK(expected_part.Open(new_part_.path().c_str(), O_RDONLY)); in DumpTargetPartitionDiff()
366 ScopedTempFile new_part_{"new_part.XXXXXX", true, kFakePartitionSize}; member in chromeos_update_engine::UpdateAttempterAndroidIntegrationTest