Home
last modified time | relevance | path

Searched refs:isPin (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockscreenCredentialTest.java36 assertFalse(empty.isPin()); in testEmptyCredential()
44 assertTrue(pin.isPin()); in testPinCredential()
61 assertFalse(password.isPin()); in testPasswordCredential()
79 assertFalse(pattern.isPin()); in testPatternCredential()
114 password.isPin(); in testSanitize()
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java199 if (credential.isPassword() || credential.isPin()) { in computeForCredential()
201 credential.isPin()); in computeForCredential()
214 public static PasswordMetrics computeForPasswordOrPin(byte[] password, boolean isPin) { in computeForPasswordOrPin() argument
248 final int credType = isPin ? CREDENTIAL_TYPE_PIN : CREDENTIAL_TYPE_PASSWORD; in computeForPasswordOrPin()
526 PasswordMetrics adminMetrics, int minComplexity, boolean isPin, byte[] password) { in validatePassword() argument
533 final PasswordMetrics enteredMetrics = computeForPasswordOrPin(password, isPin); in validatePassword()
/frameworks/base/core/java/com/android/internal/widget/
DLockscreenCredential.java190 if (isPin()) { in getStorageCryptType()
212 public boolean isPin() { in isPin() method in LockscreenCredential
261 if (isPassword() || isPin()) { in checkLength()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsShellCommand.java307 if (credential.isPassword() || credential.isPin()) { in isNewCredentialSufficient()
309 credential.isPin(), credential.getCredential()); in isNewCredentialSufficient()
/frameworks/base/core/java/android/app/
DKeyguardManager.java754 public int getMinLockLength(boolean isPin, @PasswordComplexity int complexity) { in getMinLockLength() argument
765 PasswordMetrics.applyComplexity(adminMetrics, isPin, complexity); in getMinLockLength()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTests.java494 } else if (credential.isPin()) { in assertVerifyCredentials()
519 if (credential.isPassword() || credential.isPin()) { in initializeStorageWithCredential()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java5087 final boolean isPin = PasswordMetrics.isNumericOnly(password);
5099 minMetrics, complexity, isPin, password.getBytes());
5126 if (isPin) {