Home
last modified time | relevance | path

Searched refs:removeUser (Results 1 – 25 of 77) sorted by relevance

1234

/cts/hostsidetests/backup/src/android/cts/backup/
DMultiUserBackupStateTest.java67 assertTrue(getDevice().removeUser(mProfileUserId.get())); in tearDown()
90 removeUser(profileUserId); in testBackupDeactivatedWhenUserIsRemoved()
98 private void removeUser(int userId) throws Exception { in removeUser() method in MultiUserBackupStateTest
104 assertTrue("Couldn't remove user", getDevice().removeUser(userId)); in removeUser()
DProfileSerialNumberHostSideTest.java66 mDevice.removeUser(profileUserId); in tearDown()
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DUserManagerTest.java138 private void removeUser(UserHandle userHandle) { in removeUser() method in UserManagerTest
143 assertThat(mUserManager.removeUser(userHandle)).isTrue(); in removeUser()
421 removeUser(userHandle); in testCloneProfile()
472 removeUser(userHandle); in testAddCloneProfile_shouldSendProfileAddedBroadcast()
494 removeUser(userHandle); in testCreateManagedProfile_shouldSendProfileAddedBroadcast()
517 removeUser(usersCreated.pop()); in testRemoveCloneProfile_shouldSendProfileRemovedBroadcast()
522 usersCreated.forEach(this::removeUser); in testRemoveCloneProfile_shouldSendProfileRemovedBroadcast()
545 removeUser(usersCreated.pop()); in testRemoveManagedProfile_shouldSendProfileRemovedBroadcast()
550 usersCreated.forEach(this::removeUser); in testRemoveManagedProfile_shouldSendProfileRemovedBroadcast()
589 removeUser(userHandle); in testManagedProfile()
[all …]
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DOrganizationOwnedProfileOwnerTest.java48 .removeUser(sDeviceState.workProfile().userHandle())).isFalse(); in organizationOwnedProfileOwner_userCannotBeRemoved()
59 .removeUser(sDeviceState.workProfile().parent().userHandle())).isFalse(); in organizationOwnedProfileOwner_parentCannotBeRemoved()
/cts/tests/appcloning/src/android/appcloning/cts/
DCrossProfileIntentFilterTest.java83 removeUser(cloneUserId); in addCrossProfileIntentFilterForSystemAccessTest()
103 removeUser(userId); in addCrossProfileIntentFilterForAllAccessTest()
DAppCloningDeviceTestBase.java59 protected void removeUser(int userId) { in removeUser() method in AppCloningDeviceTestBase
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/users/
DUserStatsTests.java60 getDevice().removeUser(userId); in tearDown()
86 getDevice().removeUser(userId); in removeGuestUser()
/cts/tests/tests/car/src/android/car/cts/
DCarUserManagerTest.java100 removeUser(userHandle); in cleanupUserState()
230 removeUser(newUser); in testStartUserOnDisplayAndStopUser()
275 removeUser(newUser); in testLifecycleUserCreatedListener_supportedVersion()
302 removeUser(newUser); in testLifecycleUserRemovedListener_supportedVersion()
370 mCarUserManager.removeUser(new UserRemovalRequest.Builder(newUser).build(), Runnable::run, in testRemoveUserExists()
385 mCarUserManager.removeUser(new UserRemovalRequest.Builder(getNonExistentUser()).build(), in testRemoveUserDoesNotExist()
447 protected void removeUser(UserHandle userHandle) throws IOException { in removeUser() method in CarUserManagerTest
DCarServiceHelperServiceUpdatableTest.java140 userManager.removeUser(response.getUser()); in testSendUserLifecycleEventAndOnUserCreated()
183 userRemoved = userManager.removeUser(response.getUser()); in testSendUserLifecycleEventAndOnUserRemoved()
197 userManager.removeUser(response.getUser()); in testSendUserLifecycleEventAndOnUserRemoved()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DMixedManagedProfileOwnerTestApi30.java55 removeUser(mUserId); in tearDown()
DMixedManagedProfileOwnerTestApi25.java56 removeUser(mUserId); in tearDown()
DLauncherAppsMultiUserTest.java55 removeUser(mSecondaryUserId); in tearDown()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java111 removeUser(userId); in tearDown()
210 protected void removeUser(int userId) throws Exception { in removeUser() method in BaseMultiUserTest
219 assertTrue("Couldn't remove user", getDevice().removeUser(userId)); in removeUser()
/cts/hostsidetests/media/src/android/media/session/cts/
DMediaSessionManagerHostTest.java156 removeUser(newUser); in testGetActiveSessions_additionalUser()
192 removeUser(newUser); in testGetActiveSessions_restrictedProfiles()
229 removeUser(newUser); in testGetActiveSessions_managedProfiles()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2021_0602.java60 device.removeUser(guestUserId); in testPocCVE_2021_0602()
DCVE_2023_20955.java72 device.removeUser(userId); in testPocCVE_2023_20955()
DCVE_2023_20917.java74 device.removeUser(workUserId); in testPocCVE_2023_20917()
DCVE_2022_20360.java80 device.removeUser(newUser); in testPocCVE_2022_20360()
DCVE_2021_0595.java78 device.removeUser(workUserId); in testPocCVE_2021_0595()
DCVE_2023_21256.java78 device.removeUser(workUserId); in testPocCVE_2023_21256()
/cts/hostsidetests/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/
DPackageManagerMultiUserTestBase.java63 removeUser(userId); in tearDown()
124 protected void removeUser(int userId) throws Exception { in removeUser() method in PackageManagerMultiUserTestBase
/cts/hostsidetests/car/nonrecoverable/src/android/car/cts/
DCarServiceHelperServiceTest.java69 assertWithMessage("removeUser(%s)", userId).that(removeUser(userId)).isTrue(); in removeAllUsersExceptSystem()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DCreateUsersPermissionTest.java65 getDevice().removeUser(guestUserId); in testCanCreateGuestUserWhenUserLimitReached()
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideMultipleProfileTest.java144 mDevice.removeUser(userId); in startUser()
173 if (!mDevice.removeUser(mUserId)) { in stopAndRemoveUser()
/cts/hostsidetests/appsearch/src/android/appsearch/cts/
DEnterpriseContactsMultiUserTest.java85 testInfo.getDevice().removeUser(sSecondaryUserId); in tearDownClass()
88 testInfo.getDevice().removeUser(sEnterpriseUserId); in tearDownClass()

1234