/cts/hostsidetests/backup/src/android/cts/backup/ |
D | MultiUserBackupStateTest.java | 67 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()
|
D | ProfileSerialNumberHostSideTest.java | 66 mDevice.removeUser(profileUserId); in tearDown()
|
/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | UserManagerTest.java | 138 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/ |
D | OrganizationOwnedProfileOwnerTest.java | 48 .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/ |
D | CrossProfileIntentFilterTest.java | 83 removeUser(cloneUserId); in addCrossProfileIntentFilterForSystemAccessTest() 103 removeUser(userId); in addCrossProfileIntentFilterForAllAccessTest()
|
D | AppCloningDeviceTestBase.java | 59 protected void removeUser(int userId) { in removeUser() method in AppCloningDeviceTestBase
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/users/ |
D | UserStatsTests.java | 60 getDevice().removeUser(userId); in tearDown() 86 getDevice().removeUser(userId); in removeGuestUser()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarUserManagerTest.java | 100 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
|
D | CarServiceHelperServiceUpdatableTest.java | 140 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/ |
D | MixedManagedProfileOwnerTestApi30.java | 55 removeUser(mUserId); in tearDown()
|
D | MixedManagedProfileOwnerTestApi25.java | 56 removeUser(mUserId); in tearDown()
|
D | LauncherAppsMultiUserTest.java | 55 removeUser(mSecondaryUserId); in tearDown()
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | BaseMultiUserTest.java | 111 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/ |
D | MediaSessionManagerHostTest.java | 156 removeUser(newUser); in testGetActiveSessions_additionalUser() 192 removeUser(newUser); in testGetActiveSessions_restrictedProfiles() 229 removeUser(newUser); in testGetActiveSessions_managedProfiles()
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | CVE_2021_0602.java | 60 device.removeUser(guestUserId); in testPocCVE_2021_0602()
|
D | CVE_2023_20955.java | 72 device.removeUser(userId); in testPocCVE_2023_20955()
|
D | CVE_2023_20917.java | 74 device.removeUser(workUserId); in testPocCVE_2023_20917()
|
D | CVE_2022_20360.java | 80 device.removeUser(newUser); in testPocCVE_2022_20360()
|
D | CVE_2021_0595.java | 78 device.removeUser(workUserId); in testPocCVE_2021_0595()
|
D | CVE_2023_21256.java | 78 device.removeUser(workUserId); in testPocCVE_2023_21256()
|
/cts/hostsidetests/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/ |
D | PackageManagerMultiUserTestBase.java | 63 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/ |
D | CarServiceHelperServiceTest.java | 69 assertWithMessage("removeUser(%s)", userId).that(removeUser(userId)).isTrue(); in removeAllUsersExceptSystem()
|
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
D | CreateUsersPermissionTest.java | 65 getDevice().removeUser(guestUserId); in testCanCreateGuestUserWhenUserLimitReached()
|
/cts/hostsidetests/webkit/src/com/android/cts/webkit/ |
D | WebViewHostSideMultipleProfileTest.java | 144 mDevice.removeUser(userId); in startUser() 173 if (!mDevice.removeUser(mUserId)) { in stopAndRemoveUser()
|
/cts/hostsidetests/appsearch/src/android/appsearch/cts/ |
D | EnterpriseContactsMultiUserTest.java | 85 testInfo.getDevice().removeUser(sSecondaryUserId); in tearDownClass() 88 testInfo.getDevice().removeUser(sEnterpriseUserId); in tearDownClass()
|