Searched refs:validatePasswordMetrics (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/app/admin/ |
D | PasswordMetricsTest.java | 29 import static android.app.admin.PasswordMetrics.validatePasswordMetrics; 280 validatePasswordMetrics(none, PASSWORD_COMPLEXITY_NONE, none)); in testValidatePasswordMetrics_credentialTypes() 282 validatePasswordMetrics(none, PASSWORD_COMPLEXITY_NONE, pattern)); in testValidatePasswordMetrics_credentialTypes() 284 validatePasswordMetrics(none, PASSWORD_COMPLEXITY_NONE, password)); in testValidatePasswordMetrics_credentialTypes() 286 validatePasswordMetrics(none, PASSWORD_COMPLEXITY_NONE, pin)); in testValidatePasswordMetrics_credentialTypes() 288 validatePasswordMetrics(pattern, PASSWORD_COMPLEXITY_NONE, pattern)); in testValidatePasswordMetrics_credentialTypes() 290 validatePasswordMetrics(pattern, PASSWORD_COMPLEXITY_NONE, password)); in testValidatePasswordMetrics_credentialTypes() 292 validatePasswordMetrics(password, PASSWORD_COMPLEXITY_NONE, password)); in testValidatePasswordMetrics_credentialTypes() 294 validatePasswordMetrics(pin, PASSWORD_COMPLEXITY_NONE, pin)); in testValidatePasswordMetrics_credentialTypes() 298 validatePasswordMetrics(pattern, PASSWORD_COMPLEXITY_NONE, none), in testValidatePasswordMetrics_credentialTypes() [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | PasswordMetrics.java | 519 return validatePasswordMetrics(adminMetrics, minComplexity, actualMetrics); in validateCredential() 532 public static List<PasswordValidationError> validatePasswordMetrics( in validatePasswordMetrics() method in PasswordMetrics
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 5305 PasswordMetrics.validatePasswordMetrics(minMetrics, complexity, metrics); 5362 return PasswordMetrics.validatePasswordMetrics( 5374 return PasswordMetrics.validatePasswordMetrics(PasswordMetrics.merge(adminMetrics), 5412 PasswordMetrics.validatePasswordMetrics(minMetrics, complexity, metrics);
|