Searched refs:complexityLevelToMinQuality (Results 1 – 2 of 2) sorted by relevance
30 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()
100 public static int complexityLevelToMinQuality(@PasswordComplexity int complexityLevel) { in complexityLevelToMinQuality() method in PasswordMetrics