/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ResumeOnRebootHostTest.java | 197 switchUser(secondaryUser); in resumeOnReboot_TwoUsers_SingleUserUnlock_Success() 200 switchUser(initialUser); in resumeOnReboot_TwoUsers_SingleUserUnlock_Success() 215 switchUser(secondaryUser); in resumeOnReboot_TwoUsers_SingleUserUnlock_Success() 220 switchUser(secondaryUser); in resumeOnReboot_TwoUsers_SingleUserUnlock_Success() 222 switchUser(initialUser); in resumeOnReboot_TwoUsers_SingleUserUnlock_Success() 253 switchUser(secondaryUser); in resumeOnReboot_TwoUsers_BothUserUnlock_Success() 256 switchUser(initialUser); in resumeOnReboot_TwoUsers_BothUserUnlock_Success() 264 switchUser(secondaryUser); in resumeOnReboot_TwoUsers_BothUserUnlock_Success() 274 switchUser(secondaryUser); in resumeOnReboot_TwoUsers_BothUserUnlock_Success() 279 switchUser(secondaryUser); in resumeOnReboot_TwoUsers_BothUserUnlock_Success() [all …]
|
D | RoleSecurityTest.java | 53 assumeTrue("Unable to switch user", getDevice().switchUser(secondaryUserId)); in cannotGetSmsRoleHolderForAnotherUser() 66 getDevice().switchUser(initialUserId); in cannotGetSmsRoleHolderForAnotherUser()
|
D | InstantAppUserTest.java | 78 getDevice().switchUser(mSecondaryUserId); in setUp() 89 getDevice().switchUser(mStartingUserId); in tearDown()
|
/cts/hostsidetests/webkit/src/com/android/cts/webkit/ |
D | WebViewHostSideMultipleProfileTest.java | 71 Assert.assertTrue(mDevice.switchUser(mInitialUserId)); in tearDown() 82 switchUser(mUserId); in testSecondProfile() 149 private void switchUser(int userId) throws DeviceNotAvailableException { in switchUser() method in WebViewHostSideMultipleProfileTest 150 if (!mDevice.switchUser(userId)) { in switchUser() 167 mDevice.switchUser(mInitialUserId); in stopAndRemoveUser()
|
/cts/hostsidetests/car/src/android/car/cts/ |
D | UiModeHostTest.java | 56 switchUser(newUserId); in testUserSwitchingConfigConsistency() 64 switchUser(originalUserId); in testUserSwitchingConfigConsistency()
|
D | PreCreateUsersHostTest.java | 166 switchUser(referenceUserId); in appPermissionsPreCreatedUserPackagesTest() 184 switchUser(preCreatedUserId); in appPermissionsPreCreatedUserPackagesTest()
|
D | CarHostJUnit4TestCase.java | 114 switchUser(mInitialUserId); in restoreUsersState() 355 protected void switchUser(int userId) throws Exception { in switchUser() method in CarHostJUnit4TestCase
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ICrossUserService.aidl | 22 void switchUser(in UserHandle userHandle); in switchUser() method
|
D | DeviceAdminTestReceiver.java | 156 iCrossUserService.switchUser(userHandle); in onEnabled() 281 public void switchUser(UserHandle userHandle) { 283 getSystemService(DevicePolicyManager.class).switchUser(getReceiverComponentName(),
|
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/ |
D | MultiUserTest.java | 111 getDevice().switchUser(getDevice().getPrimaryUserId()); in tearDown() 174 switchUser(secondaryUserId); in testSecondaryUser() 181 switchUser(primaryUserId); in testSecondaryUser() 288 private void switchUser(int userId) throws Exception { in switchUser() method in MultiUserTest 289 getDevice().switchUser(userId); in switchUser()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | MixedManagedProfileOwnerTestApi30.java | 45 switchUser(mParentUserId); in createManagedProfile()
|
D | MixedManagedProfileOwnerTestApi25.java | 46 switchUser(mParentUserId); in createManagedProfile()
|
D | DeviceOwnerTest.java | 847 switchUser(userId); in testSetUserControlDisabledPackages_multiUser_reboot_verifyPackageNotStopped() 865 switchUser(userId); in testSetUserControlDisabledPackages_multiUser_reboot_verifyPackageNotStopped() 988 switchUser(userId); in testListForegroundAffiliatedUsers_notAffiliated() 997 switchUser(userId); in testListForegroundAffiliatedUsers_affiliated()
|
D | QuietModeHostsideTest.java | 217 switchUser(mPrimaryUserId); in createAndStartManagedProfile()
|
D | MixedManagedProfileOwnerTest.java | 63 switchUser(mParentUserId); in createManagedProfile()
|
D | CrossProfileAppsHostSideTest.java | 304 switchUser(mPrimaryUserId); in createAndStartManagedProfile()
|
D | BaseDevicePolicyTest.java | 246 switchUser(mPrimaryUserId); in setUp() 258 switchUser(mPrimaryUserId); in setUp() 306 switchUser(mInitialUserId); in tearDown() 424 protected void switchUser(int userId) throws Exception { in switchUser() method in BaseDevicePolicyTest
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | StartActivityAsUserTests.java | 106 mAm.switchUser(secondUserHandle); in startActivityValidUser() 110 mAm.switchUser(mContext.getUser()); in startActivityValidUser()
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | ShortcutManagerMultiuserTest.java | 68 getDevice().switchUser(secondUserID); in testSecondaryUser()
|
D | BaseShortcutManagerHostTest.java | 149 getDevice().switchUser(mInitialUserId); in removeTestUsers()
|
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
D | BaseMultiUserTest.java | 87 getDevice().switchUser(mInitialUserId); in tearDown() 153 .that(getDevice().switchUser(toUserId)).isTrue(); in assertSwitchToNewUser() 167 .that(getDevice().switchUser(toUserId)).isTrue(); in assertSwitchToUser()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | BaseMultiUserBackupHostSideTest.java | 83 mDevice.switchUser(primaryUserId); in setUp() 91 mDevice.switchUser(mInitialUser.get()); in tearDown()
|
/cts/hostsidetests/accounts/src/android/host/accounts/ |
D | BaseMultiUserTest.java | 75 getDevice().switchUser(mInitialUserId); in tearDown()
|
/cts/hostsidetests/content/src/android/content/cts/ |
D | BaseContextCrossProfileTest.java | 87 getDevice().switchUser(mInitialUserId); in tearDown()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | DevicePolicySafetyCheckerIntegrationTest.java | 223 dpm.switchUser(admin, USER_HANDLE);
|