Home
last modified time | relevance | path

Searched refs:AuthDialogCallback (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthContainerView.java177 @Nullable @AuthDialogCallback.DismissedReason private Integer mPendingCallbackReason;
185 AuthDialogCallback mCallback;
202 animateAway(AuthDialogCallback.DISMISSED_BIOMETRIC_AUTHENTICATED); in onAuthenticated()
208 animateAway(AuthDialogCallback.DISMISSED_USER_CANCELED); in onUserCanceled()
213 animateAway(AuthDialogCallback.DISMISSED_BUTTON_NEGATIVE); in onButtonNegative()
224 animateAway(AuthDialogCallback.DISMISSED_BUTTON_CONTENT_VIEW_MORE_OPTIONS); in onContentViewMoreOptionsButtonPressed()
229 animateAway(AuthDialogCallback.DISMISSED_ERROR); in onError()
254 animateAway(AuthDialogCallback.DISMISSED_BUTTON_POSITIVE); in onAuthenticatedAndConfirmed()
261 animateAway(AuthDialogCallback.DISMISSED_CREDENTIAL_AUTHENTICATED); in onCredentialMatched()
267 animateAway(AuthDialogCallback.DISMISSED_USER_CANCELED); in onCredentialAborted()
[all …]
DAuthDialogCallback.java26 public interface AuthDialogCallback { interface
DAuthController.java122 AuthDialogCallback,
526 case AuthDialogCallback.DISMISSED_USER_CANCELED: in onDismissed()
531 case AuthDialogCallback.DISMISSED_BUTTON_NEGATIVE: in onDismissed()
536 case AuthDialogCallback.DISMISSED_BUTTON_POSITIVE: in onDismissed()
541 case AuthDialogCallback.DISMISSED_BIOMETRIC_AUTHENTICATED: in onDismissed()
547 case AuthDialogCallback.DISMISSED_ERROR: in onDismissed()
552 case AuthDialogCallback.DISMISSED_BY_SYSTEM_SERVER: in onDismissed()
557 case AuthDialogCallback.DISMISSED_CREDENTIAL_AUTHENTICATED: in onDismissed()
562 case AuthDialogCallback.DISMISSED_BUTTON_CONTENT_VIEW_MORE_OPTIONS: in onDismissed()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DAuthControllerTest.java365 mAuthController.onDismissed(AuthDialogCallback.DISMISSED_USER_CANCELED, in testSendsReasonUserCanceled_whenDismissedByUserCancel()
376 mAuthController.onDismissed(AuthDialogCallback.DISMISSED_BUTTON_NEGATIVE, in testSendsReasonNegative_whenDismissedByButtonNegative()
387 mAuthController.onDismissed(AuthDialogCallback.DISMISSED_BUTTON_POSITIVE, in testSendsReasonConfirmed_whenDismissedByButtonPositive()
398 mAuthController.onDismissed(AuthDialogCallback.DISMISSED_BIOMETRIC_AUTHENTICATED, in testSendsReasonConfirmNotRequired_whenDismissedByAuthenticated()
409 mAuthController.onDismissed(AuthDialogCallback.DISMISSED_ERROR, in testSendsReasonError_whenDismissedByError()
420 mAuthController.onDismissed(AuthDialogCallback.DISMISSED_BY_SYSTEM_SERVER, in testSendsReasonServerRequested_whenDismissedByServer()
435 mAuthController.onDismissed(AuthDialogCallback.DISMISSED_CREDENTIAL_AUTHENTICATED, in testSendsReasonCredentialConfirmed_whenDeviceCredentialAuthenticated()
445 mAuthController.onDismissed(AuthDialogCallback.DISMISSED_BUTTON_CONTENT_VIEW_MORE_OPTIONS, in testSendsReasonContentViewMoreOptions_whenButtonPressed()
679 mAuthController.onDismissed(AuthDialogCallback.DISMISSED_CREDENTIAL_AUTHENTICATED, in testCancelAuthentication_whenCredentialConfirmed_doesntCrash()
738 mAuthController.onDismissed(AuthDialogCallback.DISMISSED_USER_CANCELED, in testDoesNotCrash_whenTryAgainPressedAfterDismissal()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthContainerViewTest.kt104 @Mock lateinit var callback: AuthDialogCallback in <lambda>()
286 eq(AuthDialogCallback.DISMISSED_BIOMETRIC_AUTHENTICATED), in <lambda>()
306 eq(AuthDialogCallback.DISMISSED_USER_CANCELED), in <lambda>()
321 eq(AuthDialogCallback.DISMISSED_BUTTON_NEGATIVE), in <lambda>()
348 eq(AuthDialogCallback.DISMISSED_ERROR), in <lambda>()