Home
last modified time | relevance | path

Searched refs:removeUser (Results 1 – 25 of 51) 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/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/media/src/android/media/cts/
DBaseMultiUserTest.java108 removeUser(userId); in tearDown()
188 protected void removeUser(int userId) throws Exception { in removeUser() method in BaseMultiUserTest
197 assertTrue("Couldn't remove user", getDevice().removeUser(userId)); in removeUser()
/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/devicepolicy/src/com/android/cts/devicepolicy/
DMixedManagedProfileOwnerTestApi30.java55 removeUser(mUserId); in tearDown()
DManagedProfileProvisioningSingleAdminTest.java54 removeUser(mProfileUserId); in tearDown()
DMixedManagedProfileOwnerTestApi25.java56 removeUser(mUserId); in tearDown()
DLauncherAppsMultiUserTest.java55 removeUser(mSecondaryUserId); in tearDown()
DManagedProfileTest.java69 removeUser(newUserId); in testMaxOneManagedProfile()
98 removeUser(mProfileUserId); in testProfileWifiCleanup()
513 removeUser(mProfileUserId); in testCanCreateProfile()
DCustomDeviceOwnerTest.java94 removeUser(userId); in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
DDeviceOwnerTest.java121 removeUser(userId); in testRemoteBugreportWithTwoUsers()
384 removeUser(userId); in testNetworkLoggingWithTwoUsers()
929 removeUser(userId); in testSetUserControlDisabledPackages_multiUser_verifyMetricIsLogged()
952 removeUser(userId); in testSetUserControlDisabledPackages_multiUser_verifyPackageNotStopped()
981 removeUser(userId); in testSetUserControlDisabledPackages_multiUser_reboot_verifyPackageNotStopped()
DDeviceOwnerPlusProfileOwnerTest.java166 assertFalse(getDevice().removeUser(secondaryUserId)); in testCannotRemoveUserIfRestrictionSet()
169 assertTrue(getDevice().removeUser(secondaryUserId)); in testCannotRemoveUserIfRestrictionSet()
DBaseManagedProfileTest.java76 removeUser(mProfileUserId); in tearDown()
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideMultipleProfileTest.java140 mDevice.removeUser(userId); in startUser()
167 if (!mDevice.removeUser(mUserId)) { in stopAndRemoveUser()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DCreateUsersPermissionTest.java61 getDevice().removeUser(guestUserId); in testCanCreateGuestUserWhenUserLimitReached()
/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/appsecurity/src/android/appsecurity/cts/
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()
DAppSecurityPreparer.java75 device.removeUser(userIds[i]); in removeSecondaryUsers()
/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/tests/tests/multiuser/src/android/multiuser/cts/
DUserManagerTest.java109 assertThat(mUserManager.removeUser(userHandle)).isTrue(); in testCloneUser()

123