Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
DDeviceOwnerPasswordTest.java18 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_COMPLEX;
176 dpm.setPasswordQuality(mAdminComponent, PASSWORD_QUALITY_COMPLEX); in testPasswordQuality_complexUpperCase()
177 assertEquals(PASSWORD_QUALITY_COMPLEX, dpm.getPasswordQuality(mAdminComponent)); in testPasswordQuality_complexUpperCase()
207 dpm.setPasswordQuality(mAdminComponent, PASSWORD_QUALITY_COMPLEX); in testPasswordQuality_complexLowerCase()
208 assertEquals(PASSWORD_QUALITY_COMPLEX, dpm.getPasswordQuality(mAdminComponent)); in testPasswordQuality_complexLowerCase()
238 dpm.setPasswordQuality(mAdminComponent, PASSWORD_QUALITY_COMPLEX); in testPasswordQuality_complexLetters()
239 assertEquals(PASSWORD_QUALITY_COMPLEX, dpm.getPasswordQuality(mAdminComponent)); in testPasswordQuality_complexLetters()
269 dpm.setPasswordQuality(mAdminComponent, PASSWORD_QUALITY_COMPLEX); in testPasswordQuality_complexNumeric()
270 assertEquals(PASSWORD_QUALITY_COMPLEX, dpm.getPasswordQuality(mAdminComponent)); in testPasswordQuality_complexNumeric()
300 dpm.setPasswordQuality(mAdminComponent, PASSWORD_QUALITY_COMPLEX); in testPasswordQuality_complexSymbols()
[all …]
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DResetPasswordWithTokenTest.java20 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_COMPLEX;
108 PASSWORD_QUALITY_COMPLEX); in testPasswordMetricAfterResetPassword()
291 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_COMPLEX); in testPasswordQuality_complexUpperCase()
292 assertEquals(PASSWORD_QUALITY_COMPLEX, in testPasswordQuality_complexUpperCase()
327 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_COMPLEX); in testPasswordQuality_complexLowerCase()
328 assertEquals(PASSWORD_QUALITY_COMPLEX, in testPasswordQuality_complexLowerCase()
363 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_COMPLEX); in testPasswordQuality_complexLetters()
364 assertEquals(PASSWORD_QUALITY_COMPLEX, in testPasswordQuality_complexLetters()
399 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_COMPLEX); in testPasswordQuality_complexNumeric()
400 assertEquals(PASSWORD_QUALITY_COMPLEX, in testPasswordQuality_complexNumeric()
[all …]
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DPasswordMinimumRestrictionsTest.java19 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_COMPLEX;
57 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_COMPLEX); in setUp()
58 mParentDpm.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_COMPLEX); in setUp()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSecurityLoggingTest.java19 import static android.app.admin.DevicePolicyManager.PASSWORD_QUALITY_COMPLEX;
566 mDevicePolicyManager.setPasswordQuality(getWho(), PASSWORD_QUALITY_COMPLEX); in generatePasswordComplexityEvents() local
595 expectedPayload[PWD_QUALITY_INDEX] = PASSWORD_QUALITY_COMPLEX; in verifyPasswordComplexityEventsPresent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DPolicyTransparencyTestActivity.java128 DevicePolicyManager.PASSWORD_QUALITY_COMPLEX