Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java132 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()
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java289 quality = maxLengthSequence(password) > MAX_ALLOWED_SEQUENCE in computeForPassword()
342 public static int maxLengthSequence(@NonNull byte[] bytes) { in maxLengthSequence() method in PasswordMetrics
/frameworks/base/config/
Dboot-image-profile.txt2557 HSPLandroid/app/admin/PasswordMetrics;->maxLengthSequence([B)I
Dhiddenapi-greylist-max-o.txt3426 Landroid/app/admin/PasswordMetrics;->maxLengthSequence(Ljava/lang/String;)I