Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java22 import static android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_NONE;
126 assertEquals(PASSWORD_COMPLEXITY_NONE, in testDetermineComplexity_none()
190 assertEquals(PASSWORD_COMPLEXITY_NONE, sanitizeComplexityLevel(PASSWORD_COMPLEXITY_NONE)); in testSanitizeComplexityLevel_none()
212 assertEquals(PASSWORD_COMPLEXITY_NONE, sanitizeComplexityLevel(-1)); in testSanitizeComplexityLevel_invalid()
218 complexityLevelToMinQuality(PASSWORD_COMPLEXITY_NONE)); in testComplexityLevelToMinQuality_none()
280 validatePasswordMetrics(none, PASSWORD_COMPLEXITY_NONE, none)); in testValidatePasswordMetrics_credentialTypes()
282 validatePasswordMetrics(none, PASSWORD_COMPLEXITY_NONE, pattern)); in testValidatePasswordMetrics_credentialTypes()
284 validatePasswordMetrics(none, PASSWORD_COMPLEXITY_NONE, password)); in testValidatePasswordMetrics_credentialTypes()
286 validatePasswordMetrics(none, PASSWORD_COMPLEXITY_NONE, pin)); in testValidatePasswordMetrics_credentialTypes()
288 validatePasswordMetrics(pattern, PASSWORD_COMPLEXITY_NONE, pattern)); in testValidatePasswordMetrics_credentialTypes()
[all …]
/frameworks/opt/car/setupwizard/library/utils/src/com/android/car/setupwizardlib/
DInitialLockSetupConstants.java87 PasswordComplexity.PASSWORD_COMPLEXITY_NONE,
93 int PASSWORD_COMPLEXITY_NONE = 0; field
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java23 import static android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_NONE;
130 case PASSWORD_COMPLEXITY_NONE: in sanitizeComplexityLevel()
134 return PASSWORD_COMPLEXITY_NONE; in sanitizeComplexityLevel()
373 case PASSWORD_COMPLEXITY_NONE: in complexityLevelToMinQuality()
434 BUCKET_NONE(PASSWORD_COMPLEXITY_NONE) { in BUCKET_NONE() argument
DDevicePolicyManager.java2386 public static final int PASSWORD_COMPLEXITY_NONE = 0; field in DevicePolicyManager
2470 PASSWORD_COMPLEXITY_NONE,
5815 return PASSWORD_COMPLEXITY_NONE; in getPasswordComplexity()
5907 return PASSWORD_COMPLEXITY_NONE; in getRequiredPasswordComplexity()
5941 return PASSWORD_COMPLEXITY_NONE; in getAggregatedPasswordComplexityForUser()
/frameworks/proto_logging/stats/enums/devicepolicy/
Denums.proto40 COMPLEXITY_NONE = 1; // If password complexity is PASSWORD_COMPLEXITY_NONE
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DActiveAdmin.java20 import static android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_NONE;
197 int mPasswordComplexity = PASSWORD_COMPLEXITY_NONE;
637 if (mPasswordComplexity != PASSWORD_COMPLEXITY_NONE) { in writeToXml()
DPolicyDefinition.java380 DevicePolicyManager.PASSWORD_COMPLEXITY_NONE))),
DDevicePolicyManagerService.java172 import static android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_NONE;
3432 if (admin.mPasswordComplexity != PASSWORD_COMPLEXITY_NONE) {
3441 && parentAdmin.mPasswordComplexity != PASSWORD_COMPLEXITY_NONE) {
4296 hasComplexitySet = complexity != null && complexity != PASSWORD_COMPLEXITY_NONE;
4300 hasComplexitySet = primaryAdmin.mPasswordComplexity != PASSWORD_COMPLEXITY_NONE;
4317 ap.mPasswordComplexity = PASSWORD_COMPLEXITY_NONE;
5365 ? maxRequiredComplexity : PASSWORD_COMPLEXITY_NONE,
5368 int maxRequiredComplexity = PASSWORD_COMPLEXITY_NONE;
5452 return metrics == null ? PASSWORD_COMPLEXITY_NONE : metrics.determineComplexity();
5462 final Set<Integer> allowedModes = Set.of(PASSWORD_COMPLEXITY_NONE, PASSWORD_COMPLEXITY_LOW,
[all …]
/frameworks/base/core/java/android/app/
DKeyguardManager.java1221 DevicePolicyManager.PASSWORD_COMPLEXITY_NONE, newCredential); in setLock()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java557 if (aggregatedComplexity > DevicePolicyManager.PASSWORD_COMPLEXITY_NONE) { in checkIfPasswordQualityIsSet()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java42 import static android.app.admin.DevicePolicyManager.PASSWORD_COMPLEXITY_NONE;
6884 assertThat(dpm.getPasswordComplexity()).isEqualTo(PASSWORD_COMPLEXITY_NONE); in testGetPasswordComplexity_securityExceptionNotThrownForParentInstance()
6916 assertThat(dpm.getPasswordComplexity()).isEqualTo(PASSWORD_COMPLEXITY_NONE); in testGetPasswordComplexity_currentUserNoPassword()
7616 final Set<Integer> allowedModes = Set.of(PASSWORD_COMPLEXITY_NONE, PASSWORD_COMPLEXITY_LOW, in testSetRequiredPasswordComplexity_validValuesOnly()
7631 final Set<Integer> allowedModes = Set.of(PASSWORD_COMPLEXITY_NONE, PASSWORD_COMPLEXITY_LOW, in testSetRequiredPasswordComplexity_setAndGet()
7650 final Set<Integer> allowedModes = Set.of(PASSWORD_COMPLEXITY_NONE, PASSWORD_COMPLEXITY_LOW, in testSetRequiredPasswordComplexityOnParent_setAndGet()
7656 assertThat(dpm.getRequiredPasswordComplexity()).isEqualTo(PASSWORD_COMPLEXITY_NONE); in testSetRequiredPasswordComplexityOnParent_setAndGet()
7673 assertThat(dpm.getPasswordComplexity()).isEqualTo(PASSWORD_COMPLEXITY_NONE); in testSetRequiredPasswordComplexity_isSufficient()
7700 assertThat(dpm.getRequiredPasswordComplexity()).isEqualTo(PASSWORD_COMPLEXITY_NONE); in testSetRequiredPasswordComplexity_resetBySettingQuality()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt8405 field public static final int PASSWORD_COMPLEXITY_NONE = 0; // 0x0