Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockscreenFrpTest.java63 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPin()
73 mService.setLockCredential(newPattern("4321"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPattern()
83 mService.setLockCredential(newPassword("4321"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPassword()
93 mService.setLockCredential(newPassword("1234"), nonePassword(), 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()
114 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_cannotVerifyAfterProvsioning()
124 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_legacyPinTypePersistentData()
141 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_legacyPasswordTypePersistentData()
160 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpBlock_isForwardsCompatible()
[all …]
DLockscreenRepairModeTest.java53 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in verifyPin_writeRepairModePW()
66 mService.setLockCredential(newPattern("4321"), nonePassword(), PRIMARY_USER_ID); in verifyPattern_writeRepairModePW()
79 mService.setLockCredential(newPassword("4321"), nonePassword(), PRIMARY_USER_ID); in verifyPassword_writeRepairModePW()
92 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in verifyCredential_writeRepairModePW_repairModeActive()
105 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in deleteRepairModePersistentData()
120 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in verifyPin_userRepairMode()
137 mService.setLockCredential(newPattern("4321"), nonePassword(), PRIMARY_USER_ID); in verifyPattern_userRepairMode()
154 mService.setLockCredential(newPassword("4321"), nonePassword(), PRIMARY_USER_ID); in verifyPassword_userRepairMode()
171 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in verifyCredential_userRepairMode_repairModeIsNotActive()
187 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in verifyCredential_userRepairMode_wrongPin()
DSyntheticPasswordTests.java135 assertTrue(mService.setLockCredential(credential, nonePassword(), userId)); in initSpAndSetCredential()
166 mService.setLockCredential(newPassword("password"), nonePassword(), PRIMARY_USER_ID); in testNonEmptyFrpCredentialSyncedIfDeviceNotProvisioned()
205 mService.setLockCredential(nonePassword(), password, PRIMARY_USER_ID); in testClearCredential()
209 mService.setLockCredential(badPassword, nonePassword(), PRIMARY_USER_ID); in testClearCredential()
267 mService.setLockCredential(nonePassword(), password, PRIMARY_USER_ID); in testUnlockUserKeyIfUnsecuredPassesPrimaryUserAuthSecretIfPasswordIsCleared()
374 mLocalService.setLockCredentialWithToken(nonePassword(), handle, token, PRIMARY_USER_ID); in testTokenBasedClearPassword()
523 mService.setLockCredential(nonePassword(), password, PRIMARY_USER_ID); in testGetHashFactorPrimaryUser()
524 byte[] newHashFactor = mService.getHashFactor(nonePassword(), PRIMARY_USER_ID); in testGetHashFactorPrimaryUser()
536 mService.setLockCredential(pattern, nonePassword(), PRIMARY_USER_ID); in testGetHashFactorManagedProfileUnifiedChallenge()
548 mService.setLockCredential(primaryPassword, nonePassword(), PRIMARY_USER_ID); in testGetHashFactorManagedProfileSeparateChallenge()
[all …]
DLockSettingsServiceTests.java94 mService.setLockCredential(newPattern("123"), nonePassword(), PRIMARY_USER_ID); in testSetTooShortPatternFails()
99 mService.setLockCredential(newPin("123"), nonePassword(), PRIMARY_USER_ID); in testSetTooShortPinFails()
104 mService.setLockCredential(newPassword("123"), nonePassword(), PRIMARY_USER_ID); in testSetTooShortPassword()
109 mService.setLockCredential(newPassword("§µ¿¶¥£"), nonePassword(), PRIMARY_USER_ID); in testSetPasswordWithInvalidChars()
487 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testSetCredentialNotPossibleInSecureFrpModeDuringSuw()
507 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testSetCredentialNotPossibleInSecureFrpModeAfterSuw_FlagOn()
582 mService.setLockCredential(credential, nonePassword(), userId); in testSetCredentialFailsWithoutLockScreen()
633 setCredential(userId, newCredential, nonePassword()); in setCredential()
638 setCredential(userId, nonePassword(), oldCredential); in clearCredential()
DWeakEscrowTokenTests.java79 mService.setLockCredential(password, nonePassword(), PRIMARY_USER_ID); in testWeakTokenActivatedLaterWithUserPassword()
102 mService.setLockCredential(password, nonePassword(), PRIMARY_USER_ID); in testWeakTokensRemovedIfCredentialChanged()
161 mService.setLockCredential(password, nonePassword(), PRIMARY_USER_ID); in testUnlockUserWithToken_weakEscrowToken()
DBaseLockSettingsServiceTests.java394 protected LockscreenCredential nonePassword() { in nonePassword() method in BaseLockSettingsServiceTests