/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | MessageDisplayControllerTest.java | 54 private FingerprintManager.EnrollmentCallback mEnrollmentCallback; field in MessageDisplayControllerTest 60 mMessageDisplayController = new MessageDisplayController(new Handler(), mEnrollmentCallback, in setup() 69 mMessageDisplayController = new MessageDisplayController(new Handler(), mEnrollmentCallback, in setMessageDisplayController() 82 verify(mEnrollmentCallback).onEnrollmentHelp(HELP_ID, HELP_MESSAGE); in showsHelpMessageAfterCollectTime() 83 verifyNoMoreInteractions(mEnrollmentCallback); in showsHelpMessageAfterCollectTime() 94 verify(mEnrollmentCallback).onEnrollmentProgress(REMAINING); in showsProgressMessageAfterCollectTime() 95 verifyNoMoreInteractions(mEnrollmentCallback); in showsProgressMessageAfterCollectTime() 106 verify(mEnrollmentCallback).onEnrollmentHelp(HELP_ID, HELP_MESSAGE); in helpDisplayedForMinimumDisplayTime() 110 verifyNoMoreInteractions(mEnrollmentCallback); in helpDisplayedForMinimumDisplayTime() 115 verify(mEnrollmentCallback).onEnrollmentProgress(REMAINING); in helpDisplayedForMinimumDisplayTime() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/face/ |
D | FaceUpdaterTest.java | 79 private FaceManager.EnrollmentCallback mEnrollmentCallback; field in FaceUpdaterTest 87 mEnrollmentCallback = spy(new TestEnrollmentCallback()); in setUp() 96 mFaceUpdater.enroll(USER_ID, HARDWARE_AUTH_TOKEN, CANCELLATION_SIGNAL, mEnrollmentCallback, in enroll_firstVersion_onEnrollmentCallbacks_triggerGivenCallback() 114 verify(mEnrollmentCallback, atLeast(1)).onEnrollmentError(ERR_MSG_ID, ERR_STRING); in enroll_firstVersion_onEnrollmentCallbacks_triggerGivenCallback() 115 verify(mEnrollmentCallback, atLeast(1)).onEnrollmentProgress(/* remaining= */ 2); in enroll_firstVersion_onEnrollmentCallbacks_triggerGivenCallback() 116 verify(mEnrollmentCallback, atLeast(1)).onEnrollmentHelp(HELP_MSG_ID, HELP_STRING); in enroll_firstVersion_onEnrollmentCallbacks_triggerGivenCallback() 117 verify(mEnrollmentCallback, atLeast(1)) in enroll_firstVersion_onEnrollmentCallbacks_triggerGivenCallback() 125 mFaceUpdater.enroll(USER_ID, HARDWARE_AUTH_TOKEN, CANCELLATION_SIGNAL, mEnrollmentCallback, in enroll_firstVersion_onEnrollmentSuccess_invokedInteractionWithSafetyCenter() 147 mFaceUpdater.enroll(USER_ID, HARDWARE_AUTH_TOKEN, CANCELLATION_SIGNAL, mEnrollmentCallback, in enroll_firstVersion_onEnrollmentNotYetFinished_didntInvokeInteractionWithSafetyCenter() 169 mFaceUpdater.enroll(USER_ID, HARDWARE_AUTH_TOKEN, CANCELLATION_SIGNAL, mEnrollmentCallback, in enroll_secondVersion_onEnrollmentCallbacks_triggerGivenCallback() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintUpdaterTest.java | 64 private FingerprintManager.EnrollmentCallback mEnrollmentCallback; field in FingerprintUpdaterTest 72 mEnrollmentCallback = spy(new TestEntrollmentCallback()); in setUp() 82 mEnrollmentCallback, ENROLL_REASON, new Intent()); in enroll_onEnrollmentCallbacks_triggerGivenCallback() 96 verify(mEnrollmentCallback).onEnrollmentError(ERR_MSG_ID, ERR_STRING); in enroll_onEnrollmentCallbacks_triggerGivenCallback() 97 verify(mEnrollmentCallback).onEnrollmentProgress(/* remaining= */ 2); in enroll_onEnrollmentCallbacks_triggerGivenCallback() 98 verify(mEnrollmentCallback).onEnrollmentHelp(HELP_MSG_ID, HELP_STRING); in enroll_onEnrollmentCallbacks_triggerGivenCallback() 106 mEnrollmentCallback, ENROLL_REASON, new Intent()); in enroll_onEnrollmentSuccess_invokedInteractionWithSafetyCenter() 126 mEnrollmentCallback, ENROLL_REASON, new Intent()); in enroll_onEnrollmentNotYetFinished_didntInvokeInteractionWithSafetyCenter()
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | MessageDisplayController.java | 57 @NonNull FingerprintManager.EnrollmentCallback mEnrollmentCallback; field in MessageDisplayController 76 mEnrollmentCallback.onEnrollmentHelp(mHelpMsgId, mHelpString); in display() 91 mEnrollmentCallback.onEnrollmentProgress(mRemaining); in display() 122 mEnrollmentCallback = enrollmentCallback; in MessageDisplayController() 177 mEnrollmentCallback.onEnrollmentError(errMsgId, errString); in onEnrollmentError() 182 mEnrollmentCallback.onAcquired(isAcquiredGood); in onAcquired()
|
D | FingerprintEnrollSidecar.java | 74 mEnrollmentCallback, SystemClock.elapsedRealtimeClock(), helpMinimumDisplayTime, in FingerprintEnrollSidecar() 109 mFingerprintUpdater.enroll(mToken, mEnrollmentCancel, mUserId, mEnrollmentCallback, in startEnrollment() 119 FingerprintManager.EnrollmentCallback mEnrollmentCallback field in FingerprintEnrollSidecar
|
/packages/apps/Settings/src/com/android/settings/biometrics/face/ |
D | FaceEnrollSidecar.java | 54 mEnrollmentCallback, mDisabledFeatures, mIntent); in startEnrollment() 57 private FaceManager.EnrollmentCallback mEnrollmentCallback field in FaceEnrollSidecar
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/ |
D | FingerprintEnrollProgressViewModel.java | 76 private final EnrollmentCallback mEnrollmentCallback = new EnrollmentCallback() { field in FingerprintEnrollProgressViewModel 209 mEnrollmentCallback, in startEnrollment() 219 mFingerprintUpdater.enroll(mToken, mCancellationSignal, mUserId, mEnrollmentCallback, in startEnrollment()
|