Home
last modified time | relevance | path

Searched refs:newPattern (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTests.java72 testCreateCredential(PRIMARY_USER_ID, newPattern("123456789")); in testCreatePatternPrimaryUser()
77 testCreateCredentialFailsWithoutLockScreen(PRIMARY_USER_ID, newPattern("123456789")); in testCreatePatternFailsWithoutLockScreen()
82 testChangeCredentials(PRIMARY_USER_ID, newPattern("78963214"), newPassword("asdfghjk")); in testChangePasswordPrimaryUser()
87 testChangeCredentials(PRIMARY_USER_ID, newPassword("!£$%^&*(())"), newPattern("1596321")); in testChangePatternPrimaryUser()
247 newPattern("12345"), in testSetLockCredential_forProfileWithSeparateChallenge_sendsCredentials()
262 newPattern("12345"), in testSetLockCredential_forProfileWithSeparateChallenge_updatesCredentials()
267 newPattern("12345"), in testSetLockCredential_forProfileWithSeparateChallenge_updatesCredentials()
281 newPattern("12345"), in testSetLockCredential_forProfileWithUnifiedChallenge_doesNotSendRandomCredential()
335 newPattern("123654"), in testSetLockCredential_nullCredential_removeBiometrics()
339 mService.setLockCredential(nonePassword(), newPattern("123654"), PRIMARY_USER_ID); in testSetLockCredential_nullCredential_removeBiometrics()
[all …]
DLockscreenFrpTest.java61 mService.setLockCredential(newPattern("4321"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPattern()
65 mService.verifyCredential(newPattern("4321"), USER_FRP, 0 /* flags */) in testFrpCredential_setPattern()
82 mService.setLockCredential(newPattern("5678"), newPassword("1234"), PRIMARY_USER_ID); in testFrpCredential_changeCredential()
86 mService.verifyCredential(newPattern("5678"), USER_FRP, 0 /* flags */) in testFrpCredential_changeCredential()
DSyntheticPasswordTests.java228 LockscreenCredential pattern = newPattern("123654"); in testTokenBasedResetPassword()
263 LockscreenCredential pattern = newPattern("123654"); in testTokenBasedClearPassword()
288 LockscreenCredential pattern = newPattern("123654"); in testTokenBasedResetPasswordAfterCredentialChanges()
378 LockscreenCredential pattern = newPattern("123654"); in testActivateMultipleEscrowTokens()
404 LockscreenCredential pattern = newPattern("123654"); in testSetLockCredentialWithTokenFailsWithoutLockScreen()
445 LockscreenCredential pattern = newPattern("1236"); in testGetHashFactorManagedProfileUnifiedChallenge()
DBaseLockSettingsServiceTests.java321 protected LockscreenCredential newPattern(String pattern) { in newPattern() method in BaseLockSettingsServiceTests
/frameworks/base/media/java/android/media/
DMediaCodec.java2826 public void setPattern(Pattern newPattern) {
2827 if (newPattern == null) {
2828 newPattern = ZERO_PATTERN;
2830 setPattern(newPattern.getEncryptBlocks(), newPattern.getSkipBlocks());