Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DLockscreenCredentialTest.java49 assertFalse(none.hasInvalidChars()); in testNoneCredential()
64 assertFalse(pin.hasInvalidChars()); in testPinCredential()
79 assertFalse(password.hasInvalidChars()); in testPasswordCredential()
100 assertFalse(pattern.hasInvalidChars()); in testPatternCredential()
151 assertTrue(credential.hasInvalidChars()); in testPasswordWithInvalidChars()
163 assertTrue(pin.hasInvalidChars()); in testPinWithInvalidChars()
196 password.hasInvalidChars(); in testSanitize()
/frameworks/base/core/java/com/android/internal/widget/
DLockscreenCredential.java88 private LockscreenCredential(int type, byte[] credential, boolean hasInvalidChars) { in LockscreenCredential() argument
107 mHasInvalidChars = hasInvalidChars; in LockscreenCredential()
111 this(type, charsToBytesTruncating(credential), hasInvalidChars(credential)); in LockscreenCredential()
232 public boolean hasInvalidChars() { in hasInvalidChars() method in LockscreenCredential
408 private static boolean hasInvalidChars(CharSequence chars) { in hasInvalidChars() method in LockscreenCredential
/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java389 assertTrue(password.hasInvalidChars()); in testValidateCredential_password()
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java514 if (credential.hasInvalidChars()) { in validateCredential()