Searched refs:BiometricSensor (Results 1 – 9 of 9) sorted by relevance
128 @NonNull private List<BiometricSensor> mSensors;161 for (BiometricSensor sensor : session.mPreAuthInfo.eligibleSensors) { in testNewAuthSession_eligibleSensorsSetToStateUnknown()162 assertEquals(BiometricSensor.STATE_UNKNOWN, sensor.getSensorState()); in testNewAuthSession_eligibleSensorsSetToStateUnknown()184 for (BiometricSensor sensor : session.mPreAuthInfo.eligibleSensors) { in testStartNewAuthSession()185 assertEquals(BiometricSensor.STATE_UNKNOWN, sensor.getSensorState()); in testStartNewAuthSession()190 for (BiometricSensor sensor : session.mPreAuthInfo.eligibleSensors) { in testStartNewAuthSession()191 assertEquals(BiometricSensor.STATE_WAITING_FOR_COOKIE, sensor.getSensorState()); in testStartNewAuthSession()208 for (BiometricSensor sensor : session.mPreAuthInfo.eligibleSensors) { in testStartNewAuthSession()210 assertEquals(BiometricSensor.STATE_COOKIE_RETURNED, sensor.getSensorState()); in testStartNewAuthSession()212 assertEquals(BiometricSensor.STATE_WAITING_FOR_COOKIE, sensor.getSensorState()); in testStartNewAuthSession()[all …]
100 BiometricSensor sensor = getFaceSensor(); in testFaceAuthentication_whenCameraPrivacyIsEnabled()116 BiometricSensor sensor = getFaceSensor(); in testFaceAuthentication_whenCameraPrivacyIsDisabledAndCameraIsAvailable()133 BiometricSensor sensor = getFaceSensor(); in testFaceAuthentication_whenCameraIsUnavailable()152 BiometricSensor faceSensor = getFaceSensor(); in testCanAuthenticateResult_whenCameraUnavailableAndNoFingerprintsEnrolled()153 BiometricSensor fingerprintSensor = getFingerprintSensor(); in testCanAuthenticateResult_whenCameraUnavailableAndNoFingerprintsEnrolled()172 BiometricSensor faceSensor = getFaceSensor(); in testFingerprintAuthentication_whenCameraIsUnavailable()173 BiometricSensor fingerprintSensor = getFingerprintSensor(); in testFingerprintAuthentication_whenCameraIsUnavailable()187 private BiometricSensor getFingerprintSensor() { in getFingerprintSensor()188 BiometricSensor sensor = new BiometricSensor(mContext, SENSOR_ID_FINGERPRINT, in getFingerprintSensor()205 private BiometricSensor getFaceSensor() { in getFaceSensor()[all …]
84 final ArrayList<BiometricSensor> sensors = new ArrayList<>(); in testCallbackReceived_whenAllStrongSensorsInvalidated()114 private static class TestSensor extends BiometricSensor {
1530 final BiometricSensor sensor = in testAuthenticatorActualStrength()1531 new BiometricSensor(mContext, 0 /* id */, in testAuthenticatorActualStrength()1585 for (BiometricSensor sensor : mBiometricService.mSensors) { in testWithDowngradedAuthenticator()1649 for (BiometricSensor sensor : mBiometricService.mSensors) { in testWithDowngradedAuthenticator()2027 BiometricSensor.STATE_WAITING_FOR_COOKIE); in getCookieForPendingSession()
65 final List<BiometricSensor> eligibleSensors;67 final List<Pair<BiometricSensor, Integer>> ineligibleSensors;78 boolean credentialRequested, List<BiometricSensor> eligibleSensors, in PreAuthInfo()79 List<Pair<BiometricSensor, Integer>> ineligibleSensors, boolean credentialAvailable, in PreAuthInfo() argument99 List<BiometricSensor> sensors, in create()119 final List<BiometricSensor> eligibleSensors = new ArrayList<>(); in create()120 final List<Pair<BiometricSensor, Integer>> ineligibleSensors = new ArrayList<>(); in create()123 for (BiometricSensor sensor : sensors) { in create()168 BiometricSensor sensor, int userId, String opPackageName, in getStatusForBiometricAuthenticator()273 private Pair<BiometricSensor, Integer> calculateErrorByPriority() { in calculateErrorByPriority()[all …]
26 import static com.android.server.biometrics.BiometricSensor.STATE_CANCELING;27 import static com.android.server.biometrics.BiometricSensor.STATE_UNKNOWN;259 for (BiometricSensor sensor : mPreAuthInfo.eligibleSensors) { in setSensorsToStateUnknown()268 for (BiometricSensor sensor : mPreAuthInfo.eligibleSensors) { in setSensorsToStateWaitingForCookie()269 @BiometricSensor.SensorState final int state = sensor.getSensorState(); in setSensorsToStateWaitingForCookie()271 && state != BiometricSensor.STATE_STOPPED in setSensorsToStateWaitingForCookie()272 && state != BiometricSensor.STATE_CANCELING) { in setSensorsToStateWaitingForCookie()331 for (BiometricSensor sensor : mPreAuthInfo.eligibleSensors) { in onCookieReceived()375 private boolean isConfirmationRequired(BiometricSensor sensor) { in isConfirmationRequired()382 for (BiometricSensor sensor : mPreAuthInfo.eligibleSensors) { in isConfirmationRequiredByAnyEligibleSensor()[all …]
129 final ArrayList<BiometricSensor> mSensors = new ArrayList<>();153 @NonNull ArrayList<BiometricSensor> sensors, in start()159 @NonNull ArrayList<BiometricSensor> sensors, int userId, in InvalidationTracker()164 for (BiometricSensor sensor : sensors) { in InvalidationTracker()526 for (BiometricSensor sensor : mSensors) {544 for (BiometricSensor sensor : mSensors) {681 for (BiometricSensor sensor : mSensors) {721 for (BiometricSensor sensor : mSensors) {727 mSensors.add(new BiometricSensor(getContext(), id, modality, strength, authenticator) {779 for (BiometricSensor sensor : mSensors) {[all …]
86 for (BiometricSensor sensor : mService.mSensors) { in updateStrengths()98 for (BiometricSensor sensor : mService.mSensors) { in revertStrengths()
39 public abstract class BiometricSensor { class89 BiometricSensor(@NonNull Context context, int id, int modality, in BiometricSensor() method in BiometricSensor