/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | CachedSyntheticPasswordTests.java | 63 final byte[] newPassword = "testSyntheticPasswordClearCredential-newpassword".getBytes(); in testSyntheticPasswordClearCredentialUntrusted() 73 mService.setLockCredential(newPassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, null, in testSyntheticPasswordClearCredentialUntrusted() 75 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential(newPassword, in testSyntheticPasswordClearCredentialUntrusted() 83 final byte[] newPassword = "testSyntheticPasswordClearCredential-newpassword".getBytes(); in testSyntheticPasswordChangeCredentialUntrusted() 88 mService.setLockCredential(newPassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, null, in testSyntheticPasswordChangeCredentialUntrusted() 94 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential(newPassword, in testSyntheticPasswordChangeCredentialUntrusted() 101 final byte[] newPassword = in testUntrustedCredentialChangeMaintainsAuthSecret() 106 mService.setLockCredential(newPassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, null, in testUntrustedCredentialChangeMaintainsAuthSecret() 110 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential(newPassword, in testUntrustedCredentialChangeMaintainsAuthSecret() 123 final byte[] newPassword = in testUntrustedCredentialChangeBlockedIfSpNotCached() [all …]
|
D | SyntheticPasswordTests.java | 140 final byte[] newPassword = "testSyntheticPasswordChangeCredential-newpassword".getBytes(); in testSyntheticPasswordChangeCredential() 144 mService.setLockCredential(newPassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, password, in testSyntheticPasswordChangeCredential() 147 newPassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0, PRIMARY_USER_ID) in testSyntheticPasswordChangeCredential() 208 final byte[] newPassword = in testSyntheticPasswordVerifyPassesPrimaryUserAuthSecret() 400 final byte[] newPassword = "password".getBytes(); in testTokenBasedResetPasswordAfterCredentialChanges() 415 mLocalService.setLockCredentialWithToken(newPassword, in testTokenBasedResetPasswordAfterCredentialChanges() 420 newPassword, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, 0, PRIMARY_USER_ID) in testTokenBasedResetPasswordAfterCredentialChanges()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupPasswordManager.java | 112 boolean setBackupPassword(String currentPassword, String newPassword) { in setBackupPassword() argument 129 if (newPassword == null || newPassword.isEmpty()) { in setBackupPassword() 136 PBKDF_CURRENT, newPassword, salt, PasswordUtils.PBKDF2_HASH_ROUNDS); in setBackupPassword()
|
D | BackupManagerService.java | 762 public boolean setBackupPassword(String currentPassword, String newPassword) { in setBackupPassword() argument 768 && userBackupManagerService.setBackupPassword(currentPassword, newPassword); in setBackupPassword()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccCard.java | 214 public void changeIccLockPassword(String oldPassword, String newPassword, in changeIccLockPassword() argument 230 public void changeIccFdnPassword(String oldPassword, String newPassword, in changeIccFdnPassword() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccCardApplication.java | 829 public void changeIccLockPassword(String oldPassword, String newPassword, in changeIccLockPassword() argument 833 mCi.changeIccPinForApp(oldPassword, newPassword, mAid, in changeIccLockPassword() 849 public void changeIccFdnPassword(String oldPassword, String newPassword, in changeIccFdnPassword() argument 853 mCi.changeIccPin2ForApp(oldPassword, newPassword, mAid, in changeIccFdnPassword()
|
D | UiccProfile.java | 877 public void changeIccLockPassword(String oldPassword, String newPassword, Message onComplete) { in changeIccLockPassword() argument 880 mUiccApplication.changeIccLockPassword(oldPassword, newPassword, onComplete); in changeIccLockPassword() 891 public void changeIccFdnPassword(String oldPassword, String newPassword, Message onComplete) { in changeIccFdnPassword() argument 894 mUiccApplication.changeIccFdnPassword(oldPassword, newPassword, onComplete); in changeIccFdnPassword()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountsDbTest.java | 321 String newPassword = "newPassword"; in testUpdateCeAccountPassword() local 322 mAccountsDb.updateCeAccountPassword(accId, newPassword); in testUpdateCeAccountPassword() 325 assertEquals(newPassword, actualPassword); in testUpdateCeAccountPassword()
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStore.java | 1014 public boolean onUserPasswordChanged(int userId, String newPassword) { in onUserPasswordChanged() argument 1017 if (newPassword == null) { in onUserPasswordChanged() 1018 newPassword = ""; in onUserPasswordChanged() 1021 return mBinder.onUserPasswordChanged(userId, newPassword) == NO_ERROR; in onUserPasswordChanged() 1066 public boolean onUserPasswordChanged(String newPassword) { in onUserPasswordChanged() argument 1067 return onUserPasswordChanged(UserHandle.getUserId(Process.myUid()), newPassword); in onUserPasswordChanged()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 322 byte[] newPassword = new byte[newPasswordChars.length]; in tieManagedProfileLockIfNecessary() 324 newPassword[i] = (byte) newPasswordChars[i]; in tieManagedProfileLockIfNecessary() 328 setLockCredentialInternal(newPassword, CREDENTIAL_TYPE_PASSWORD, managedUserPassword, in tieManagedProfileLockIfNecessary() 334 tieProfileLockToParent(managedUserId, newPassword); in tieManagedProfileLockIfNecessary() 335 Arrays.fill(newPassword, (byte) 0); in tieManagedProfileLockIfNecessary()
|