Home
last modified time | relevance | path

Searched refs:mPromptInfo (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/core/java/android/hardware/biometrics/
H A DBiometricPrompt.java142 private PromptInfo mPromptInfo; field in BiometricPrompt.Builder
153 mPromptInfo = new PromptInfo(); in Builder()
164 mPromptInfo.setTitle(title); in setTitle()
177 mPromptInfo.setUseDefaultTitle(true); in setUseDefaultTitle()
188 mPromptInfo.setSubtitle(subtitle); in setSubtitle()
521 private final PromptInfo mPromptInfo; field in BiometricPrompt
630 mPromptInfo = promptInfo; in BiometricPrompt()
642 return mPromptInfo.getTitle(); in getTitle()
661 return mPromptInfo.getSubtitle(); in getSubtitle()
680 return mPromptInfo.getDescription(); in getDescription()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/
H A DAuthSession.java123 @VisibleForTesting final PromptInfo mPromptInfo; field in AuthSession
217 mPromptInfo = promptInfo; in AuthSession()
278 mPromptInfo.isAllowBackgroundAuthentication(), in setSensorsToStateWaitingForCookie()
279 mPromptInfo.isForLegacyFingerprintManager()); in setSensorsToStateWaitingForCookie()
292 mPromptInfo, in goToInitialState()
469 mPromptInfo.getAuthenticators(); in onErrorReceived()
472 mPromptInfo.setAuthenticators(authenticators); in onErrorReceived()
478 mPromptInfo, in onErrorReceived()
567 if (!mPromptInfo.isReceiveSystemEvents()) { in onSystemEvent()
923 return Utils.isCredentialRequested(mPromptInfo); in isAllowDeviceCredential()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthContainerView.java174 PromptInfo mPromptInfo; field in AuthContainerView.Config
390 if (Utils.isBiometricAllowed(config.mPromptInfo)) { in showPrompt()
392 config.mPromptInfo, in showPrompt()
421 if (Utils.isBiometricAllowed(mConfig.mPromptInfo)) { in showLegacyPrompt()
458 view.setPromptInfo(mConfig.mPromptInfo); in showLegacyPrompt()
481 return Utils.isDeviceCredentialAllowed(mConfig.mPromptInfo); in isAllowDeviceCredentials()
517 mConfig.mPromptInfo, credentialType, mConfig.mUserId, mConfig.mOperationId); in addCredentialView()
547 if (Utils.isBiometricAllowed(mConfig.mPromptInfo)) { in onAttachedToWindow()
549 } else if (Utils.isDeviceCredentialAllowed(mConfig.mPromptInfo)) { in onAttachedToWindow()
553 + mConfig.mPromptInfo.getAuthenticators()); in onAttachedToWindow()
[all …]
H A DAuthBiometricView.java130 private PromptInfo mPromptInfo; field in AuthBiometricView
297 mPromptInfo = promptInfo; in setPromptInfo()
785 mTitleView.setText(mPromptInfo.getTitle()); in onAttachedToWindow()
818 mNegativeButton.setText(mPromptInfo.getNegativeButtonText()); in onAttachedToWindow()
821 setTextOrHide(mSubtitleView, mPromptInfo.getSubtitle()); in onAttachedToWindow()
822 setTextOrHide(mDescriptionView, mPromptInfo.getDescription()); in onAttachedToWindow()
964 return Utils.isDeviceCredentialAllowed(mPromptInfo); in isDeviceCredentialAllowed()
H A DAuthController.java1330 config.mPromptInfo = promptInfo; in buildDialog()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
H A DBiometricServiceTest.java330 eq(mBiometricService.mAuthSession.mPromptInfo), in testAuthenticate_credentialAllowedAndSetup_callsSystemUI()
418 eq(mBiometricService.mAuthSession.mPromptInfo), in testAuthenticate_picksStrongIfAvailable()
473 mBiometricService.mAuthSession.mPromptInfo.getSubtitle()); in testAuthenticateFingerprint_shouldShowSubtitleForFingerprint()
486 mBiometricService.mAuthSession.mPromptInfo.getSubtitle()); in testAuthenticateFingerprint_shouldShowSubtitleForCredential()
616 eq(mBiometricService.mAuthSession.mPromptInfo), in testAuthenticate_happyPathWithoutConfirmation()
673 eq(mBiometricService.mAuthSession.mPromptInfo), in testAuthenticate_noBiometrics_credentialAllowed()
941 eq(mBiometricService.mAuthSession.mPromptInfo), in testErrorFromHal_whilePreparingAuthentication_credentialAllowed()
1064 eq(mBiometricService.mAuthSession.mPromptInfo), in testBiometricOrCredentialAuth_whenBiometricLockout_showsCredential()
1561 eq(mBiometricService.mAuthSession.mPromptInfo), in testWithDowngradedAuthenticator()
1585 eq(mBiometricService.mAuthSession.mPromptInfo), in testWithDowngradedAuthenticator()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DAuthContainerViewTest.kt515 mPromptInfo = PromptInfo().apply {