Searched refs:validatePasswordMetrics (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/app/admin/ |
D | PasswordMetricsTest.java | 28 import static android.app.admin.PasswordMetrics.validatePasswordMetrics; 296 validatePasswordMetrics(none, PASSWORD_COMPLEXITY_NONE, none)); in testValidatePasswordMetrics_credentialTypes() 298 validatePasswordMetrics(none, PASSWORD_COMPLEXITY_NONE, pattern)); in testValidatePasswordMetrics_credentialTypes() 300 validatePasswordMetrics(none, PASSWORD_COMPLEXITY_NONE, password)); in testValidatePasswordMetrics_credentialTypes() 302 validatePasswordMetrics(none, PASSWORD_COMPLEXITY_NONE, pin)); in testValidatePasswordMetrics_credentialTypes() 304 validatePasswordMetrics(pattern, PASSWORD_COMPLEXITY_NONE, pattern)); in testValidatePasswordMetrics_credentialTypes() 306 validatePasswordMetrics(pattern, PASSWORD_COMPLEXITY_NONE, password)); in testValidatePasswordMetrics_credentialTypes() 308 validatePasswordMetrics(password, PASSWORD_COMPLEXITY_NONE, password)); in testValidatePasswordMetrics_credentialTypes() 310 validatePasswordMetrics(pin, PASSWORD_COMPLEXITY_NONE, pin)); in testValidatePasswordMetrics_credentialTypes() 314 validatePasswordMetrics(pattern, PASSWORD_COMPLEXITY_NONE, none), in testValidatePasswordMetrics_credentialTypes() [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | PasswordMetrics.java | 534 return validatePasswordMetrics(adminMetrics, minComplexity, enteredMetrics); in validatePassword() 547 public static List<PasswordValidationError> validatePasswordMetrics( in validatePasswordMetrics() method in PasswordMetrics
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsShellCommand.java | 313 errors = PasswordMetrics.validatePasswordMetrics( in isNewCredentialSufficient()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 4654 PasswordMetrics.validatePasswordMetrics(minMetrics, complexity, metrics); 4706 return PasswordMetrics.validatePasswordMetrics(PasswordMetrics.merge(adminMetrics), 4743 PasswordMetrics.validatePasswordMetrics(minMetrics, complexity, metrics); 5094 validationErrors = PasswordMetrics.validatePasswordMetrics(
|