Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DUnavailableSecureLockScreenTest.java48 mDevicePolicyManager.setPasswordQuality( in testResetWithTokenAndPasswordSufficiency()
55 mDevicePolicyManager.setPasswordQuality( in testResetWithTokenAndPasswordSufficiency()
62 mDevicePolicyManager.setPasswordQuality( in testResetWithTokenAndPasswordSufficiency()
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()
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.java646 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/tests/devicepolicy/src/android/devicepolicy/cts/
DResetPasswordWithTokenTest.java167 sDeviceState.dpc().devicePolicyManager().setPasswordQuality( in resetPasswordWithToken_passwordDoesNotSatisfyRestriction_failure()
195 sDeviceState.dpc().devicePolicyManager().setPasswordQuality( in resetPasswordWithToken_passwordSatisfiesRestriction_success()
244 sDeviceState.dpc().devicePolicyManager().setPasswordQuality( in isActivePasswordSufficient_passwordDoesNotSatisfyRestriction_false()
274 sDeviceState.dpc().devicePolicyManager().setPasswordQuality( in isActivePasswordSufficient_passwordSatisfiesRestriction_true()
301 sDeviceState.dpc().devicePolicyManager().setPasswordQuality(DPC_COMPONENT_NAME, in isActivePasswordSufficient_passwordNoLongerSatisfiesRestriction_false()
333 sDeviceState.dpc().devicePolicyManager().setPasswordQuality( in setPasswordQuality_success()
351 sDeviceState.dpc().devicePolicyManager().setPasswordQuality( in setPasswordQuality_something_passwordWithAMinLengthOfFourRequired()
373 sDeviceState.dpc().devicePolicyManager().setPasswordQuality( in setPasswordQuality_numeric_passwordWithAtLeastOneNumberOrLetterRequired()
394 sDeviceState.dpc().devicePolicyManager().setPasswordQuality( in setPasswordQuality_alphabetic_passwordWithAtLeastOneLetterRequired()
414 sDeviceState.dpc().devicePolicyManager().setPasswordQuality( in setPasswordQuality_alphanumeric_passwordWithBothALetterAndANumberRequired()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DRecentsRedactionActivity.java123 mDevicePolicyManager.setPasswordQuality(mAdmin, in hasPassword()
127 mDevicePolicyManager.setPasswordQuality(mAdmin, in hasPassword()
DCommandReceiverActivity.java690 mDpm.setPasswordQuality(mAdmin, 0); in clearProfileOwnerRelatedPolicies()
/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
DDeviceAdminTest.java60 dpm.setPasswordQuality(mAdminComponent, in testPasswordHistoryLength()
DDeviceAdminWithEnterprisePoliciesBlockedTest.java101 runDeprecatedPasswordQualityApi(() -> 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/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DDevicePolicyManagerWrapper.java94 doAnswer(answer).when(spy).setPasswordQuality(any(), anyInt()); in getWrapper()