Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java26 import static android.app.admin.PasswordMetrics.complexityLevelToMinQuality;
234 complexityLevelToMinQuality(PASSWORD_COMPLEXITY_NONE)); in testComplexityLevelToMinQuality_none()
240 complexityLevelToMinQuality(PASSWORD_COMPLEXITY_LOW)); in testComplexityLevelToMinQuality_low()
246 complexityLevelToMinQuality(PASSWORD_COMPLEXITY_MEDIUM)); in testComplexityLevelToMinQuality_medium()
252 complexityLevelToMinQuality(PASSWORD_COMPLEXITY_HIGH)); in testComplexityLevelToMinQuality_high()
257 assertEquals(PASSWORD_QUALITY_UNSPECIFIED, complexityLevelToMinQuality(-1)); in testComplexityLevelToMinQuality_invalid()
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java379 public static int complexityLevelToMinQuality(int complexity) { in complexityLevelToMinQuality() method in PasswordMetrics