Searched refs:getCredential (Results 1 – 8 of 8) sorted by relevance
306 .lockScreenSecretChanged(CREDENTIAL_TYPE_PASSWORD, newCredential.getCredential(), in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials()309 .lockScreenSecretChanged(CREDENTIAL_TYPE_PASSWORD, newCredential.getCredential(), in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials()363 .lockScreenSecretChanged(CREDENTIAL_TYPE_PASSWORD, profilePassword.getCredential(), in testSetLockCredential_forUnifiedToSeparateChallengeProfile_sendsNewCredentials()396 CREDENTIAL_TYPE_PASSWORD, password.getCredential(), PRIMARY_USER_ID); in testVerifyCredential_forPrimaryUser_sendsCredentials()413 CREDENTIAL_TYPE_PATTERN, pattern.getCredential(), MANAGED_PROFILE_USER_ID); in testVerifyCredential_forProfileWithSeparateChallenge_sendsCredentials()429 CREDENTIAL_TYPE_PATTERN, pattern.getCredential(), PRIMARY_USER_ID); in verifyCredential_forPrimaryUserWithUnifiedChallengeProfile_sendsCredentialsForBoth()432 CREDENTIAL_TYPE_PATTERN, pattern.getCredential(), MANAGED_PROFILE_USER_ID); in verifyCredential_forPrimaryUserWithUnifiedChallengeProfile_sendsCredentialsForBoth()505 badCredential.getCredential()[0] ^= 1; in assertVerifyCredentials()515 byte[] oldHash = new VerifyHandle(credential.getCredential(), sid).toBytes(); in initializeStorageWithCredential()
34 assertNotNull(empty.getCredential()); in testEmptyCredential()46 assertTrue(Arrays.equals("3456".getBytes(), pin.getCredential())); in testPinCredential()58 assertTrue(Arrays.equals("password".getBytes(), password.getCredential())); in testPasswordCredential()76 assertTrue(Arrays.equals("12369".getBytes(), pattern.getCredential())); in testPatternCredential()126 password.getCredential(); in testSanitize()
118 byte[] ciphertext = cipher.doFinal(password.getCredential()); in storePassword()
1560 final byte[] secret = credential.isNone() ? null : credential.getCredential(); in sendCredentialsOnUnlockIfRequired()1582 final byte[] secret = credential.isNone() ? null : credential.getCredential(); in sendCredentialsOnChangeIfRequired()1733 savedCredential.getCredential(), credential.getCredential(), userId); in setLockCredentialInternal()1750 credential.getCredential()); in setLockCredentialInternal()1789 updateEncryptionPassword(credential.getStorageCryptType(), credential.getCredential()); in updateEncryptionPasswordIfNeeded()1947 encryptionResult = cipher.doFinal(password.getCredential()); in tieProfileLockToParent()2040 digest.update(credential.getCredential()); in secretFromCredential()2317 userId, 0L /* challenge */, storedHash.hash, credential.getCredential()); in verifyCredential()2337 unlockKeystore(credential.getCredential(), userId); in verifyCredential()
309 credential.isPin(), credential.getCredential()); in isNewCredentialSufficient()
573 response = gatekeeper.enroll(userId, hash, credential.getCredential(), in newSyntheticPasswordAndSid()1371 final byte[] password = credential.isNone() ? DEFAULT_PASSWORD : credential.getCredential(); in computePasswordToken()
173 public byte[] getCredential() { in getCredential() method in LockscreenCredential
200 return PasswordMetrics.computeForPasswordOrPin(credential.getCredential(), in computeForCredential()