Searched refs:newCredential (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockSettingsServiceTests.java | 255 final byte[] newCredential = "newPassword".getBytes(); in testSetLockCredential_forProfileWithSeparateChallenge_updatesCredentials() 263 newCredential, in testSetLockCredential_forProfileWithSeparateChallenge_updatesCredentials() 272 CREDENTIAL_TYPE_PASSWORD, newCredential, MANAGED_PROFILE_USER_ID); in testSetLockCredential_forProfileWithSeparateChallenge_updatesCredentials() 296 final byte[] newCredential = "newPassword".getBytes(); in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials() 302 newCredential, in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials() 310 .lockScreenSecretChanged(CREDENTIAL_TYPE_PASSWORD, newCredential, PRIMARY_USER_ID); in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials() 313 CREDENTIAL_TYPE_PASSWORD, newCredential, MANAGED_PROFILE_USER_ID); in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_updatesBothCredentials() 460 private void testChangeCredentials(int userId, String newCredential, int newType, in testChangeCredentials() argument 464 mService.setLockCredential(newCredential.getBytes(), newType, oldCredential.getBytes(), in testChangeCredentials() 466 assertVerifyCredentials(userId, newCredential, newType, sid); in testChangeCredentials()
|