Home
last modified time | relevance | path

Searched refs:changeUserCredential (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfilePasswordTest.java84 changeUserCredential(devicePassword, null, mParentUserId); in testResetPasswordTokenUsableAfterClearingLock()
85 changeUserCredential(null, devicePassword, mParentUserId); in testResetPasswordTokenUsableAfterClearingLock()
86 changeUserCredential(devicePassword, null, mParentUserId); in testResetPasswordTokenUsableAfterClearingLock()
92 changeUserCredential(null, devicePassword, mParentUserId); in testResetPasswordTokenUsableAfterClearingLock()
111 changeUserCredential( in testIsUsingUnifiedPassword()
125 changeUserCredential(TEST_PASSWORD, /* oldCredential= */ null, mPrimaryUserId); in testUnlockWorkProfile_deviceWidePassword()
136 changeUserCredential(/* newCredential= */ null, TEST_PASSWORD, mPrimaryUserId); in testUnlockWorkProfile_deviceWidePassword()
149 changeUserCredential(TEST_PASSWORD, /* oldCredential= */ null, mPrimaryUserId); in testRebootDevice_unifiedPassword()
157 changeUserCredential(/* newCredential= */ null, TEST_PASSWORD, mPrimaryUserId); in testRebootDevice_unifiedPassword()
175 changeUserCredential( in testRebootDevice_separatePasswords()
[all …]
DManagedProfileTimeoutTest.java91 changeUserCredential(TEST_PASSWORD, null, mProfileUserId); in setUpWorkProfileTimeout()
DManagedProfileTest.java310 changeUserCredential(TEST_PASSWORD, null, mProfileUserId); in testTrustAgentInfo()
315 changeUserCredential(null, TEST_PASSWORD, mProfileUserId); in testTrustAgentInfo()
DDeviceAndProfileOwnerTest.java794 changeUserCredential(TEST_PASSWORD, null, mUserId); in testGetPasswordExpiration()
798 changeUserCredential(null, TEST_PASSWORD, mUserId); in testGetPasswordExpiration()
DBaseDevicePolicyTest.java256 changeUserCredential(null, TEST_PASSWORD, mPrimaryUserId); in ensurePrimaryUserHasNoPassword()
1119 protected void changeUserCredential(String newCredential, String oldCredential, int userId) in changeUserCredential() method in BaseDevicePolicyTest
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DActivePasswordSufficientForDeviceTest.java69 changeUserCredential("1234", null, mParentUserId); in testActivePsswordSufficientForDevice_UnifiedPassword_BothPolicies()
82 changeUserCredential(null, "1234", mParentUserId); in testActivePsswordSufficientForDevice_UnifiedPassword_BothPolicies()
101 changeUserCredential("1234", null, mParentUserId); in toTestActivePsswordSufficientForDevice_SeparatePassword_BothPolicies()
102 changeUserCredential("asdf12", "1234", myUserId); // This currently fails in toTestActivePsswordSufficientForDevice_SeparatePassword_BothPolicies()
113 changeUserCredential(null, "1234", mParentUserId); in toTestActivePsswordSufficientForDevice_SeparatePassword_BothPolicies()
117 private void changeUserCredential(String newCredential, String oldCredential, int userId) { in changeUserCredential() method in ActivePasswordSufficientForDeviceTest