Home
last modified time | relevance | path

Searched refs:MergeResult (Results 1 – 2 of 2) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp920 auto SnapshotManager::CheckMergeState(const std::function<bool()>& before_cancel) -> MergeResult { in CheckMergeState()
923 return MergeResult(UpdateState::MergeFailed, MergeFailureCode::AcquireLock); in CheckMergeState()
942 -> MergeResult { in CheckMergeState()
949 return MergeResult(update_status.state()); in CheckMergeState()
964 return MergeResult(UpdateState::Cancelled); in CheckMergeState()
966 return MergeResult(update_status.state()); in CheckMergeState()
969 return MergeResult(update_status.state()); in CheckMergeState()
974 return MergeResult(UpdateState::MergeFailed, MergeFailureCode::ListSnapshots); in CheckMergeState()
1029 return MergeResult(UpdateState::Merging); in CheckMergeState()
1034 return MergeResult(UpdateState::MergeFailed, failure_code); in CheckMergeState()
[all …]
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h593 struct MergeResult { struct
594 explicit MergeResult(UpdateState state,
606 MergeResult CheckMergeState(const std::function<bool()>& before_cancel); argument
607 MergeResult CheckMergeState(LockedFile* lock, const std::function<bool()>& before_cancel);
608 MergeResult CheckTargetMergeState(LockedFile* lock, const std::string& name,