Home
last modified time | relevance | path

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

123

/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()
DProfileFullBackupRestoreHostSideTest.java74 mDevice.removeUser(profileUserId); in tearDown()
DProfileKeyValueBackupRestoreHostSideTest.java82 mDevice.removeUser(profileUserId); in tearDown()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCreateAndManageUserTest.java64 removeUser(userHandle); in createAndManageUser_returnUserHandle()
97 private void removeUser(UserHandle userHandle) { in removeUser() method in CreateAndManageUserTest
/cts/hostsidetests/media/src/android/media/session/cts/
DMediaSessionManagerHostTest.java144 removeUser(newUser); in testGetActiveSessions_additionalUser()
179 removeUser(newUser); in testGetActiveSessions_restrictedProfiles()
214 removeUser(newUser); in testGetActiveSessions_managedProfiles()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileProvisioningSingleAdminTest.java54 removeUser(mProfileUserId); in tearDown()
DMixedManagedProfileOwnerTestApi30.java55 removeUser(mUserId); in tearDown()
DMixedManagedProfileOwnerTestApi25.java56 removeUser(mUserId); in tearDown()
DLauncherAppsMultiUserTest.java55 removeUser(mSecondaryUserId); in tearDown()
DCustomDeviceOwnerTest.java88 removeUser(userId); in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
DBaseManagedProfileTest.java76 removeUser(mProfileUserId); in tearDown()
DManagedProfileTest.java69 removeUser(newUserId); in testMaxOneManagedProfile()
98 removeUser(mProfileUserId); in testProfileWifiCleanup()
495 removeUser(mProfileUserId); in testCanCreateProfile()
DDeviceOwnerPlusProfileOwnerTest.java166 assertFalse(getDevice().removeUser(secondaryUserId)); in testCannotRemoveUserIfRestrictionSet()
169 assertTrue(getDevice().removeUser(secondaryUserId)); in testCannotRemoveUserIfRestrictionSet()
/cts/hostsidetests/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/
DPackageManagerMultiUserTestBase.java61 removeUser(userId); in tearDown()
115 protected void removeUser(int userId) throws Exception { in removeUser() method in PackageManagerMultiUserTestBase
/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()
171 if (!mDevice.removeUser(mUserId)) { in stopAndRemoveUser()
/cts/hostsidetests/car/src/android/car/cts/
DPreCreateUsersHostTest.java173 removeUser(referenceUserId); in appPermissionsPreCreatedUserPackagesTest()
258 getDevice().removeUser(userId); in deletePreCreatedUsers()
DCarHostJUnit4TestCase.java120 removeUser(userId); in restoreUsersState()
378 protected void removeUser(int userId) throws Exception { in removeUser() method in CarHostJUnit4TestCase
395 removeUser(userId); in removeUsers()
/cts/hostsidetests/appsearch/src/android/appsearch/cts/
DAppSearchMultiUserTest.java73 getDevice().removeUser(mSecondaryUserId); in tearDown()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DHeadlessSystemUserTest.java86 () -> mUserManager.removeUser(userId)); in testProfileOwnerIsSetOnNewUser()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAppSecurityPreparer.java75 device.removeUser(userIds[i]); in removeSecondaryUsers()
DResumeOnRebootHostTest.java163 removeUser(managedUserId); in resumeOnReboot_ManagedProfile_Success()
566 private void removeUser(int userId) throws Exception { in removeUser() method in ResumeOnRebootHostTest
575 assertThat("Couldn't remove user", getDevice().removeUser(userId), is(true)); in removeUser()
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DUserManagerTest.java109 assertThat(mUserManager.removeUser(userHandle)).isTrue(); in testCloneUser()
/cts/hostsidetests/accounts/src/android/host/accounts/
DBaseMultiUserTest.java160 getDevice().removeUser(userId); in removeTestUsers()

123