Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
Ddelta_diff_generator.cc86 const PartitionConfig& old_part = in GenerateUpdatePayloadFile() local
97 if (!old_part.path.empty() && in GenerateUpdatePayloadFile()
101 LOG_IF(WARNING, old_part.size != new_part.size) in GenerateUpdatePayloadFile()
106 LOG_IF(FATAL, old_part.size > new_part.size) in GenerateUpdatePayloadFile()
124 old_part, in GenerateUpdatePayloadFile()
134 TEST_AND_RETURN_FALSE(payload.AddPartition(old_part, new_part, aops)); in GenerateUpdatePayloadFile()
Ddelta_diff_utils.h45 const PartitionConfig& old_part,
63 const std::string& old_part,
81 const std::string& old_part,
98 bool ReadExtentsToDiff(const std::string& old_part,
Ddelta_diff_utils.cc170 const PartitionConfig& old_part, in DeltaReadPartition() argument
181 old_part.path, in DeltaReadPartition()
183 old_part.fs_interface ? old_part.fs_interface->GetBlockCount() : 0, in DeltaReadPartition()
192 if (old_part.fs_interface) { in DeltaReadPartition()
194 old_part.fs_interface->GetFiles(&old_files); in DeltaReadPartition()
238 old_part.path, in DeltaReadPartition()
256 if (old_part.fs_interface) { in DeltaReadPartition()
257 old_unvisited.push_back(ExtentForRange(0, old_part.size / kBlockSize)); in DeltaReadPartition()
268 old_part.path, in DeltaReadPartition()
281 const string& old_part, in DeltaMovedAndZeroBlocks() argument
[all …]
Dfull_update_generator.h42 const PartitionConfig& old_part,
Doperations_generator.h45 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()
51 old_part, in GenerateOperations()
75 TEST_AND_RETURN_FALSE(AddSourceHash(aops, old_part.path)); in GenerateOperations()
Dblock_mapping.cc139 bool MapPartitionBlocks(const string& old_part, in MapPartitionBlocks() argument
149 int old_fd = HANDLE_EINTR(open(old_part.c_str(), O_RDONLY)); in MapPartitionBlocks()
Dgenerate_delta_main.cc204 for (const auto& old_part : old_image.partitions) { in ApplyDelta() local
206 CHECK(diff_utils::InitializePartitionInfo(old_part, &part_info)); in ApplyDelta()
208 part.name = old_part.name; in ApplyDelta()
211 part.source_path = old_part.path; in ApplyDelta()
213 part.target_path = old_part.path; in ApplyDelta()
Dblock_mapping.h102 bool MapPartitionBlocks(const std::string& old_part,
Dab_generator.h53 const PartitionConfig& old_part,
Dinplace_generator.h231 const PartitionConfig& old_part,
Dfull_update_generator.cc118 const PartitionConfig& old_part, in GenerateOperations() argument
Dinplace_generator.cc793 const PartitionConfig& old_part, in GenerateOperations() argument
797 TEST_AND_RETURN_FALSE(old_part.name == new_part.name); in GenerateOperations()
810 old_part, in GenerateOperations()
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc147 PartitionConfig old_part(kLegacyPartitionNameRoot); in GeneratePayload() local
151 old_part.path = "/dev/null"; in GeneratePayload()
152 old_part.size = 0; in GeneratePayload()
158 payload.AddPartition(old_part, new_part, aops); in GeneratePayload()
161 old_part.name = kLegacyPartitionNameKernel; in GeneratePayload()
164 payload.AddPartition(old_part, new_part, {}); in GeneratePayload()