Home
last modified time | relevance | path

Searched refs:getTargetQualityMetrics (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java33 import static android.app.admin.PasswordMetrics.getTargetQualityMetrics;
329 getTargetQualityMetrics(PASSWORD_COMPLEXITY_NONE, PASSWORD_QUALITY_ALPHANUMERIC); in testGetTargetQualityMetrics_noneComplexityReturnsDefaultMetrics()
337 getTargetQualityMetrics(PASSWORD_COMPLEXITY_MEDIUM, PASSWORD_QUALITY_NUMERIC); in testGetTargetQualityMetrics_qualityNotAllowedReturnsMinQualityMetrics()
345 PasswordMetrics metrics = getTargetQualityMetrics( in testGetTargetQualityMetrics_highComplexityNumericComplex()
354 PasswordMetrics metrics = getTargetQualityMetrics( in testGetTargetQualityMetrics_mediumComplexityAlphabetic()
363 PasswordMetrics metrics = getTargetQualityMetrics( in testGetTargetQualityMetrics_lowComplexityAlphanumeric()
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java128 return getTargetQualityMetrics(complexityLevel, targetQuality); in getMinimumMetrics()
140 public static PasswordMetrics getTargetQualityMetrics( in getTargetQualityMetrics() method in PasswordMetrics