Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java125 public static int sanitizeComplexityLevel(@PasswordComplexity int complexityLevel) { in sanitizeComplexityLevel() argument
126 switch (complexityLevel) { in sanitizeComplexityLevel()
131 return complexityLevel; in sanitizeComplexityLevel()
133 Log.w(TAG, "Invalid password complexity used: " + complexityLevel); in sanitizeComplexityLevel()
457 ComplexityBucket(int complexityLevel) { in ComplexityBucket() argument
458 this.mComplexityLevel = complexityLevel; in ComplexityBucket()
461 static ComplexityBucket forComplexity(int complexityLevel) { in forComplexity() argument
463 if (bucket.mComplexityLevel == complexityLevel) { in forComplexity()
467 throw new IllegalArgumentException("Invalid complexity level: " + complexityLevel); in forComplexity()