Searched refs:maxLengthSequence (Results 1 – 4 of 4) sorted by relevance
132 assertEquals(4, PasswordMetrics.maxLengthSequence("1234".getBytes())); in testMaxLengthSequence()133 assertEquals(5, PasswordMetrics.maxLengthSequence("13579".getBytes())); in testMaxLengthSequence()134 assertEquals(4, PasswordMetrics.maxLengthSequence("1234abd".getBytes())); in testMaxLengthSequence()135 assertEquals(3, PasswordMetrics.maxLengthSequence("aabc".getBytes())); in testMaxLengthSequence()136 assertEquals(1, PasswordMetrics.maxLengthSequence("qwertyuio".getBytes())); in testMaxLengthSequence()137 assertEquals(3, PasswordMetrics.maxLengthSequence("@ABC".getBytes())); in testMaxLengthSequence()139 assertEquals(4, PasswordMetrics.maxLengthSequence(";;;;".getBytes())); in testMaxLengthSequence()141 assertEquals(1, PasswordMetrics.maxLengthSequence(":;<=>".getBytes())); in testMaxLengthSequence()
289 quality = maxLengthSequence(password) > MAX_ALLOWED_SEQUENCE in computeForPassword()342 public static int maxLengthSequence(@NonNull byte[] bytes) { in maxLengthSequence() method in PasswordMetrics
2557 HSPLandroid/app/admin/PasswordMetrics;->maxLengthSequence([B)I
3426 Landroid/app/admin/PasswordMetrics;->maxLengthSequence(Ljava/lang/String;)I