/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTests.java | 84 setAndVerifyCredential(PRIMARY_USER_ID, newPassword("password")); in testSetPasswordPrimaryUser() 89 testSetCredentialFailsWithoutLockScreen(PRIMARY_USER_ID, newPassword("password")); in testSetPasswordFailsWithoutLockScreen() 104 mService.setLockCredential(newPassword("123"), nonePassword(), PRIMARY_USER_ID); in testSetTooShortPassword() 109 mService.setLockCredential(newPassword("§µ¿¶¥£"), nonePassword(), PRIMARY_USER_ID); in testSetPasswordWithInvalidChars() 124 testChangeCredential(PRIMARY_USER_ID, newPattern("78963214"), newPassword("asdfghjk")); in testChangePasswordPrimaryUser() 129 testChangeCredential(PRIMARY_USER_ID, newPassword("password"), newPattern("1596321")); in testChangePatternPrimaryUser() 134 setCredential(PRIMARY_USER_ID, newPassword("password")); in testChangePasswordFailPrimaryUser() 135 assertFalse(mService.setLockCredential(newPassword("newpwd"), newPassword("badpwd"), in testChangePasswordFailPrimaryUser() 137 assertVerifyCredential(PRIMARY_USER_ID, newPassword("password")); in testChangePasswordFailPrimaryUser() 142 setCredential(PRIMARY_USER_ID, newPassword("password")); in testClearPasswordPrimaryUser() [all …]
|
D | SyntheticPasswordTests.java | 106 final LockscreenCredential password = newPassword("user-password"); in testNonNoneLskfBasedProtector() 107 final LockscreenCredential badPassword = newPassword("bad-password"); in testNonNoneLskfBasedProtector() 166 mService.setLockCredential(newPassword("password"), nonePassword(), PRIMARY_USER_ID); in testNonEmptyFrpCredentialSyncedIfDeviceNotProvisioned() 172 final LockscreenCredential password = newPassword("password"); in testChangeCredential() 173 final LockscreenCredential newPassword = newPassword("newpassword"); in testChangeCredential() local 177 mService.setLockCredential(newPassword, password, PRIMARY_USER_ID); in testChangeCredential() 179 newPassword, PRIMARY_USER_ID, 0 /* flags */).getResponseCode()); in testChangeCredential() 185 LockscreenCredential password = newPassword("password"); in testVerifyCredential() 186 LockscreenCredential badPassword = newPassword("badpassword"); in testVerifyCredential() 199 LockscreenCredential password = newPassword("password"); in testClearCredential() [all …]
|
D | LockscreenFrpTest.java | 83 mService.setLockCredential(newPassword("4321"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPassword() 87 mService.verifyCredential(newPassword("4321"), USER_FRP, 0 /* flags */) in testFrpCredential_setPassword() 93 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_changeCredential() 94 mService.setLockCredential(newPattern("5678"), newPassword("1234"), PRIMARY_USER_ID); in testFrpCredential_changeCredential() 104 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_removeCredential() 108 mService.setLockCredential(nonePassword(), newPassword("1234"), PRIMARY_USER_ID); in testFrpCredential_removeCredential() 141 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_legacyPasswordTypePersistentData()
|
D | LockscreenRepairModeTest.java | 79 mService.setLockCredential(newPassword("4321"), nonePassword(), PRIMARY_USER_ID); in verifyPassword_writeRepairModePW() 84 newPassword("4321"), PRIMARY_USER_ID, VERIFY_FLAG_WRITE_REPAIR_MODE_PW) in verifyPassword_writeRepairModePW() 154 mService.setLockCredential(newPassword("4321"), nonePassword(), PRIMARY_USER_ID); in verifyPassword_userRepairMode() 158 newPassword("4321"), PRIMARY_USER_ID, VERIFY_FLAG_WRITE_REPAIR_MODE_PW) in verifyPassword_userRepairMode() 165 mService.verifyCredential(newPassword("4321"), USER_REPAIR_MODE, 0 /* flags */) in verifyPassword_userRepairMode()
|
D | WeakEscrowTokenTests.java | 78 LockscreenCredential password = newPassword("password"); in testWeakTokenActivatedLaterWithUserPassword() 100 LockscreenCredential password = newPassword("password"); in testWeakTokensRemovedIfCredentialChanged() 159 LockscreenCredential password = newPassword("password"); in testUnlockUserWithToken_weakEscrowToken()
|
D | BaseLockSettingsServiceTests.java | 381 protected LockscreenCredential newPassword(String password) { in newPassword() method in BaseLockSettingsServiceTests
|
/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 | 794 public boolean setBackupPassword(String currentPassword, String newPassword) { in setBackupPassword() argument 804 && userBackupManagerService.setBackupPassword(currentPassword, newPassword); in setBackupPassword()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/ |
D | PasswordBouncerViewModel.kt | 99 fun onPasswordInputChanged(newPassword: String) { in <lambda>() 100 if (newPassword.isNotEmpty()) { in <lambda>() 104 _password.value = newPassword in <lambda>()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IccCard.java | 224 public void changeIccLockPassword(String oldPassword, String newPassword, in changeIccLockPassword() argument 240 public void changeIccFdnPassword(String oldPassword, String newPassword, in changeIccFdnPassword() argument
|
D | RadioNetworkProxy.java | 418 String newPassword) throws RemoteException { in setBarringPassword() argument 421 mNetworkProxy.setBarringPassword(serial, facility, oldPassword, newPassword); in setBarringPassword() 423 mRadioProxy.setBarringPassword(serial, facility, oldPassword, newPassword); in setBarringPassword()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccCardApplication.java | 899 public void changeIccLockPassword(String oldPassword, String newPassword, in changeIccLockPassword() argument 903 mCi.changeIccPinForApp(oldPassword, newPassword, mAid, in changeIccLockPassword() 919 public void changeIccFdnPassword(String oldPassword, String newPassword, in changeIccFdnPassword() argument 923 mCi.changeIccPin2ForApp(oldPassword, newPassword, mAid, in changeIccFdnPassword()
|
D | UiccProfile.java | 1070 public void changeIccLockPassword(String oldPassword, String newPassword, Message onComplete) { in changeIccLockPassword() argument 1073 mUiccApplication.changeIccLockPassword(oldPassword, newPassword, onComplete); in changeIccLockPassword() 1084 public void changeIccFdnPassword(String oldPassword, String newPassword, Message onComplete) { in changeIccFdnPassword() argument 1087 mUiccApplication.changeIccFdnPassword(oldPassword, newPassword, onComplete); in changeIccFdnPassword()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountsDbTest.java | 319 String newPassword = "newPassword"; in testUpdateCeAccountPassword() local 320 mAccountsDb.updateCeAccountPassword(accId, newPassword); in testUpdateCeAccountPassword() 323 assertEquals(newPassword, actualPassword); in testUpdateCeAccountPassword()
|
/frameworks/base/core/java/android/app/ |
D | KeyguardManager.java | 1211 public boolean setLock(@LockTypes int newLockType, @Nullable byte[] newPassword, in setLock() argument 1217 newLockType, newPassword)) { in setLock() argument
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 418 byte[] newPassword = new byte[newPasswordChars.length]; in generateRandomProfilePassword() 420 newPassword[i] = (byte) newPasswordChars[i]; in generateRandomProfilePassword() 423 LockscreenCredential.createUnifiedProfilePassword(newPassword); in generateRandomProfilePassword() 425 Arrays.fill(newPassword, (byte) 0); in generateRandomProfilePassword()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ITelephony.aidl | 2270 int changeIccLockPassword(int subId, String oldPassword, String newPassword); in changeIccLockPassword() argument
|