Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DPasswordRequirementsTest.java40 mDevicePolicyManager.setPasswordQuality( in testPasswordConstraintsDoesntThrowAndPreservesValuesPreR()
52 mDevicePolicyManager.setPasswordQuality( in testPasswordConstraintsDoesntThrowAndPreservesValuesPreR()
72 mDevicePolicyManager.setPasswordQuality( in testSettingConstraintsWithLowQualityThrowsOnRPlus()
93 mDevicePolicyManager.setPasswordQuality( in testSettingConstraintsWithNumericQualityOnlyLengthAllowedOnRPlus()
116 mDevicePolicyManager.setPasswordQuality( in testSettingConstraintsWithComplexQualityAndResetWithLowerQuality()
128 mDevicePolicyManager.setPasswordQuality( in testSettingConstraintsWithComplexQualityAndResetWithLowerQuality()
150 mDevicePolicyManager.setPasswordQuality( in testSettingConstraintsWithComplexQualityAndResetWithLowerQuality()
DResetPasswordWithTokenTest.java64 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in tearDown()
88 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_NUMERIC); in testChangePasswordWithToken()
102 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_NUMERIC); in testResetPasswordFailIfQualityNotMet()
116 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in testPasswordMetricAfterResetPassword()
156 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in testPasswordQuality_something()
173 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_NUMERIC); in testPasswordQuality_numeric()
208 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in testPasswordQuality_alphabetic()
244 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in testPasswordQuality_alphanumeric()
280 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_COMPLEX); in testPasswordQuality_complexUpperCase()
316 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_COMPLEX); in testPasswordQuality_complexLowerCase()
[all …]
DUnavailableSecureLockScreenTest.java48 mDevicePolicyManager.setPasswordQuality( in testResetWithTokenAndPasswordSufficiency()
55 mDevicePolicyManager.setPasswordQuality( in testResetWithTokenAndPasswordSufficiency()
62 mDevicePolicyManager.setPasswordQuality( in testResetWithTokenAndPasswordSufficiency()
DPasswordQualityAndComplexityTest.java51 mParentDpm.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_SOMETHING); in testCannotSetComplexityWithQualityOnParent()
63 mParentDpm.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in testCannotSetQualityOnParentWithComplexity()
69 dpm.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_UNSPECIFIED); in clearQualityAndComplexity()
DPasswordMinimumRestrictionsTest.java57 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_COMPLEX); in setUp()
58 mParentDpm.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_COMPLEX); in setUp()
75 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in tearDown()
77 mParentDpm.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, mParentPreviousPasswordQuality); in tearDown()
DOrgOwnedProfileOwnerParentTest.java154 mParentDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in testCanSetPasswordQualityOnParent()
162 mParentDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in testCanSetPasswordQualityOnParent()
DDevicePolicyLoggingTest.java54 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in testPasswordMethodsLogged()
63 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in testPasswordMethodsLogged()
DSecurityLoggingTest.java648 dpm.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_COMPLEX); in generatePasswordComplexityEvents()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DDevicePolicyManagerParentSupportTest.java129 () -> setPasswordQuality(PASSWORD_QUALITY_NUMERIC_COMPLEX)); in testSetPasswordQuality_onParent_isNotSupported()
132 private void setPasswordQuality(int quality) { in setPasswordQuality() method in DevicePolicyManagerParentSupportTest
133 mParentDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, quality); in setPasswordQuality()
137 mDevicePolicyManager.setPasswordQuality( in testIsActivePasswordSufficient_onParent_respectsProfileQualityWhenUnified()
140 mDevicePolicyManager.setPasswordQuality( in testIsActivePasswordSufficient_onParent_respectsProfileQualityWhenUnified()
145 mDevicePolicyManager.setPasswordQuality( in testIsActivePasswordSufficient_onParent_respectsProfileQualityWhenUnified()
DActivePasswordSufficientForDeviceTest.java40 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in setUp()
61 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, PASSWORD_QUALITY_NUMERIC); in testActivePsswordSufficientForDevice_IrrelevantProfilePolicy()
70 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in testActivePsswordSufficientForDevice_UnifiedPassword_BothPolicies()
78 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in testActivePsswordSufficientForDevice_UnifiedPassword_BothPolicies()
DResetPasswordWithTokenTest.java63 mDevicePolicyManager.setPasswordQuality(ADMIN_RECEIVER_COMPONENT, in testResetPasswordBeforeUnlock()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DRecentsRedactionActivity.java123 mDevicePolicyManager.setPasswordQuality(mAdmin, in hasPassword()
127 mDevicePolicyManager.setPasswordQuality(mAdmin, in hasPassword()
DCommandReceiverActivity.java651 mDpm.setPasswordQuality(mAdmin, 0); in clearProfileOwnerRelatedPolicies()
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
DDeviceAdminTest.java60 dpm.setPasswordQuality(mAdminComponent, in testPasswordHistoryLength()
DDeviceAdminWithEnterprisePoliciesBlockedTest.java97 assertSecurityException(() -> dpm.setPasswordQuality(mAdminComponent, in testPasswordQuality()
/cts/hostsidetests/devicepolicy/app/TransferOwnerOutgoingApp/src/com/android/cts/transferowner/
DTransferProfileOwnerOutgoingTest.java46 mDevicePolicyManager.setPasswordQuality( in testTransferWithPoliciesOutgoing()
DTransferDeviceOwnerOutgoingTest.java46 mDevicePolicyManager.setPasswordQuality( in testTransferWithPoliciesOutgoing()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
DPolicySerializationTestActivity.java411 deviceManager.setPasswordQuality(admin, getExpectedValue()); in applyExpectedValue()
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DDevicePolicyManagerWrapper.java94 doAnswer(answer).when(spy).setPasswordQuality(any(), anyInt()); in getWrapper()