Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java112 assertEquals(4, PasswordMetrics.maxLengthSequence("1234")); in testMaxLengthSequence()
113 assertEquals(5, PasswordMetrics.maxLengthSequence("13579")); in testMaxLengthSequence()
114 assertEquals(4, PasswordMetrics.maxLengthSequence("1234abd")); in testMaxLengthSequence()
115 assertEquals(3, PasswordMetrics.maxLengthSequence("aabc")); in testMaxLengthSequence()
116 assertEquals(1, PasswordMetrics.maxLengthSequence("qwertyuio")); in testMaxLengthSequence()
117 assertEquals(3, PasswordMetrics.maxLengthSequence("@ABC")); in testMaxLengthSequence()
119 assertEquals(4, PasswordMetrics.maxLengthSequence(";;;;")); in testMaxLengthSequence()
121 assertEquals(1, PasswordMetrics.maxLengthSequence(":;<=>")); in testMaxLengthSequence()
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java149 quality = maxLengthSequence(password) > MAX_ALLOWED_SEQUENCE in computeForPassword()
193 public static int maxLengthSequence(@NonNull String string) { in maxLengthSequence() method in PasswordMetrics
/frameworks/base/config/
Dboot-image-profile.txt932 HPLandroid/app/admin/PasswordMetrics;->maxLengthSequence(Ljava/lang/String;)I