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, {}, {}); in SetUp()
Ddelta_diff_generator.cc73 const PartitionConfig& old_part, in PartitionProcessor() argument
81 old_part_(old_part), in PartitionProcessor()
208 const PartitionConfig& old_part = in GenerateUpdatePayloadFile() local
217 if (!old_part.path.empty()) { in GenerateUpdatePayloadFile()
230 old_part, in GenerateUpdatePayloadFile()
245 const PartitionConfig& old_part = in GenerateUpdatePayloadFile() local
249 payload.AddPartition(old_part, in GenerateUpdatePayloadFile()
Ddelta_diff_utils.h51 const PartitionConfig& old_part,
69 const std::string& old_part,
89 const std::string& old_part,
107 bool ReadExtentsToDiff(const std::string& old_part,
Ddelta_diff_utils.cc398 FileDeltaProcessor(const string& old_part, in FileDeltaProcessor() argument
406 : old_part_(old_part), in FileDeltaProcessor()
530 const PartitionConfig& old_part, in DeltaReadPartition() argument
574 old_part.path, in DeltaReadPartition()
576 old_part.size / kBlockSize, in DeltaReadPartition()
587 if (old_part.fs_interface) { in DeltaReadPartition()
590 old_part, &old_files, puffdiff_allowed)); in DeltaReadPartition()
637 file_delta_processors.emplace_back(old_part.path, in DeltaReadPartition()
653 if (old_part.fs_interface) { in DeltaReadPartition()
654 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.cc38 const PartitionConfig& old_part, in GenerateOperations() argument
42 TEST_AND_RETURN_FALSE(old_part.name == new_part.name); in GenerateOperations()
52 old_part, in GenerateOperations()
76 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.cc190 PartitionConfig* old_part = nullptr) { in GeneratePayload() argument
196 old_part); in GeneratePayload()
204 PartitionConfig* old_part = nullptr) { in GeneratePayload() argument
216 if (!old_part) { in GeneratePayload()
218 old_part = old_part_uptr.get(); in GeneratePayload()
223 if (old_part->path.empty()) { in GeneratePayload()
224 old_part->path = "/dev/null"; in GeneratePayload()
231 payload.AddPartition(*old_part, new_part, aops, {}, {}); in GeneratePayload()
234 old_part->name = kPartitionNameKernel; in GeneratePayload()
238 payload.AddPartition(*old_part, new_part, {}, {}, {}); in GeneratePayload()
[all …]
Dpartition_writer_unittest.cc65 PartitionConfig* old_part = nullptr) { in GenerateSourceCopyOp() argument
145 PartitionConfig old_part(kPartitionNameRoot); in TEST_F() local
146 old_part.path = source.path(); in TEST_F()
147 old_part.size = expected_data.size(); in TEST_F()
150 auto source_copy_op = GenerateSourceCopyOp(expected_data, false, &old_part); in TEST_F()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp1787 auto* old_part = src->FindPartition(old_part_name); in TEST_F() local
1788 ASSERT_NE(nullptr, old_part) << old_part_name << " does not exist in source metadata"; in TEST_F()
1789 auto old_intervals = ToIntervals(old_part->extents()); in TEST_F()