Searched refs:preAuthInfo (Results 1 – 5 of 5) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
H A D | PreAuthInfoTest.java | 106 PreAuthInfo preAuthInfo = PreAuthInfo.create(mTrustManager, mDevicePolicyManager, in testFaceAuthentication_whenCameraPrivacyIsEnabled() local 111 assertThat(preAuthInfo.eligibleSensors).isEmpty(); in testFaceAuthentication_whenCameraPrivacyIsEnabled() 133 PreAuthInfo preAuthInfo = PreAuthInfo.create(mTrustManager, mDevicePolicyManager, in testFaceAuthentication_whenCameraPrivacyIsDisabledAndCameraIsAvailable() local 138 assertThat(preAuthInfo.eligibleSensors).hasSize(1); in testFaceAuthentication_whenCameraPrivacyIsDisabledAndCameraIsAvailable() 160 PreAuthInfo preAuthInfo = PreAuthInfo.create(mTrustManager, mDevicePolicyManager, in testFaceAuthentication_whenCameraIsUnavailable() local 165 assertThat(preAuthInfo.eligibleSensors).hasSize(0); in testFaceAuthentication_whenCameraIsUnavailable()
|
H A D | BiometricServiceTest.java | 1863 final PreAuthInfo preAuthInfo = service.mAuthSession.mPreAuthInfo; in startPendingAuthSession() local 1864 assertEquals(preAuthInfo.eligibleSensors.size(), 1); in startPendingAuthSession() 1865 assertEquals(preAuthInfo.numSensorsWaitingForCookie(), 1); in startPendingAuthSession() 1867 final int cookie = preAuthInfo.eligibleSensors.get(0).getCookie(); in startPendingAuthSession() 1923 final PreAuthInfo preAuthInfo = session.mPreAuthInfo; in getCookieForCurrentSession() local 1925 assertEquals(preAuthInfo.eligibleSensors.size(), 1); in getCookieForCurrentSession() 1926 return preAuthInfo.eligibleSensors.get(0).getCookie(); in getCookieForCurrentSession()
|
H A D | AuthSessionTest.java | 624 final PreAuthInfo preAuthInfo = createPreAuthInfo(sensors, userId, promptInfo, in createAuthSession() local 627 mKeyStore, mRandom, mClientDeathReceiver, preAuthInfo, mToken, requestId, in createAuthSession()
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/ |
H A D | BiometricService.java | 609 final PreAuthInfo preAuthInfo = 611 return preAuthInfo.getCanAuthenticateResult(); 836 final PreAuthInfo preAuthInfo = 838 return preAuthInfo.getPreAuthenticateStatus().first; 1286 final PreAuthInfo preAuthInfo = PreAuthInfo.create(mTrustManager, 1299 final int eligible = preAuthInfo.getEligibleModalities(); 1334 if (preAuthInfo.credentialRequested && preAuthInfo.credentialAvailable 1335 && preAuthInfo.eligibleSensors.isEmpty()) { 1340 opPackageName, promptInfo, preAuthInfo); 1363 PreAuthInfo preAuthInfo) { [all …]
|
H A D | AuthSession.java | 164 @NonNull PreAuthInfo preAuthInfo, in AuthSession() argument 176 clientDeathReceiver, preAuthInfo, token, requestId, operationId, userId, in AuthSession() 189 @NonNull PreAuthInfo preAuthInfo, in AuthSession() argument 201 Slog.d(TAG, "Creating AuthSession with: " + preAuthInfo); in AuthSession() 209 mPreAuthInfo = preAuthInfo; in AuthSession()
|