Home
last modified time | relevance | path

Searched refs:switchUser (Results 1 – 11 of 11) sorted by relevance

/cts/hostsidetests/multiuser/src/android/host/multiuser/
DCreateUsersNoAppCrashesTest.java49 assertTrue("Couldn't switch to user " + userId, getDevice().switchUser(userId)); in testCanCreateGuestUser()
54 assertTrue("Couldn't switch to user " + userId, getDevice().switchUser(mInitialUserId)); in testCanCreateGuestUser()
DBaseMultiUserTest.java59 getDevice().switchUser(mPrimaryUserId); in setUp()
67 getDevice().switchUser(mPrimaryUserId); in tearDown()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceOwnerTest.java79 switchUser(USER_SYSTEM); in tearDown()
181 switchUser(userId); in testRemoveUsersOnSetForceEphemeralUsersWithUserSwitch()
411 switchUser(userId); in testLockTask_affiliatedSecondaryUser()
DMixedManagedProfileOwnerTestApi25.java43 switchUser(mParentUserId); in createManagedProfile()
DMixedManagedProfileOwnerTest.java46 switchUser(mParentUserId); in createManagedProfile()
DBaseDevicePolicyTest.java135 switchUser(mPrimaryUserId); in setUp()
184 protected void switchUser(int userId) throws Exception { in switchUser() method in BaseDevicePolicyTest
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DShortcutManagerMultiuserTest.java68 getDevice().switchUser(secondUserID); in testSecondaryUser()
DBaseShortcutManagerHostTest.java184 getDevice().switchUser(getPrimaryUserId()); in removeTestUsers()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DBaseAppSecurityTest.java58 getDevice().switchUser(mPrimaryUserId); in setUp()
DInstantAppUserTest.java84 getDevice().switchUser(mPrimaryUserId); in setUp()
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java370 mDevicePolicyManager.switchUser(mComponent, null); in testSwitchUser_failIfNotDeviceOwner()