Home
last modified time | relevance | path

Searched refs:merge_status (Results 1 – 6 of 6) sorted by relevance

/system/core/fastboot/device/
Dcommands.cpp69 auto merge_status = hal->getSnapshotMergeStatus(); in IsSnapshotUpdateInProgress() local
70 return merge_status == MergeStatus::SNAPSHOTTED || merge_status == MergeStatus::MERGING; in IsSnapshotUpdateInProgress()
271 auto merge_status = hal11->getSnapshotMergeStatus(); in SetActiveHandler() local
272 if (merge_status == MergeStatus::MERGING) { in SetActiveHandler()
282 if (merge_status == MergeStatus::SNAPSHOTTED) { in SetActiveHandler()
/system/core/fs_mgr/libdm/
Ddm_test.cpp298 DmTargetSnapshot::Status merge_status; in MergeImpl() local
299 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()
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h106 MergeStatus merge_status() const { return merge_status_; } in merge_status() function
/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp601 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()
Dsnapshot.cpp1982 auto merge_status = MergeStatus::UNKNOWN; in WriteSnapshotUpdateStatus() local
1990 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()
/system/core/fastboot/
Dfastboot.cpp1296 std::string merge_status = "none"; in CancelSnapshotIfNeeded() local
1297 if (fb->GetVar(FB_VAR_SNAPSHOT_UPDATE_STATUS, &merge_status) == fastboot::SUCCESS && in CancelSnapshotIfNeeded()
1298 !merge_status.empty() && merge_status != "none") { in CancelSnapshotIfNeeded()