Searched refs:newCredential (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTests.java | 302 final LockscreenCredential newCredential = newPassword("newPassword"); in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials() local 308 newCredential, in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials() 313 .lockScreenSecretChanged(CREDENTIAL_TYPE_PASSWORD, newCredential.getCredential(), in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials() 316 .lockScreenSecretChanged(CREDENTIAL_TYPE_PASSWORD, newCredential.getCredential(), in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials() 484 private void testChangeCredentials(int userId, LockscreenCredential newCredential, in testChangeCredentials() argument 488 assertTrue(mService.setLockCredential(newCredential, oldCredential, userId)); in testChangeCredentials() 489 assertVerifyCredentials(userId, newCredential, sid); in testChangeCredentials()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 694 public boolean setLockCredential(@NonNull LockscreenCredential newCredential, in setLockCredential() argument 696 if (!hasSecureLockScreen() && newCredential.getType() != CREDENTIAL_TYPE_NONE) { in setLockCredential() 700 newCredential.checkLength(); in setLockCredential() 703 if (!getLockSettings().setLockCredential(newCredential, savedCredential, userHandle)) { in setLockCredential()
|
/frameworks/base/core/java/android/app/ |
D | KeyguardManager.java | 1044 LockscreenCredential newCredential = createLockscreenCredential( in setLock() local 1046 return mLockPatternUtils.setLockCredential(newCredential, currentCredential, userId); in setLock()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 1802 private void onPostPasswordChanged(LockscreenCredential newCredential, int userHandle) { in onPostPasswordChanged() argument 1804 shouldEncryptWithCredentials() && newCredential.isNone()) { in onPostPasswordChanged() 1807 if (newCredential.isPattern()) { in onPostPasswordChanged() 1810 updatePasswordHistory(newCredential, userHandle); in onPostPasswordChanged() 2468 private void notifyPasswordChanged(LockscreenCredential newCredential, @UserIdInt int userId) { in notifyPasswordChanged() argument 2471 PasswordMetrics.computeForCredential(newCredential), in notifyPasswordChanged()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 5077 final LockscreenCredential newCredential; 5079 newCredential = LockscreenCredential.createPin(password); 5081 newCredential = LockscreenCredential.createPasswordOrNone(password); 5085 if (!mLockPatternUtils.setLockCredential(newCredential, 5090 if (!mLockPatternUtils.setLockCredentialWithToken(newCredential, tokenHandle,
|