Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h158 const std::function<bool()>& before_cancel = {}) = 0;
286 const std::function<bool()>& before_cancel = {}) override;
419 bool HandleCancelledUpdate(LockedFile* lock, const std::function<bool()>& before_cancel);
490 UpdateState CheckMergeState(const std::function<bool()>& before_cancel);
491 UpdateState CheckMergeState(LockedFile* lock, const std::function<bool()>& before_cancel);
Dsnapshot_stub.h32 const std::function<bool()>& before_cancel = {}) override;
Dmock_snapshot.h31 (const std::function<bool()>& callback, const std::function<bool()>& before_cancel),
/system/core/fs_mgr/libsnapshot/
Dsnapshot_fuzz.cpp95 std::function<bool()> before_cancel; in SNAPSHOT_FUZZ_FUNCTION() local
97 before_cancel = [&]() { return args.fail_before_cancel(); }; in SNAPSHOT_FUZZ_FUNCTION()
99 return snapshot->ProcessUpdateState({}, before_cancel); in SNAPSHOT_FUZZ_FUNCTION()
Dsnapshot.cpp804 const std::function<bool()>& before_cancel) { in ProcessUpdateState() argument
806 UpdateState state = CheckMergeState(before_cancel); in ProcessUpdateState()
826 UpdateState SnapshotManager::CheckMergeState(const std::function<bool()>& before_cancel) { in CheckMergeState() argument
832 UpdateState state = CheckMergeState(lock.get(), before_cancel); in CheckMergeState()
838 if (!RemoveAllUpdateState(lock.get(), before_cancel)) { in CheckMergeState()
846 const std::function<bool()>& before_cancel) { in CheckMergeState() argument
867 if (HandleCancelledUpdate(lock, before_cancel)) { in CheckMergeState()
1201 const std::function<bool()>& before_cancel) { in HandleCancelledUpdate() argument
1210 return RemoveAllUpdateState(lock, before_cancel); in HandleCancelledUpdate()
1232 return RemoveAllUpdateState(lock, before_cancel); in HandleCancelledUpdate()