Searched refs:before_cancel (Results 1 – 5 of 5) sorted by relevance
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot.h | 158 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);
|
D | snapshot_stub.h | 32 const std::function<bool()>& before_cancel = {}) override;
|
D | mock_snapshot.h | 31 (const std::function<bool()>& callback, const std::function<bool()>& before_cancel),
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_fuzz.cpp | 95 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()
|
D | snapshot.cpp | 804 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()
|