Searched refs:setupFace (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | AuthSessionTest.java | 151 setupFace(1 /* id */, false /* confirmationAlwaysRequired */, in testNewAuthSession_eligibleSensorsSetToStateUnknown() 168 setupFace(0 /* id */, false /* confirmationAlwaysRequired */, in testStartNewAuthSession() 236 setupFace(1 /* id */, false /* confirmationAlwaysRequired */, in testOnErrorReceived_lockoutError() 272 setupFace(faceId, true /* confirmationAlwaysRequired */, in testOnErrorReceivedBeforeOnDialogAnimatedIn() 311 setupFace(faceId, false /* confirmationAlwaysRequired */, in testOnRejectionReceivedBeforeOnDialogAnimatedIn() 346 setupFace(0 /* id */, false /* confirmationAlwaysRequired */, in testCancelReducesAppetiteForCookies() 389 setupFace(1 /* id */, false, mock(IBiometricAuthenticator.class)); in testMultiAuth_fingerprintSensorStartsAfterDialogAnimationCompletes() 397 setupFace(1 /* id */, false, mock(IBiometricAuthenticator.class)); in testMultiAuth_fingerprintSensorDoesNotStartAfterDialogAnimationCompletes() 540 setupFace(0 /* id */, false /* confirmationAlwaysRequired */, faceAuthenticator); in testLogOnDialogDismissed_authenticatedWithConfirmation() 568 setupFace(0 /* id */, false /* confirmationAlwaysRequired */, faceAuthenticator); in testLogOnDialogDismissed_authenticatedWithoutConfirmation() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/trust/ |
D | TrustManagerServiceTest.java | 632 setupFace(SensorProperties.STRENGTH_WEAK); in testKeystoreWeakUnlockEnabled_whenWeakFaceIsSetupAndAllowed() 650 setupFace(SensorProperties.STRENGTH_CONVENIENCE); in testKeystoreWeakUnlockEnabled_whenConvenienceFaceIsSetupAndAllowed() 658 setupFace(SensorProperties.STRENGTH_WEAK); in testKeystoreWeakUnlockDisabled_whenStrongAuthRequired() 667 setupFace(SensorProperties.STRENGTH_WEAK); in testKeystoreWeakUnlockDisabled_whenNonStrongBiometricNotAllowed() 685 setupFace(SensorProperties.STRENGTH_WEAK, /* enrolled= */ false); in testKeystoreWeakUnlockDisabled_whenWeakFaceSensorIsPresentButNotEnrolled() 706 setupFace(SensorProperties.STRENGTH_WEAK); in testKeystoreWeakUnlockDisabled_whenWeakFaceIsSetupButForbiddenByDevicePolicy() 724 setupFace(SensorProperties.STRENGTH_STRONG); in testKeystoreWeakUnlockDisabled_whenOnlyStrongFaceIsSetup() 766 private void setupFace(int strength) { in setupFace() method in TrustManagerServiceTest 767 setupFace(strength, /* enrolled= */ true); in setupFace() 770 private void setupFace(int strength, boolean enrolled) { in setupFace() method in TrustManagerServiceTest
|