Home
last modified time | relevance | path

Searched refs:getCredential (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTests.java306 .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()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockscreenCredentialTest.java34 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()
/frameworks/base/services/core/java/com/android/server/locksettings/
DManagedProfilePasswordCache.java118 byte[] ciphertext = cipher.doFinal(password.getCredential()); in storePassword()
DLockSettingsService.java1560 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()
DLockSettingsShellCommand.java309 credential.isPin(), credential.getCredential()); in isNewCredentialSufficient()
DSyntheticPasswordManager.java573 response = gatekeeper.enroll(userId, hash, credential.getCredential(), in newSyntheticPasswordAndSid()
1371 final byte[] password = credential.isNone() ? DEFAULT_PASSWORD : credential.getCredential(); in computePasswordToken()
/frameworks/base/core/java/com/android/internal/widget/
DLockscreenCredential.java173 public byte[] getCredential() { in getCredential() method in LockscreenCredential
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java200 return PasswordMetrics.computeForPasswordOrPin(credential.getCredential(), in computeForCredential()