Searched refs:eligibleSensors (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | AuthSessionTest.java | 161 for (BiometricSensor sensor : session.mPreAuthInfo.eligibleSensors) { in testNewAuthSession_eligibleSensorsSetToStateUnknown() 182 assertEquals(mSensors.size(), session.mPreAuthInfo.eligibleSensors.size()); in testStartNewAuthSession() 184 for (BiometricSensor sensor : session.mPreAuthInfo.eligibleSensors) { in testStartNewAuthSession() 190 for (BiometricSensor sensor : session.mPreAuthInfo.eligibleSensors) { in testStartNewAuthSession() 206 final int cookie1 = session.mPreAuthInfo.eligibleSensors.get(0).getCookie(); in testStartNewAuthSession() 208 for (BiometricSensor sensor : session.mPreAuthInfo.eligibleSensors) { in testStartNewAuthSession() 217 final int cookie2 = session.mPreAuthInfo.eligibleSensors.get(1).getCookie(); in testStartNewAuthSession() 223 for (BiometricSensor sensor : session.mPreAuthInfo.eligibleSensors) { in testStartNewAuthSession() 245 for (BiometricSensor sensor : session.mPreAuthInfo.eligibleSensors) { in testOnErrorReceived_lockoutError() 248 session.mPreAuthInfo.eligibleSensors.get(sensor.id).getCookie()); in testOnErrorReceived_lockoutError() [all …]
|
D | PreAuthInfoTest.java | 110 assertThat(preAuthInfo.eligibleSensors).isEmpty(); in testFaceAuthentication_whenCameraPrivacyIsEnabled() 126 assertThat(preAuthInfo.eligibleSensors).hasSize(1); in testFaceAuthentication_whenCameraPrivacyIsDisabledAndCameraIsAvailable() 143 assertThat(preAuthInfo.eligibleSensors).hasSize(0); in testFaceAuthentication_whenCameraIsUnavailable() 163 assertThat(preAuthInfo.eligibleSensors).hasSize(0); in testCanAuthenticateResult_whenCameraUnavailableAndNoFingerprintsEnrolled() 183 assertThat(preAuthInfo.eligibleSensors).hasSize(1); in testFingerprintAuthentication_whenCameraIsUnavailable() 184 assertThat(preAuthInfo.eligibleSensors.get(0).modality).isEqualTo(TYPE_FINGERPRINT); in testFingerprintAuthentication_whenCameraIsUnavailable()
|
D | BiometricServiceTest.java | 306 verify(mBiometricService.mAuthSession.mPreAuthInfo.eligibleSensors.get(0).impl) in testClientBinderDied_whenAuthenticating() 1956 assertEquals(preAuthInfo.eligibleSensors.size(), 1); in startPendingAuthSession() 1959 final int cookie = preAuthInfo.eligibleSensors.get(0).getCookie(); in startPendingAuthSession() 2017 assertEquals(preAuthInfo.eligibleSensors.size(), 1); in getCookieForCurrentSession() 2018 return preAuthInfo.eligibleSensors.get(0).getCookie(); in getCookieForCurrentSession() 2025 assertEquals(requestWrapper.eligibleSensors.size(), 1); in getCookieForPendingSession() 2026 assertEquals(requestWrapper.eligibleSensors.get(0).getSensorState(), in getCookieForPendingSession() 2028 return requestWrapper.eligibleSensors.get(0).getCookie(); in getCookieForPendingSession()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | PreAuthInfo.java | 65 final List<BiometricSensor> eligibleSensors; field in PreAuthInfo 78 boolean credentialRequested, List<BiometricSensor> eligibleSensors, in PreAuthInfo() argument 87 this.eligibleSensors = eligibleSensors; in PreAuthInfo() 119 final List<BiometricSensor> eligibleSensors = new ArrayList<>(); in create() local 145 eligibleSensors.add(sensor); in create() 153 eligibleSensors, ineligibleSensors, credentialAvailable, confirmationRequested, in create() 327 if (credentialAvailable || !eligibleSensors.isEmpty()) { in getInternalStatus() 328 for (BiometricSensor sensor : eligibleSensors) { in getInternalStatus() 357 if (!eligibleSensors.isEmpty()) { in getInternalStatus() 358 for (BiometricSensor sensor : eligibleSensors) { in getInternalStatus() [all …]
|
D | AuthSession.java | 259 for (BiometricSensor sensor : mPreAuthInfo.eligibleSensors) { in setSensorsToStateUnknown() 268 for (BiometricSensor sensor : mPreAuthInfo.eligibleSensors) { in setSensorsToStateWaitingForCookie() 293 if (mPreAuthInfo.credentialAvailable && mPreAuthInfo.eligibleSensors.isEmpty()) { in goToInitialState() 310 } else if (!mPreAuthInfo.eligibleSensors.isEmpty()) { in goToInitialState() 331 for (BiometricSensor sensor : mPreAuthInfo.eligibleSensors) { in onCookieReceived() 348 mSensors = new int[mPreAuthInfo.eligibleSensors.size()]; in onCookieReceived() 349 for (int i = 0; i < mPreAuthInfo.eligibleSensors.size(); i++) { in onCookieReceived() 350 mSensors[i] = mPreAuthInfo.eligibleSensors.get(i).id; in onCookieReceived() 382 for (BiometricSensor sensor : mPreAuthInfo.eligibleSensors) { in isConfirmationRequiredByAnyEligibleSensor() 399 for (BiometricSensor sensor : mPreAuthInfo.eligibleSensors) { in startAllPreparedSensors() [all …]
|
D | BiometricService.java | 1419 && preAuthInfo.eligibleSensors.isEmpty()) {
|