Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h182 const std::function<bool()>& before_cancel = {});
379 bool HandleCancelledUpdate(LockedFile* lock, const std::function<bool()>& before_cancel);
450 UpdateState CheckMergeState(const std::function<bool()>& before_cancel);
451 UpdateState CheckMergeState(LockedFile* lock, const std::function<bool()>& before_cancel);
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp805 const std::function<bool()>& before_cancel) { in ProcessUpdateState() argument
807 UpdateState state = CheckMergeState(before_cancel); in ProcessUpdateState()
827 UpdateState SnapshotManager::CheckMergeState(const std::function<bool()>& before_cancel) { in CheckMergeState() argument
833 UpdateState state = CheckMergeState(lock.get(), before_cancel); in CheckMergeState()
839 if (!RemoveAllUpdateState(lock.get(), before_cancel)) { in CheckMergeState()
847 const std::function<bool()>& before_cancel) { in CheckMergeState() argument
868 if (HandleCancelledUpdate(lock, before_cancel)) { in CheckMergeState()
1202 const std::function<bool()>& before_cancel) { in HandleCancelledUpdate() argument
1211 return RemoveAllUpdateState(lock, before_cancel); in HandleCancelledUpdate()
1233 return RemoveAllUpdateState(lock, before_cancel); in HandleCancelledUpdate()