Home
last modified time | relevance | path

Searched refs:TEST_PASSWORD (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfilePasswordTest.java44 changeUserCredential(TEST_PASSWORD, null, mProfileUserId); in testLockNowWithKeyEviction()
88 final String devicePassword = TEST_PASSWORD; in testResetPasswordTokenUsableAfterClearingLock()
121 TEST_PASSWORD /* newCredential */, null /* oldCredential */, mProfileUserId); in testIsUsingUnifiedPassword()
134 changeUserCredential(TEST_PASSWORD, /* oldCredential= */ null, mPrimaryUserId); in testUnlockWorkProfile_deviceWidePassword()
138 verifyUserCredential(TEST_PASSWORD, mPrimaryUserId); in testUnlockWorkProfile_deviceWidePassword()
145 changeUserCredential(/* newCredential= */ null, TEST_PASSWORD, mPrimaryUserId); in testUnlockWorkProfile_deviceWidePassword()
158 changeUserCredential(TEST_PASSWORD, /* oldCredential= */ null, mPrimaryUserId); in testRebootDevice_unifiedPassword()
161 verifyUserCredential(TEST_PASSWORD, mPrimaryUserId); in testRebootDevice_unifiedPassword()
166 changeUserCredential(/* newCredential= */ null, TEST_PASSWORD, mPrimaryUserId); in testRebootDevice_unifiedPassword()
182 final String primaryPassword = TEST_PASSWORD; in testRebootDevice_separatePasswords()
[all …]
DManagedProfileTimeoutTest.java90 changeUserCredential(TEST_PASSWORD, null, mProfileUserId); in setUpWorkProfileTimeout()
93 verifyUserCredential(TEST_PASSWORD, mProfileUserId); in setUpWorkProfileTimeout()
DQuietModeHostsideTest.java83 changeUserCredential(/* newCredential= */ TEST_PASSWORD, /* oldCredential= */ null, in testQuietMode_defaultForegroundLauncher()
93 changeUserCredential(/* newCredential= */ null, /* oldCredential= */ TEST_PASSWORD, in testQuietMode_defaultForegroundLauncher()
204 changeUserCredential(/* newCredential= */ TEST_PASSWORD, /* oldCredential= */ null, in testQuietMode_noCredentialRequest()
DManagedProfileTest.java398 changeUserCredential(TEST_PASSWORD, null, mProfileUserId); in testTrustAgentInfo()
403 changeUserCredential(null, TEST_PASSWORD, mProfileUserId); in testTrustAgentInfo()
DDeviceAndProfileOwnerTest.java1209 final String wrongPassword = TEST_PASSWORD + "5"; in testGetCurrentFailedPasswordAttempts()
1211 changeUserCredential(TEST_PASSWORD, null /*oldCredential*/, mUserId); in testGetCurrentFailedPasswordAttempts()
1232 changeUserCredential(null /*newCredential*/, TEST_PASSWORD, mUserId); in testGetCurrentFailedPasswordAttempts()
1254 changeUserCredential(TEST_PASSWORD, null, mUserId); in testGetPasswordExpiration()
1258 changeUserCredential(null, TEST_PASSWORD, mUserId); in testGetPasswordExpiration()
DBaseDevicePolicyTest.java146 protected static final String TEST_PASSWORD = "1234"; field in BaseDevicePolicyTest
264 changeUserCredential(null, TEST_PASSWORD, mPrimaryUserId); in ensurePrimaryUserHasNoPassword()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DOverrideApnTest.java39 private static final String TEST_PASSWORD = "testPassword"; field in OverrideApnTest
62 .setPassword(TEST_PASSWORD)
110 assertEquals(TEST_PASSWORD, apnList.get(0).getPassword()); in testAddGetRemoveOverrideApn()
163 .setPassword(TEST_PASSWORD) in testUpdateOverrideApn()
189 assertEquals(TEST_PASSWORD, apnList.get(0).getPassword()); in testUpdateOverrideApn()