Lines Matching refs:cancel
55 const std::future<void>& cancel) { in enrollImpl() argument
65 waitForFingerDown(cb, cancel); in enrollImpl()
67 updateContext(WorkMode::kEnroll, cb, const_cast<std::future<void>&>(cancel), 0, hat); in enrollImpl()
71 const std::future<void>& cancel) { in authenticateImpl() argument
74 waitForFingerDown(cb, cancel); in authenticateImpl()
76 updateContext(WorkMode::kAuthenticate, cb, const_cast<std::future<void>&>(cancel), operationId, in authenticateImpl()
81 const std::future<void>& cancel) { in detectInteractionImpl() argument
91 waitForFingerDown(cb, cancel); in detectInteractionImpl()
93 updateContext(WorkMode::kDetectInteract, cb, const_cast<std::future<void>&>(cancel), 0, in detectInteractionImpl()
98 std::future<void>& cancel, int64_t operationId, in updateContext() argument
100 mCancel = std::move(cancel); in updateContext()
132 const std::future<void>& cancel) { in onEnrollFingerDown() argument
163 if (shouldCancel(cancel)) { in onEnrollFingerDown()
198 const std::future<void>& cancel) { in onAuthenticateFingerDown() argument
243 if (shouldCancel(cancel)) { in onAuthenticateFingerDown()
275 const std::future<void>& cancel) { in onDetectInteractFingerDown() argument
303 if (shouldCancel(cancel)) { in onDetectInteractFingerDown()
546 const std::future<void>& cancel) { in waitForFingerDown() argument
552 if (shouldCancel(cancel)) { in waitForFingerDown()