Searched refs:complexityLevelToMinQuality (Results 1 – 2 of 2) sorted by relevance
26 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()
379 public static int complexityLevelToMinQuality(int complexity) { in complexityLevelToMinQuality() method in PasswordMetrics