Searched refs:hasInvalidChars (Results 1 – 4 of 4) sorted by relevance
49 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()
88 private LockscreenCredential(int type, byte[] credential, boolean hasInvalidChars) { in LockscreenCredential() argument107 mHasInvalidChars = hasInvalidChars; in LockscreenCredential()111 this(type, charsToBytesTruncating(credential), hasInvalidChars(credential)); in LockscreenCredential()232 public boolean hasInvalidChars() { in hasInvalidChars() method in LockscreenCredential408 private static boolean hasInvalidChars(CharSequence chars) { in hasInvalidChars() method in LockscreenCredential
389 assertTrue(password.hasInvalidChars()); in testValidateCredential_password()
514 if (credential.hasInvalidChars()) { in validateCredential()