Home
last modified time | relevance | path

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

/system/update_engine/payload_generator/
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_generator.cc86 const PartitionConfig& old_part = in GenerateUpdatePayloadFile() local
95 if (!old_part.path.empty()) { in GenerateUpdatePayloadFile()
112 old_part, in GenerateUpdatePayloadFile()
122 TEST_AND_RETURN_FALSE(payload.AddPartition(old_part, new_part, aops)); in GenerateUpdatePayloadFile()
Ddelta_diff_utils.cc181 FileDeltaProcessor(const string& old_part, in FileDeltaProcessor() argument
189 : old_part_(old_part), in FileDeltaProcessor()
252 const PartitionConfig& old_part, in DeltaReadPartition() argument
263 old_part.path, in DeltaReadPartition()
265 old_part.size / kBlockSize, in DeltaReadPartition()
274 if (old_part.fs_interface) { in DeltaReadPartition()
276 old_part.fs_interface->GetFiles(&old_files); in DeltaReadPartition()
321 file_delta_processors.emplace_back(old_part.path, in DeltaReadPartition()
353 if (old_part.fs_interface) { in DeltaReadPartition()
354 old_unvisited.push_back(ExtentForRange(0, old_part.size / kBlockSize)); in DeltaReadPartition()
[all …]
Dfull_update_generator.h42 const PartitionConfig& old_part,
Doperations_generator.h45 const PartitionConfig& old_part,
Dinplace_generator.h215 const PartitionConfig& old_part,
232 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.cc202 for (const auto& old_part : old_image.partitions) { in ApplyDelta() local
204 CHECK(diff_utils::InitializePartitionInfo(old_part, &part_info)); in ApplyDelta()
206 part.name = old_part.name; in ApplyDelta()
209 part.source_path = old_part.path; in ApplyDelta()
211 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.cc737 const PartitionConfig& old_part, in ResolveReadAfterWriteDependencies() argument
746 vector<Block> blocks(std::max(old_part.size, new_part.size) / block_size); in ResolveReadAfterWriteDependencies()
790 const PartitionConfig& old_part, in GenerateOperations() argument
794 TEST_AND_RETURN_FALSE(old_part.name == new_part.name); in GenerateOperations()
807 old_part, in GenerateOperations()
816 old_part, new_part, partition_size, config.block_size, blob_file, aops)); in GenerateOperations()
Dfull_update_generator.cc118 const PartitionConfig& old_part, in GenerateOperations() argument
Dinplace_generator_unittest.cc706 PartitionConfig old_part("part"); in TEST_F() local
707 old_part.path = "/dev/zero"; in TEST_F()
708 old_part.size = old_blocks * block_size; in TEST_F()
717 old_part, in TEST_F()
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc142 PartitionConfig old_part(kLegacyPartitionNameRoot); in GeneratePayload() local
146 old_part.path = "/dev/null"; in GeneratePayload()
147 old_part.size = 0; in GeneratePayload()
153 payload.AddPartition(old_part, new_part, aops); in GeneratePayload()
156 old_part.name = kLegacyPartitionNameKernel; in GeneratePayload()
159 payload.AddPartition(old_part, new_part, {}); in GeneratePayload()