/system/update_engine/payload_generator/ |
D | payload_properties_unittest.cc | 73 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()
|
D | delta_diff_generator.cc | 73 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()
|
D | delta_diff_utils.h | 51 const PartitionConfig& old_part, 69 const std::string& old_part, 89 const std::string& old_part, 107 bool ReadExtentsToDiff(const std::string& old_part,
|
D | delta_diff_utils.cc | 398 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 …]
|
D | full_update_generator.h | 41 const PartitionConfig& old_part,
|
D | operations_generator.h | 44 const PartitionConfig& old_part,
|
D | ab_generator.cc | 38 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()
|
D | block_mapping.cc | 140 bool MapPartitionBlocks(const string& old_part, in MapPartitionBlocks() argument 150 int old_fd = HANDLE_EINTR(open(old_part.c_str(), O_RDONLY)); in MapPartitionBlocks()
|
D | ab_generator.h | 52 const PartitionConfig& old_part,
|
D | block_mapping.h | 104 bool MapPartitionBlocks(const std::string& old_part,
|
D | full_update_generator.cc | 115 const PartitionConfig& old_part, in GenerateOperations() argument
|
/system/update_engine/payload_consumer/ |
D | delta_performer_unittest.cc | 190 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 …]
|
D | partition_writer_unittest.cc | 65 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/ |
D | snapshot_test.cpp | 1787 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()
|