Searched refs:merge_status (Results 1 – 6 of 6) sorted by relevance
69 auto merge_status = hal->getSnapshotMergeStatus(); in IsSnapshotUpdateInProgress() local70 return merge_status == MergeStatus::SNAPSHOTTED || merge_status == MergeStatus::MERGING; in IsSnapshotUpdateInProgress()271 auto merge_status = hal11->getSnapshotMergeStatus(); in SetActiveHandler() local272 if (merge_status == MergeStatus::MERGING) { in SetActiveHandler()282 if (merge_status == MergeStatus::SNAPSHOTTED) { in SetActiveHandler()
298 DmTargetSnapshot::Status merge_status; in MergeImpl() local299 ASSERT_TRUE(DmTargetSnapshot::ParseStatusText(status[0].data, &merge_status)); in MergeImpl()300 ASSERT_TRUE(merge_status.error.empty()); in MergeImpl()301 if (merge_status.sectors_allocated == merge_status.metadata_sectors) { in MergeImpl()
106 MergeStatus merge_status() const { return merge_status_; } in merge_status() function
601 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F()604 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F()607 ASSERT_EQ(test_device->merge_status(), MergeStatus::SNAPSHOTTED); in TEST_F()610 ASSERT_EQ(test_device->merge_status(), MergeStatus::MERGING); in TEST_F()613 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F()616 ASSERT_EQ(test_device->merge_status(), MergeStatus::NONE); in TEST_F()619 ASSERT_EQ(test_device->merge_status(), MergeStatus::MERGING); in TEST_F()
1982 auto merge_status = MergeStatus::UNKNOWN; in WriteSnapshotUpdateStatus() local1990 merge_status = MergeStatus::NONE; in WriteSnapshotUpdateStatus()1993 merge_status = MergeStatus::SNAPSHOTTED; in WriteSnapshotUpdateStatus()1997 merge_status = MergeStatus::MERGING; in WriteSnapshotUpdateStatus()2007 merge_status == MergeStatus::SNAPSHOTTED || merge_status == MergeStatus::MERGING; in WriteSnapshotUpdateStatus()2008 if (set_before_write && !device_->SetBootControlMergeStatus(merge_status)) { in WriteSnapshotUpdateStatus()2019 if (!set_before_write && !device_->SetBootControlMergeStatus(merge_status)) { in WriteSnapshotUpdateStatus()
1296 std::string merge_status = "none"; in CancelSnapshotIfNeeded() local1297 if (fb->GetVar(FB_VAR_SNAPSHOT_UPDATE_STATUS, &merge_status) == fastboot::SUCCESS && in CancelSnapshotIfNeeded()1298 !merge_status.empty() && merge_status != "none") { in CancelSnapshotIfNeeded()