Lines Matching defs:storedHash
1414 CredentialHash storedHash = mStorage.readCredentialHash(userId);
1415 if (storedHash.type != credentialType) {
1417 + " stored: " + storedHash.type + " passed in: " + credentialType);
1421 boolean shouldReEnrollBaseZero = storedHash.type == LockPatternUtils.CREDENTIAL_TYPE_PATTERN
1422 && storedHash.isBaseZeroPattern;
1431 VerifyCredentialResponse response = verifyCredential(userId, storedHash, credentialToVerify,
1437 setLockCredentialInternal(credential, storedHash.type, credentialToVerify, userId);
1486 private VerifyCredentialResponse verifyCredential(int userId, CredentialHash storedHash,
1489 if ((storedHash == null || storedHash.hash.length == 0) && TextUtils.isEmpty(credential)) {
1494 if (storedHash == null || TextUtils.isEmpty(credential)) {
1502 if (storedHash.version == CredentialHash.VERSION_LEGACY) {
1504 if (storedHash.type == LockPatternUtils.CREDENTIAL_TYPE_PATTERN) {
1509 if (Arrays.equals(hash, storedHash.hash)) {
1510 if (storedHash.type == LockPatternUtils.CREDENTIAL_TYPE_PATTERN) {
1522 setLockCredentialInternal(credential, storedHash.type, null, userId);
1535 .verifyChallenge(userId, challenge, storedHash.hash, credential.getBytes());
1559 setLockCredentialInternal(credential, storedHash.type, credential, userId);
1566 storedHash.hash, credential, storedHash.type, userId);