Searched refs:snapshot_status (Results 1 – 5 of 5) sorted by relevance
/system/core/fs_mgr/libsnapshot/ |
D | partition_cow_creator.cpp | 201 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() 206 ret.snapshot_status.set_estimated_cow_size(update->estimate_cow_size()); in Run() 209 if (ret.snapshot_status.snapshot_size() == 0) { in Run() 210 LOG(INFO) << "Not creating snapshot for partition " << ret.snapshot_status.name(); in Run() 211 ret.snapshot_status.set_cow_partition_size(0); in Run() 212 ret.snapshot_status.set_cow_file_size(0); in Run() 250 ret.snapshot_status.set_cow_partition_size(cow_partition_size); in Run() 258 ret.snapshot_status.set_cow_file_size(cow_file_size); in Run()
|
D | partition_cow_creator_test.cpp | 77 ASSERT_EQ(partition_size, ret->snapshot_status.device_size()); in TEST_F() 78 ASSERT_EQ(partition_size, ret->snapshot_status.snapshot_size()); in TEST_F() 161 return ret->snapshot_status.cow_file_size() + ret->snapshot_status.cow_partition_size(); in TEST_F() 227 ASSERT_EQ(0u, ret->snapshot_status.device_size()); in TEST_F() 228 ASSERT_EQ(0u, ret->snapshot_status.snapshot_size()); in TEST_F() 229 ASSERT_EQ(0u, ret->snapshot_status.cow_file_size()); in TEST_F() 230 ASSERT_EQ(0u, ret->snapshot_status.cow_partition_size()); in TEST_F() 257 ASSERT_EQ(ret->snapshot_status.cow_file_size(), 1458176); in TEST_F()
|
D | snapshot.cpp | 708 SnapshotStatus snapshot_status; in InitiateMerge() local 709 if (!ReadSnapshotStatus(lock.get(), snapshot, &snapshot_status)) { in InitiateMerge() 713 compression_enabled |= snapshot_status.compression_enabled(); in InitiateMerge() 714 if (DecideMergePhase(snapshot_status) == MergePhase::FIRST_PHASE) { in InitiateMerge() 1063 SnapshotStatus snapshot_status; in CheckTargetMergeState() local 1064 if (!ReadSnapshotStatus(lock, name, &snapshot_status)) { in CheckTargetMergeState() 1086 if (snapshot_status.state() == SnapshotState::MERGE_COMPLETED) { in CheckTargetMergeState() 1088 OnSnapshotMergeComplete(lock, name, snapshot_status); in CheckTargetMergeState() 1106 DecideMergePhase(snapshot_status) == MergePhase::SECOND_PHASE && in CheckTargetMergeState() 1121 if (snapshot_status.state() == SnapshotState::MERGE_COMPLETED) { in CheckTargetMergeState() [all …]
|
D | partition_cow_creator.h | 64 SnapshotStatus snapshot_status; member
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot.h | 671 const SnapshotStatus& snapshot_status, AutoDeviceList* created_devices,
|