Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Ddelta_diff_generator.cc58 const PartitionConfig& old_part, in PartitionProcessor() argument
64 old_part_(old_part), in PartitionProcessor()
132 const PartitionConfig& old_part = in GenerateUpdatePayloadFile() local
141 if (!old_part.path.empty()) { in GenerateUpdatePayloadFile()
152 old_part, in GenerateUpdatePayloadFile()
165 const PartitionConfig& old_part = in GenerateUpdatePayloadFile() local
169 payload.AddPartition(old_part, new_part, std::move(all_aops[i]))); in GenerateUpdatePayloadFile()
Dpayload_properties_unittest.cc84 PartitionConfig old_part(kPartitionNameRoot); in SetUp() local
86 SetupPartitionConfig(&old_part, old_part_file.path(), 0); in SetUp()
88 WriteZerosToFile(old_part_file.path().c_str(), old_part.size); in SetUp()
99 config, old_part, new_part, &blob_file_writer, &aops)); in SetUp()
101 payload.AddPartition(old_part, new_part, aops); 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_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()
Dblock_mapping.h104 bool MapPartitionBlocks(const std::string& old_part,
Dab_generator.h52 const PartitionConfig& old_part,
Dfull_update_generator.cc115 const PartitionConfig& old_part, in GenerateOperations() argument
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc188 PartitionConfig* old_part = nullptr) { in GeneratePayload() argument
194 old_part); in GeneratePayload()
202 PartitionConfig* old_part = nullptr) { in GeneratePayload() argument
214 if (!old_part) { in GeneratePayload()
216 old_part = old_part_uptr.get(); in GeneratePayload()
221 if (old_part->path.empty()) { in GeneratePayload()
222 old_part->path = "/dev/null"; in GeneratePayload()
229 payload.AddPartition(*old_part, new_part, aops); in GeneratePayload()
232 old_part->name = kPartitionNameKernel; in GeneratePayload()
235 payload.AddPartition(*old_part, new_part, {}); in GeneratePayload()
[all …]
/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp1227 auto* old_part = src->FindPartition(old_part_name); in TEST_F() local
1228 ASSERT_NE(nullptr, old_part) << old_part_name << " does not exist in source metadata"; in TEST_F()
1229 auto old_intervals = ToIntervals(old_part->extents()); in TEST_F()