Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java201 PasswordMetrics.computeForPassword("".getBytes()).determineComplexity()); in testDetermineComplexity_none()
207 new PasswordMetrics(PASSWORD_QUALITY_SOMETHING).determineComplexity()); in testDetermineComplexity_lowSomething()
213 PasswordMetrics.computeForPassword("1234".getBytes()).determineComplexity()); in testDetermineComplexity_lowNumeric()
219 PasswordMetrics.computeForPassword("124".getBytes()).determineComplexity()); in testDetermineComplexity_lowNumericComplex()
225 PasswordMetrics.computeForPassword("a!".getBytes()).determineComplexity()); in testDetermineComplexity_lowAlphabetic()
231 PasswordMetrics.computeForPassword("a!1".getBytes()).determineComplexity()); in testDetermineComplexity_lowAlphanumeric()
237 PasswordMetrics.computeForPassword("1238".getBytes()).determineComplexity()); in testDetermineComplexity_mediumNumericComplex()
243 PasswordMetrics.computeForPassword("ab!c".getBytes()).determineComplexity()); in testDetermineComplexity_mediumAlphabetic()
249 PasswordMetrics.computeForPassword("ab!1".getBytes()).determineComplexity()); in testDetermineComplexity_mediumAlphanumeric()
255 PasswordMetrics.computeForPassword("12389647!".getBytes()).determineComplexity()); in testDetermineComplexity_highNumericComplex()
[all …]
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java409 public int determineComplexity() { in determineComplexity() method in PasswordMetrics
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4869 return metrics == null ? PASSWORD_COMPLEXITY_NONE : metrics.determineComplexity(); in getPasswordComplexity()