Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/biometrics/
DBiometricPrompt.java168 private PromptInfo mPromptInfo; field in BiometricPrompt.Builder
180 mPromptInfo = new PromptInfo(); in Builder()
199 if (mPromptInfo.getLogoBitmap() != null) { in setLogoRes()
204 mPromptInfo.setLogo(logoRes, in setLogoRes()
225 if (mPromptInfo.getLogoRes() != 0) { in setLogoBitmap()
229 mPromptInfo.setLogo(0, logoBitmap); in setLogoBitmap()
257 mPromptInfo.setLogoDescription(logoDescription); in setLogoDescription()
268 mPromptInfo.setTitle(title); in setTitle()
281 mPromptInfo.setUseDefaultTitle(true); in setUseDefaultTitle()
292 mPromptInfo.setSubtitle(subtitle); in setSubtitle()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/
DAuthSession.java124 @VisibleForTesting final PromptInfo mPromptInfo; field in AuthSession
219 mPromptInfo = promptInfo; in AuthSession()
287 mPromptInfo.isAllowBackgroundAuthentication(), in setSensorsToStateWaitingForCookie()
288 mPromptInfo.isForLegacyFingerprintManager()); in setSensorsToStateWaitingForCookie()
301 mPromptInfo, in goToInitialState()
353 mStatusBarService.showAuthenticationDialog(mPromptInfo, in onCookieReceived()
478 mPromptInfo.getAuthenticators(); in onErrorReceived()
481 mPromptInfo.setAuthenticators(authenticators); in onErrorReceived()
487 mPromptInfo, in onErrorReceived()
577 if (!mPromptInfo.isReceiveSystemEvents()) { in onSystemEvent()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DBiometricServiceTest.java361 eq(mBiometricService.mAuthSession.mPromptInfo), in testAuthenticate_credentialAllowedAndSetup_callsSystemUI()
449 eq(mBiometricService.mAuthSession.mPromptInfo), in testAuthenticate_picksStrongIfAvailable()
491 assertEquals(FACE_SUBTITLE, mBiometricService.mAuthSession.mPromptInfo.getSubtitle()); in testAuthenticateFace_shouldShowSubtitleForFace()
504 mBiometricService.mAuthSession.mPromptInfo.getSubtitle()); in testAuthenticateFingerprint_shouldShowSubtitleForFingerprint()
517 mBiometricService.mAuthSession.mPromptInfo.getSubtitle()); in testAuthenticateFingerprint_shouldShowSubtitleForCredential()
539 assertEquals(DEFAULT_SUBTITLE, mBiometricService.mAuthSession.mPromptInfo.getSubtitle()); in testAuthenticateBothFpAndFace_shouldShowDefaultSubtitle()
647 eq(mBiometricService.mAuthSession.mPromptInfo), in testAuthenticate_happyPathWithoutConfirmation()
702 mBiometricService.mAuthSession.mPromptInfo.getAuthenticators()); in testAuthenticate_noBiometrics_credentialAllowed()
704 eq(mBiometricService.mAuthSession.mPromptInfo), in testAuthenticate_noBiometrics_credentialAllowed()
970 mBiometricService.mAuthSession.mPromptInfo.getAuthenticators()); in testErrorFromHal_whilePreparingAuthentication_credentialAllowed()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthContainerView.java186 PromptInfo mPromptInfo; field in AuthContainerView.Config
244 mConfig.mPromptInfo.setAuthenticators(Authenticators.DEVICE_CREDENTIAL); in onUseDeviceCredential()
367 mPromptSelectorInteractorProvider.get().setPrompt(mConfig.mPromptInfo, mEffectiveUserId, in AuthContainerView()
495 return Utils.isDeviceCredentialAllowed(mConfig.mPromptInfo); in isAllowDeviceCredentials()
565 + mConfig.mPromptInfo.getAuthenticators()); in onAttachedToWindow()
766 wm.addView(this, getLayoutParams(mWindowToken, mConfig.mPromptInfo.getTitle()));
DAuthController.java1316 config.mPromptInfo = promptInfo; in buildDialog()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthContainerViewTest.kt665 mPromptInfo = in <lambda>()