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.java30 import static android.app.admin.PasswordMetrics.complexityLevelToMinQuality;
300 complexityLevelToMinQuality(PASSWORD_COMPLEXITY_NONE)); in testComplexityLevelToMinQuality_none()
306 complexityLevelToMinQuality(PASSWORD_COMPLEXITY_LOW)); in testComplexityLevelToMinQuality_low()
312 complexityLevelToMinQuality(PASSWORD_COMPLEXITY_MEDIUM)); in testComplexityLevelToMinQuality_medium()
318 complexityLevelToMinQuality(PASSWORD_COMPLEXITY_HIGH)); in testComplexityLevelToMinQuality_high()
323 assertEquals(PASSWORD_QUALITY_UNSPECIFIED, complexityLevelToMinQuality(-1)); in testComplexityLevelToMinQuality_invalid()
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java100 public static int complexityLevelToMinQuality(@PasswordComplexity int complexityLevel) { in complexityLevelToMinQuality() method in PasswordMetrics