Home
last modified time | relevance | path

Searched refs:computeForPassword (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java103 PasswordMetrics.computeForPassword("6B~0z1Z3*8A".getBytes()); in testComputeForPassword_metrics()
116 PasswordMetrics.computeForPassword("a1".getBytes()).quality); in testComputeForPassword_quality()
118 PasswordMetrics.computeForPassword("a".getBytes()).quality); in testComputeForPassword_quality()
120 PasswordMetrics.computeForPassword("*~&%$".getBytes()).quality); in testComputeForPassword_quality()
122 PasswordMetrics.computeForPassword("1".getBytes()).quality); in testComputeForPassword_quality()
125 PasswordMetrics.computeForPassword("1234".getBytes()).quality); in testComputeForPassword_quality()
127 PasswordMetrics.computeForPassword("".getBytes()).quality); in testComputeForPassword_quality()
162 metrics0 = PasswordMetrics.computeForPassword("1234abcd,./".getBytes()); in testEquals()
163 metrics1 = PasswordMetrics.computeForPassword("1234abcd,./".getBytes()); in testEquals()
201 PasswordMetrics.computeForPassword("".getBytes()).determineComplexity()); in testDetermineComplexity_none()
[all …]
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java239 return PasswordMetrics.computeForPassword(credential); in computeForCredential()
250 public static PasswordMetrics computeForPassword(@NonNull byte[] password) { in computeForPassword() method in PasswordMetrics
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java977 final int passwordQuality = PasswordMetrics.computeForPassword(password).quality; in saveLockPassword()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java5229 PasswordMetrics.computeForPassword("asdf".getBytes())); in testGetPasswordComplexity_currentUserHasPassword()
5246 PasswordMetrics.computeForPassword("asdf".getBytes())); in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword()
5249 PasswordMetrics.computeForPassword("parentUser".getBytes())); in testGetPasswordComplexity_unifiedChallengeReturnsParentUserPassword()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java5106 final PasswordMetrics metrics = PasswordMetrics.computeForPassword(password.getBytes()); in resetPasswordInternal()