Searched refs:onAction (Results 1 – 5 of 5) sorted by relevance
81 verify(mCallback).onAction(AuthBiometricView.Callback.ACTION_AUTHENTICATED); in testOnAuthenticationSucceeded_noConfirmationRequired_sendsActionAuthenticated()92 verify(mCallback, never()).onAction(anyInt()); in testOnAuthenticationSucceeded_confirmationRequired_updatesDialogContents()112 verify(mCallback).onAction(AuthBiometricView.Callback.ACTION_AUTHENTICATED); in testPositiveButton_sendsActionAuthenticated()130 verify(mCallback).onAction(AuthBiometricView.Callback.ACTION_BUTTON_NEGATIVE); in testNegativeButton_beforeAuthentication_sendsActionButtonNegative()148 verify(mCallback).onAction(AuthBiometricView.Callback.ACTION_USER_CANCELED); in testNegativeButton_whenPendingConfirmation_sendsActionUserCanceled()164 verify(mCallback).onAction(AuthBiometricView.Callback.ACTION_BUTTON_TRY_AGAIN); in testTryAgainButton_sendsActionTryAgain()175 verify(mCallback).onAction(AuthBiometricView.Callback.ACTION_ERROR); in testError_sendsActionError()186 verify(mCallback).onAction(eq(AuthBiometricView.Callback.ACTION_USER_CANCELED)); in testBackgroundClicked_sendsActionUserCanceled()197 verify(mCallback, never()).onAction(eq(AuthBiometricView.Callback.ACTION_USER_CANCELED)); in testBackgroundClicked_afterAuthenticated_neverSendsUserCanceled()208 verify(mCallback, never()).onAction(eq(AuthBiometricView.Callback.ACTION_USER_CANCELED)); in testBackgroundClicked_whenSmallDialog_neverSendsUserCanceled()[all …]
81 mAuthContainer.mBiometricCallback.onAction( in testActionAuthenticated_sendsDismissedAuthenticated()92 mAuthContainer.mBiometricCallback.onAction( in testActionUserCanceled_sendsDismissedUserCanceled()105 mAuthContainer.mBiometricCallback.onAction( in testActionButtonNegative_sendsDismissedButtonNegative()116 mAuthContainer.mBiometricCallback.onAction( in testActionTryAgain_sendsTryAgain()125 mAuthContainer.mBiometricCallback.onAction( in testActionError_sendsDismissedError()137 mAuthContainer.mBiometricCallback.onAction( in testActionUseDeviceCredential_sendsOnDeviceCredentialPressed()
361 mManager.onAction(MODE_RESET); in onTextChanged()542 mManager.onAction(MODE_START_EDIT); in onStartEdit()547 mManager.onAction(MODE_END_EDIT); in onEndEdit()551 mManager.onAction(MODE_RESET); in onResetEdit()556 mManager.onAction(MODE_COPY); in onStartCopy()561 mManager.onAction(MODE_CUT); in onStartCut()566 mManager.onAction(MODE_PASTE); in onStartPaste()571 mManager.onAction(MODE_SIZE); in onStartSize()576 mManager.onAction(MODE_COLOR); in onStartColor()581 mManager.onAction(MODE_BGCOLOR); in onStartBackgroundColor()[all …]
107 void onAction(int action); in onAction() method226 mCallback.onAction(Callback.ACTION_USER_CANCELED);458 mCallback.onAction(Callback.ACTION_AUTHENTICATED); in updateState()511 mCallback.onAction(Callback.ACTION_ERROR); in onError()597 mCallback.onAction(Callback.ACTION_USER_CANCELED); in onFinishInflateInternal()602 mCallback.onAction(Callback.ACTION_BUTTON_NEGATIVE); in onFinishInflateInternal()613 mCallback.onAction(Callback.ACTION_BUTTON_TRY_AGAIN); in onFinishInflateInternal()624 mCallback.onAction(Callback.ACTION_USE_DEVICE_CREDENTIAL); in startTransitionToCredentialUI()
211 public void onAction(int action) { in onAction() method in AuthContainerView.BiometricCallback