Searched refs:before_cancel (Results 1 – 5 of 5) sorted by relevance
/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 | 896 const std::function<bool()>& before_cancel) { in ProcessUpdateState() argument 898 auto result = CheckMergeState(before_cancel); in ProcessUpdateState() 920 auto SnapshotManager::CheckMergeState(const std::function<bool()>& before_cancel) -> MergeResult { in CheckMergeState() argument 926 auto result = CheckMergeState(lock.get(), before_cancel); in CheckMergeState() 934 if (!device_->IsRecovery() && !RemoveAllUpdateState(lock.get(), before_cancel)) { in CheckMergeState() 941 auto SnapshotManager::CheckMergeState(LockedFile* lock, const std::function<bool()>& before_cancel) in CheckMergeState() argument 963 if (HandleCancelledUpdate(lock, before_cancel)) { in CheckMergeState() 1421 const std::function<bool()>& before_cancel) { in HandleCancelledUpdate() argument 1430 return RemoveAllUpdateState(lock, before_cancel); in HandleCancelledUpdate() 1452 return RemoveAllUpdateState(lock, before_cancel); in HandleCancelledUpdate()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot_stub.h | 35 const std::function<bool()>& before_cancel = {}) override;
|
D | mock_snapshot.h | 34 (const std::function<bool()>& callback, const std::function<bool()>& before_cancel),
|
D | snapshot.h | 174 const std::function<bool()>& before_cancel = {}) = 0; 351 const std::function<bool()>& before_cancel = {}) override; 524 bool HandleCancelledUpdate(LockedFile* lock, const std::function<bool()>& before_cancel); 606 MergeResult CheckMergeState(const std::function<bool()>& before_cancel); 607 MergeResult CheckMergeState(LockedFile* lock, const std::function<bool()>& before_cancel);
|