Home
last modified time | relevance | path

Searched refs:target_partition (Results 1 – 7 of 7) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dpartition_cow_creator_test.cpp72 .target_partition = system_b, in TEST_F()
115 .target_partition = system, in TEST_F()
153 .target_partition = system_b, in TEST_F()
220 .target_partition = system_b, in TEST_F()
249 .target_partition = system_b, in TEST_F()
275 .target_partition = system_b, in TEST_F()
Dpartition_cow_creator.cpp201 ret.snapshot_status.set_name(target_partition->name()); in Run()
202 ret.snapshot_status.set_device_size(target_partition->size()); in Run()
203 ret.snapshot_status.set_snapshot_size(target_partition->size()); in Run()
Dpartition_cow_creator.h48 Partition* target_partition = nullptr; member
Dsnapshot.cpp2803 .target_partition = nullptr, in CreateUpdateSnapshots()
2899 for (auto* target_partition : ListPartitionsWithSuffix(target_metadata, target_suffix)) { in CreateUpdateSnapshotsInternal() local
2900 cow_creator->target_partition = target_partition; in CreateUpdateSnapshotsInternal()
2902 auto iter = partition_map.find(target_partition->name()); in CreateUpdateSnapshotsInternal()
2906 LOG(INFO) << target_partition->name() in CreateUpdateSnapshotsInternal()
2912 auto extra_extents_it = extra_extents_map.find(target_partition->name()); in CreateUpdateSnapshotsInternal()
2920 LOG(ERROR) << "PartitionCowCreator returned no value for " << target_partition->name(); in CreateUpdateSnapshotsInternal()
2924 LOG(INFO) << "For partition " << target_partition->name() in CreateUpdateSnapshotsInternal()
2932 if (!DeleteSnapshot(lock, target_partition->name())) { in CreateUpdateSnapshotsInternal()
2934 << target_partition->name(); in CreateUpdateSnapshotsInternal()
[all …]
/system/update_engine/payload_consumer/
Dpartition_writer_unittest.cc91 ScopedTempFile target_partition("Blob-XXXXXX"); in PerformSourceCopyOp() local
94 install_part_.target_path = target_partition.path(); in PerformSourceCopyOp()
104 EXPECT_TRUE(utils::ReadFile(target_partition.path(), &output_data)); in PerformSourceCopyOp()
/system/core/fs_mgr/liblp/
Dbuilder.cpp1306 const auto target_partition = target_metadata.FindPartition(target_partition_name); in VerifyExtentsAgainstSourceMetadata() local
1307 if (!target_partition) { in VerifyExtentsAgainstSourceMetadata()
1323 if (target_partition->extents().size() != source_partition->extents().size()) { in VerifyExtentsAgainstSourceMetadata()
1325 << target_partition->extents().size() << ", source slot has " in VerifyExtentsAgainstSourceMetadata()
1330 for (size_t i = 0; i < target_partition->extents().size(); i++) { in VerifyExtentsAgainstSourceMetadata()
1332 const auto& tgt_extent = *target_partition->extents()[i]; in VerifyExtentsAgainstSourceMetadata()
/system/update_engine/cros/
Dpayload_state.cc1327 string target_partition; in ExpectRebootInNewVersion() local