Home
last modified time | relevance | path

Searched refs:onClientFinished (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DFingerprintUpdateActiveUserClient.java77 callback.onClientFinished(this, true /* success */); in start()
97 callback.onClientFinished(this, false /* success */); in start()
105 callback.onClientFinished(this, false /* success */); in start()
128 mCallback.onClientFinished(this, true /* success */); in startHalOperation()
131 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceGetFeatureClient.java65 mCallback.onClientFinished(this, false /* success */); in unableToStart()
84 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
124 mCallback.onClientFinished(this, false /* success */); in onFeatureGet()
128 mCallback.onClientFinished(this, true /* success */); in onFeatureGet()
145 mCallback.onClientFinished(this, false /* success */); in onError()
DFaceDetectClient.java113 mCallback.onClientFinished(this, false /* success */); in stopHalOperation()
129 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
137 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
165 mCallback.onClientFinished(this, false /* success */); in doDetectInteraction()
185 mCallback.onClientFinished(this, true /* success */); in onInteractionDetected()
188 mCallback.onClientFinished(this, false /* success */); in onInteractionDetected()
DFaceGenerateChallengeClient.java54 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
62 mCallback.onClientFinished(this, true /* success */); in onChallengeGenerated()
65 mCallback.onClientFinished(this, false /* success */); in onChallengeGenerated()
DFaceResetLockoutClient.java87 mCallback.onClientFinished(this, true /* success */); in startHalOperation()
91 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
99 mCallback.onClientFinished(this, true /* success */); in onLockoutCleared()
132 mCallback.onClientFinished(this, false /* success */); in onError()
DFaceSetFeatureClient.java83 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
99 mCallback.onClientFinished(this, true /* success */); in onFeatureSet()
110 mCallback.onClientFinished(this, false /* success */); in onError()
DFaceRevokeChallengeClient.java56 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
62 mCallback.onClientFinished(this, success); in onChallengeRevoked()
DFaceStartUserClient.java67 getCallback().onClientFinished(this, true /* success */); in startHalOperation()
70 getCallback().onClientFinished(this, false /* success */); in startHalOperation()
DFaceAuthenticationClient.java177 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
184 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
201 mCallback.onClientFinished(this, false /* success */); in doAuthenticate()
228 mCallback.onClientFinished(this, false /* success */); in stopHalOperation()
253 mCallback.onClientFinished(this, true /* success */); in handleLifecycleAfterAuth()
382 mCallback.onClientFinished(this, false /* success */); in onAuthenticationFrame()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/
DBiometricSchedulerOperationTest.java189 verify(mClientCallback, never()).onClientFinished(any(), anyBoolean()); in startsWhenReadyAndHalAvailable()
190 verify(mOnStartCallback, never()).onClientFinished(any(), anyBoolean()); in startsWhenReadyAndHalAvailable()
192 mStartedCallbackCaptor.getValue().onClientFinished(mInterruptableClientMonitor, in startsWhenReadyAndHalAvailable()
198 verify(mOnStartCallback).onClientFinished(eq(mInterruptableClientMonitor), eq(true)); in startsWhenReadyAndHalAvailable()
215 verify(mClientCallback).onClientFinished(eq(mInterruptableClientMonitor), eq(false)); in startFailsWhenReadyButHalNotAvailable()
216 verify(mOnStartCallback).onClientFinished(eq(mInterruptableClientMonitor), eq(false)); in startFailsWhenReadyButHalNotAvailable()
315 mStartedCallbackCaptor.getValue().onClientFinished(mInterruptableClientMonitor, in cancel()
324 verify(cancelCb, never()).onClientFinished(any(), anyBoolean()); in cancel()
339 cbCaptor.getValue().onClientFinished(mInterruptableClientMonitor, true); in cancelWithoutStarting()
340 verify(cancelCb).onClientFinished(eq(mInterruptableClientMonitor), eq(true)); in cancelWithoutStarting()
[all …]
DBiometricSchedulerTest.java192 client1.mCallback.onClientFinished(client1, true /* success */); in testClientDuplicateFinish_ignoredBySchedulerAndDoesNotCrash()
193 client1.mCallback.onClientFinished(client1, true /* success */); in testClientDuplicateFinish_ignoredBySchedulerAndDoesNotCrash()
219 verify(callback1).onClientFinished(eq(client1), eq(false) /* success */); in testRemovesPendingOperations_whenNullHal_andNotBiometricPrompt()
223 verify(callback2).onClientFinished(eq(client2), eq(false) /* success */); in testRemovesPendingOperations_whenNullHal_andNotBiometricPrompt()
262 verify(callback1).onClientFinished(eq(client1), eq(false) /* success */); in testRemovesOnlyBiometricPromptOperation_whenNullHal()
321 client.getCallback().onClientFinished(client, true); in testProtoDump_singleCurrentOperation()
338 client.getCallback().onClientFinished(client, true); in testProtoDump_fifo()
350 client2.getCallback().onClientFinished(client2, true); in testProtoDump_fifo()
366 client3.getCallback().onClientFinished(client3, true); in testProtoDump_fifo()
406 client1.getCallback().onClientFinished(client1, true /* success */); in testCancelPendingAuth()
[all …]
DCompositeCallbackTest.java72 callback.onClientFinished(mClientMonitor, true /* success */); in testCallbacks()
75 order.verify(cb).onClientFinished(eq(mClientMonitor), eq(true)); in testCallbacks()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintDetectClient.java102 mCallback.onClientFinished(this, false /* success */); in stopHalOperation()
124 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
146 mCallback.onClientFinished(this, false /* success */); in doDetectInteraction()
166 mCallback.onClientFinished(this, true /* success */); in onInteractionDetected()
169 mCallback.onClientFinished(this, false /* success */); in onInteractionDetected()
DFingerprintGenerateChallengeClient.java55 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
63 mCallback.onClientFinished(this, true /* success */); in onChallengeGenerated()
66 mCallback.onClientFinished(this, false /* success */); in onChallengeGenerated()
DFingerprintResetLockoutClient.java87 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
99 mCallback.onClientFinished(this, true /* success */); in onLockoutCleared()
129 mCallback.onClientFinished(this, false /* success */); in onError()
DFingerprintRevokeChallengeClient.java56 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
62 mCallback.onClientFinished(FingerprintRevokeChallengeClient.this, success); in onChallengeRevoked()
DFingerprintStartUserClient.java67 getCallback().onClientFinished(this, true /* success */); in startHalOperation()
70 getCallback().onClientFinished(this, false /* success */); in startHalOperation()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DFaceInternalEnumerateClientTest.java114 verify(mCallback).onClientFinished(mClient, true); in internalCleanupClient_noTemplatesRemaining()
130 verify(mCallback, never()).onClientFinished(mClient, true); in internalCleanupClient_nullIdentifier_remainingOne()
146 verify(mCallback).onClientFinished(mClient, true); in internalCleanupClient_nullIdentifier_noTemplatesRemaining()
163 verify(mCallback, never()).onClientFinished(mClient, true); in internalCleanupClient_templatesRemaining()
181 verify(mCallback).onClientFinished(mClient, true); in internalCleanupClient_differentIdentifier_noTemplatesRemaining()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DInternalCleanupClient.java73 public void onClientFinished(@NonNull BaseClientMonitor clientMonitor, boolean success) {
90 mCallback.onClientFinished(InternalCleanupClient.this, success);
102 mCallback.onClientFinished(InternalCleanupClient.this, success);
113 public void onClientFinished(@NonNull BaseClientMonitor clientMonitor, boolean success) {
116 mCallback.onClientFinished(InternalCleanupClient.this, success);
DClientMonitorCompositeCallback.java54 public final void onClientFinished(@NonNull BaseClientMonitor clientMonitor, in onClientFinished() method in ClientMonitorCompositeCallback
57 mCallbacks.get(i).onClientFinished(clientMonitor, success); in onClientFinished()
DBiometricSchedulerOperation.java148 .onClientFinished(mClientMonitor, false /* success */); in BiometricSchedulerOperation()
229 cb.onClientFinished(mClientMonitor, true /* success */); in doStart()
244 cb.onClientFinished(mClientMonitor, false /* success */); in doStart()
272 getWrappedCallback().onClientFinished(mClientMonitor, false /* success */); in abort()
333 public void onClientFinished(@NonNull BaseClientMonitor clientMonitor, in getWrappedCallback()
DAcquisitionClient.java126 mCallback.onClientFinished(this, false /* success */); in onErrorInternal()
152 callback.onClientFinished(this, true /* success */); in cancelWithoutStarting()
185 mCallback.onClientFinished(this, false /* success */); in onAcquiredInternal()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DFaceUpdateActiveUserClient.java82 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
92 mCallback.onClientFinished(this, true /* success */); in startHalOperation()
95 mCallback.onClientFinished(this, false /* success */); in startHalOperation()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintRemovalClientTest.java113 verify(mCallback).onClientFinished(mClient, true); in removalMultipleFingerprints()
126 verify(mCallback).onClientFinished(mClient, false); in removeFingerprint_nullIdentifier()
145 verify(mCallback).onClientFinished(mClient, true); in removeFingerprints_noFingerprintEnrolled()
DFingerprintRevokeChallengeClientTest.java87 verify(mCallback).onClientFinished(mClient, true); in revokeChallenge_sameChallenge()
99 verify(mCallback).onClientFinished(mClient, false); in revokeChallenge_differentChallenge()

123