Searched refs:merge_status (Results 1 – 7 of 7) sorted by relevance
/system/core/fastboot/device/ |
D | commands.cpp | 79 auto merge_status = hal->getSnapshotMergeStatus(); in IsSnapshotUpdateInProgress() local 80 return merge_status == MergeStatus::SNAPSHOTTED || merge_status == MergeStatus::MERGING; in IsSnapshotUpdateInProgress() 321 auto merge_status = hal11->getSnapshotMergeStatus(); in SetActiveHandler() local 322 if (merge_status == MergeStatus::MERGING) { in SetActiveHandler() 332 if (merge_status == MergeStatus::SNAPSHOTTED) { in SetActiveHandler()
|
/system/core/fs_mgr/libdm/ |
D | dm_test.cpp | 299 DmTargetSnapshot::Status merge_status; in MergeImpl() local 300 ASSERT_TRUE(DmTargetSnapshot::ParseStatusText(status[0].data, &merge_status)); in MergeImpl() 301 ASSERT_TRUE(merge_status.error.empty()); in MergeImpl() 302 if (merge_status.sectors_allocated == merge_status.metadata_sectors) { in MergeImpl()
|
/system/core/fs_mgr/libsnapshot/ |
D | cow_snapuserd_test.cpp | 702 DmTargetSnapshot::Status merge_status; in MergeImpl() local 703 ASSERT_TRUE(DmTargetSnapshot::ParseStatusText(status[0].data, &merge_status)); in MergeImpl() 704 ASSERT_TRUE(merge_status.error.empty()); in MergeImpl() 705 if (merge_status.sectors_allocated == merge_status.metadata_sectors) { in MergeImpl()
|
D | snapshot_test.cpp | 661 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F() 664 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F() 667 ASSERT_EQ(test_device->merge_status(), MergeStatus::SNAPSHOTTED); in TEST_F() 670 ASSERT_EQ(test_device->merge_status(), MergeStatus::MERGING); in TEST_F() 673 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F() 676 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F() 679 ASSERT_EQ(test_device->merge_status(), MergeStatus::MERGING); in TEST_F() 687 ASSERT_EQ(test_device->merge_status(), MergeStatus::MERGING); in TEST_F()
|
D | snapshot.cpp | 2553 auto merge_status = MergeStatus::UNKNOWN; in WriteSnapshotUpdateStatus() local 2561 merge_status = MergeStatus::NONE; in WriteSnapshotUpdateStatus() 2564 merge_status = MergeStatus::SNAPSHOTTED; in WriteSnapshotUpdateStatus() 2568 merge_status = MergeStatus::MERGING; in WriteSnapshotUpdateStatus() 2578 merge_status == MergeStatus::SNAPSHOTTED || merge_status == MergeStatus::MERGING; in WriteSnapshotUpdateStatus() 2579 if (set_before_write && !device_->SetBootControlMergeStatus(merge_status)) { in WriteSnapshotUpdateStatus() 2590 if (!set_before_write && !device_->SetBootControlMergeStatus(merge_status)) { in WriteSnapshotUpdateStatus()
|
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/ |
D | test_helpers.h | 111 MergeStatus merge_status() const { return merge_status_; } in merge_status() function
|
/system/core/fastboot/ |
D | fastboot.cpp | 1411 std::string merge_status = "none"; in CancelSnapshotIfNeeded() local 1412 if (fb->GetVar(FB_VAR_SNAPSHOT_UPDATE_STATUS, &merge_status) == fastboot::SUCCESS && in CancelSnapshotIfNeeded() 1413 !merge_status.empty() && merge_status != "none") { in CancelSnapshotIfNeeded()
|