Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java115 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testPasswordMigration()
122 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential(password, in testPasswordMigration()
146 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSyntheticPasswordChangeCredential()
157 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSyntheticPasswordVerifyCredential()
161 assertEquals(VerifyCredentialResponse.RESPONSE_ERROR, mService.verifyCredential( in testSyntheticPasswordVerifyCredential()
180 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSyntheticPasswordClearCredential()
195 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSyntheticPasswordChangeCredentialKeepsAuthSecret()
213 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential(password, in testSyntheticPasswordVerifyPassesPrimaryUserAuthSecret()
223 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testSecondaryUserDoesNotPassAuthSecret()
277 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileUnifiedChallengeMigration()
[all …]
DCachedSyntheticPasswordTests.java75 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential(newPassword, in testSyntheticPasswordClearCredentialUntrusted()
94 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential(newPassword, in testSyntheticPasswordChangeCredentialUntrusted()
110 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential(newPassword, in testUntrustedCredentialChangeMaintainsAuthSecret()
141 assertEquals(VerifyCredentialResponse.RESPONSE_ERROR, mService.verifyCredential(newPassword, in testUntrustedCredentialChangeBlockedIfSpNotCached()
144 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential(password, in testUntrustedCredentialChangeBlockedIfSpNotCached()
DLockSettingsServiceTests.java140 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileUnifiedChallenge()
198 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileSeparateChallenge()
204 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileSeparateChallenge()
215 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileSeparateChallenge()
387 mService.verifyCredential( in testVerifyCredential_forPrimaryUser_sendsCredentials()
407 mService.verifyCredential(pattern, CREDENTIAL_TYPE_PATTERN, 1, MANAGED_PROFILE_USER_ID); in testVerifyCredential_forProfileWithSeparateChallenge_sendsCredentials()
422 mService.verifyCredential(pattern.getBytes(), CREDENTIAL_TYPE_PATTERN, 1, PRIMARY_USER_ID); in testVerifyCredential_forPrimaryUserWithUnifiedChallengeProfile_sendsCredentialsForBoth()
472 VerifyCredentialResponse response = mService.verifyCredential(credential.getBytes(), in assertVerifyCredentials()
492 assertEquals(GateKeeperResponse.RESPONSE_ERROR, mService.verifyCredential( in assertVerifyCredentials()
495 assertEquals(GateKeeperResponse.RESPONSE_ERROR, mService.verifyCredential( in assertVerifyCredentials()
/frameworks/base/core/java/com/android/internal/widget/
DILockSettings.aidl49 …VerifyCredentialResponse verifyCredential(in byte[] credential, int type, long challenge, int user… in verifyCredential() method
DLockPatternUtils.java368 private byte[] verifyCredential(byte[] credential, int type, long challenge, int userId) in verifyCredential() method in LockPatternUtils
371 VerifyCredentialResponse response = getLockSettings().verifyCredential(credential, in verifyCredential()
416 return verifyCredential(patternToByteArray(pattern), CREDENTIAL_TYPE_PATTERN, challenge, in verifyPattern()
457 return verifyCredential(password, CREDENTIAL_TYPE_PASSWORD, challenge, userId); in verifyPassword()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java1750 public VerifyCredentialResponse verifyCredential(byte[] credential, int type, long challenge, in verifyCredential() method in LockSettingsService
1805 response = verifyCredential(userId, storedHash, credentialToVerify, in doVerifyCredential()
1862 private VerifyCredentialResponse verifyCredential(int userId, CredentialHash storedHash, in verifyCredential() method in LockSettingsService