Home
last modified time | relevance | path

Searched refs:newPassword (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTests.java84 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 …]
DSyntheticPasswordTests.java106 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 …]
DLockscreenFrpTest.java83 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()
DLockscreenRepairModeTest.java79 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()
DWeakEscrowTokenTests.java78 LockscreenCredential password = newPassword("password"); in testWeakTokenActivatedLaterWithUserPassword()
100 LockscreenCredential password = newPassword("password"); in testWeakTokensRemovedIfCredentialChanged()
159 LockscreenCredential password = newPassword("password"); in testUnlockUserWithToken_weakEscrowToken()
DBaseLockSettingsServiceTests.java381 protected LockscreenCredential newPassword(String password) { in newPassword() method in BaseLockSettingsServiceTests
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupPasswordManager.java112 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()
DBackupManagerService.java794 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/
DPasswordBouncerViewModel.kt99 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/
DIccCard.java224 public void changeIccLockPassword(String oldPassword, String newPassword, in changeIccLockPassword() argument
240 public void changeIccFdnPassword(String oldPassword, String newPassword, in changeIccFdnPassword() argument
DRadioNetworkProxy.java418 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/
DUiccCardApplication.java899 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()
DUiccProfile.java1070 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/
DAccountsDbTest.java319 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/
DKeyguardManager.java1211 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/
DLockSettingsService.java418 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/
DITelephony.aidl2270 int changeIccLockPassword(int subId, String oldPassword, String newPassword); in changeIccLockPassword() argument