Home
last modified time | relevance | path

Searched refs:old_part (Results 1 – 14 of 14) sorted by relevance

/system/update_engine/payload_generator/
Dpayload_properties_unittest.cc73 PartitionConfig old_part(kPartitionNameRoot); in SetUp() local
75 SetupPartitionConfig(&old_part, old_part_file.path(), 0); in SetUp()
77 WriteZerosToFile(old_part_file.path().c_str(), old_part.size); in SetUp()
89 config, old_part, new_part, &blob_file_writer, &aops)); in SetUp()
91 payload.AddPartition(old_part, new_part, aops, {}, 0); in SetUp()
Ddelta_diff_utils.h47 const PartitionConfig& old_part,
65 const std::string& old_part,
85 const std::string& old_part,
105 bool ReadExtentsToDiff(const std::string& old_part,
Ddelta_diff_generator.cc74 const PartitionConfig& old_part, in PartitionProcessor() argument
82 old_part_(old_part), in PartitionProcessor()
199 const PartitionConfig& old_part = in GenerateUpdatePayloadFile() local
208 if (!old_part.path.empty()) { in GenerateUpdatePayloadFile()
221 old_part, in GenerateUpdatePayloadFile()
236 const PartitionConfig& old_part = in GenerateUpdatePayloadFile() local
240 payload.AddPartition(old_part, in GenerateUpdatePayloadFile()
Ddelta_diff_utils.cc143 FileDeltaProcessor(const string& old_part, in FileDeltaProcessor() argument
153 : old_part_(old_part), in FileDeltaProcessor()
272 const PartitionConfig& old_part, in DeltaReadPartition() argument
295 old_part.path, in DeltaReadPartition()
297 old_part.size / kBlockSize, in DeltaReadPartition()
308 if (old_part.fs_interface) { in DeltaReadPartition()
311 old_part, &old_files, puffdiff_allowed)); in DeltaReadPartition()
356 file_delta_processors.emplace_back(old_part.path, in DeltaReadPartition()
374 if (old_part.fs_interface) { in DeltaReadPartition()
375 old_unvisited.push_back(ExtentForRange(0, old_part.size / kBlockSize)); in DeltaReadPartition()
[all …]
Dfull_update_generator.h41 const PartitionConfig& old_part,
Doperations_generator.h44 const PartitionConfig& old_part,
Dab_generator.cc39 const PartitionConfig& old_part, in GenerateOperations() argument
43 TEST_AND_RETURN_FALSE(old_part.name == new_part.name); in GenerateOperations()
53 old_part, in GenerateOperations()
77 TEST_AND_RETURN_FALSE(AddSourceHash(aops, old_part.path)); in GenerateOperations()
Dblock_mapping.cc140 bool MapPartitionBlocks(const string& old_part, in MapPartitionBlocks() argument
150 int old_fd = HANDLE_EINTR(open(old_part.c_str(), O_RDONLY)); in MapPartitionBlocks()
Dab_generator.h52 const PartitionConfig& old_part,
Dblock_mapping.h104 bool MapPartitionBlocks(const std::string& old_part,
Dfull_update_generator.cc115 const PartitionConfig& old_part, in GenerateOperations() argument
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc196 PartitionConfig* old_part = nullptr) { in GeneratePayload() argument
202 old_part); in GeneratePayload()
210 PartitionConfig* old_part = nullptr) { in GeneratePayload() argument
222 if (!old_part) { in GeneratePayload()
224 old_part = old_part_uptr.get(); in GeneratePayload()
229 if (old_part->path.empty()) { in GeneratePayload()
230 old_part->path = "/dev/null"; in GeneratePayload()
237 payload.AddPartition(*old_part, new_part, aops, {}, 0); in GeneratePayload()
240 old_part->name = kPartitionNameKernel; in GeneratePayload()
243 payload.AddPartition(*old_part, new_part, {}, {}, 0); in GeneratePayload()
[all …]
Dpartition_writer_unittest.cc65 PartitionConfig* old_part = nullptr) { in GenerateSourceCopyOp() argument
133 PartitionConfig old_part(kPartitionNameRoot); in TEST_F() local
134 old_part.path = source.path(); in TEST_F()
135 old_part.size = expected_data.size(); in TEST_F()
138 auto source_copy_op = GenerateSourceCopyOp(expected_data, false, &old_part); in TEST_F()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp1489 auto* old_part = src->FindPartition(old_part_name); in TEST_F() local
1490 ASSERT_NE(nullptr, old_part) << old_part_name << " does not exist in source metadata"; in TEST_F()
1491 auto old_intervals = ToIntervals(old_part->extents()); in TEST_F()