Searched refs:cancFuture (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/biometrics/fingerprint/aidl/default/ |
D | Session.cpp | 114 auto cancFuture = cancellationPromise.get_future(); in enroll() local 116 mWorker->schedule(Callable::from([this, hat, cancFuture = std::move(cancFuture)] { in enroll() 118 if (shouldCancel(cancFuture)) { in enroll() 121 mEngine->enrollImpl(mCb.get(), hat, cancFuture); in enroll() 136 auto cancFuture = cancPromise.get_future(); in authenticate() local 138 mWorker->schedule(Callable::from([this, operationId, cancFuture = std::move(cancFuture)] { in authenticate() 140 if (shouldCancel(cancFuture)) { in authenticate() 143 mEngine->authenticateImpl(mCb.get(), operationId, cancFuture); in authenticate() 157 auto cancFuture = cancellationPromise.get_future(); in detectInteraction() local 159 mWorker->schedule(Callable::from([this, cancFuture = std::move(cancFuture)] { in detectInteraction() [all …]
|
/hardware/interfaces/biometrics/face/aidl/default/ |
D | Session.cpp | 76 auto cancFuture = cancellationPromise.get_future(); in enroll() local 79 [this, hat, enrollmentType, features, cancFuture = std::move(cancFuture)] { in enroll() 80 mEngine->enrollImpl(mCb.get(), hat, enrollmentType, features, cancFuture); in enroll() 92 auto cancFuture = cancellationPromise.get_future(); in authenticate() local 95 Callable::from([this, keystoreOperationId, cancFuture = std::move(cancFuture)] { in authenticate() 96 mEngine->authenticateImpl(mCb.get(), keystoreOperationId, cancFuture); in authenticate() 107 auto cancFuture = cancellationPromise.get_future(); in detectInteraction() local 109 mThread->schedule(Callable::from([this, cancFuture = std::move(cancFuture)] { in detectInteraction() 110 mEngine->detectInteractionImpl(mCb.get(), cancFuture); in detectInteraction()
|