Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java21 import static android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_MEDIUM;
236 assertEquals(PASSWORD_COMPLEXITY_MEDIUM, in testDetermineComplexity_mediumNumericComplex()
242 assertEquals(PASSWORD_COMPLEXITY_MEDIUM, in testDetermineComplexity_mediumAlphabetic()
248 assertEquals(PASSWORD_COMPLEXITY_MEDIUM, in testDetermineComplexity_mediumAlphanumeric()
284 PASSWORD_COMPLEXITY_MEDIUM, sanitizeComplexityLevel(PASSWORD_COMPLEXITY_MEDIUM)); in testSanitizeComplexityLevel_medium()
312 complexityLevelToMinQuality(PASSWORD_COMPLEXITY_MEDIUM)); in testComplexityLevelToMinQuality_medium()
337 getTargetQualityMetrics(PASSWORD_COMPLEXITY_MEDIUM, PASSWORD_QUALITY_NUMERIC); in testGetTargetQualityMetrics_qualityNotAllowedReturnsMinQualityMetrics()
355 PASSWORD_COMPLEXITY_MEDIUM, PASSWORD_QUALITY_ALPHABETIC); in testGetTargetQualityMetrics_mediumComplexityAlphabetic()
364 PASSWORD_COMPLEXITY_MEDIUM, PASSWORD_QUALITY_ALPHANUMERIC); in testGetTargetQualityMetrics_lowComplexityAlphanumeric()
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java21 import static android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_MEDIUM;
444 PASSWORD_COMPLEXITY_MEDIUM,
DDevicePolicyManager.java1499 public static final int PASSWORD_COMPLEXITY_MEDIUM = 0x30000; field in DevicePolicyManager
1525 PASSWORD_COMPLEXITY_MEDIUM,
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java25 import static android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_MEDIUM;
5231 assertEquals(PASSWORD_COMPLEXITY_MEDIUM, dpm.getPasswordComplexity()); in testGetPasswordComplexity_currentUserHasPassword()