Home
last modified time | relevance | path

Searched refs:nonePassword (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockscreenFrpTest.java51 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPin()
61 mService.setLockCredential(newPattern("4321"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPattern()
71 mService.setLockCredential(newPassword("4321"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPassword()
81 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_changeCredential()
92 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_removeCredential()
95 mService.setLockCredential(nonePassword(), newPassword("1234"), PRIMARY_USER_ID); in testFrpCredential_removeCredential()
101 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_cannotVerifyAfterProvsioning()
111 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_legacyPinTypePersistentData()
128 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_legacyPasswordTypePersistentData()
DLockSettingsServiceTests.java103 assertTrue(mService.setLockCredential(nonePassword(), newPassword("password"), in testClearPasswordPrimaryUser()
114 nonePassword(), PRIMARY_USER_ID)); in testManagedProfileUnifiedChallenge()
155 assertTrue(mService.setLockCredential(nonePassword(), in testManagedProfileUnifiedChallenge()
167 nonePassword(), in testManagedProfileSeparateChallenge()
175 nonePassword(), in testManagedProfileSeparateChallenge()
220 newPassword("12345678"), nonePassword(), MANAGED_PROFILE_USER_ID)); in testManagedProfileChallengeUnification_parentUserNoPassword()
235 nonePassword(), in testSetLockCredential_forPrimaryUser_sendsCredentials()
248 nonePassword(), in testSetLockCredential_forProfileWithSeparateChallenge_sendsCredentials()
282 nonePassword(), in testSetLockCredential_forProfileWithUnifiedChallenge_doesNotSendRandomCredential()
321 nonePassword(), in testSetLockCredential_forPrimaryUserWithUnifiedChallengeProfile_removesBothCredentials()
[all …]
DSyntheticPasswordTests.java108 assertTrue(mService.setLockCredential(password, nonePassword(), userId)); in initializeCredentialUnderSP()
147 mService.setLockCredential(nonePassword(), password, PRIMARY_USER_ID); in testSyntheticPasswordClearCredential()
151 mService.setLockCredential(badPassword, nonePassword(), PRIMARY_USER_ID); in testSyntheticPasswordClearCredential()
217 mService.setLockCredential(nonePassword(), password, PRIMARY_USER_ID); in testSyntheticPasswordButNoCredentialPassesAuthSecret()
275 mLocalService.setLockCredentialWithToken(nonePassword(), handle, token, PRIMARY_USER_ID); in testTokenBasedClearPassword()
328 assertTrue(mService.setLockCredential(nonePassword(), newPassword("password"), in testEscrowTokenActivatedImmediatelyIfNoUserPasswordNoMigration()
345 mService.setLockCredential(password, nonePassword(), PRIMARY_USER_ID); in testEscrowTokenActivatedLaterWithUserPasswordNeedsMigration()
432 mService.setLockCredential(password, nonePassword(), PRIMARY_USER_ID); in testGetHashFactorPrimaryUser()
436 mService.setLockCredential(nonePassword(), password, PRIMARY_USER_ID); in testGetHashFactorPrimaryUser()
437 byte[] newHashFactor = mService.getHashFactor(nonePassword(), PRIMARY_USER_ID); in testGetHashFactorPrimaryUser()
[all …]
DBaseLockSettingsServiceTests.java326 protected LockscreenCredential nonePassword() { in nonePassword() method in BaseLockSettingsServiceTests