/cts/hostsidetests/car/src/android/car/cts/ |
D | CarUserManagerHostTest.java | 44 switchUser(newUserid, STATUS_SUCCESSFUL); in testSwitchUserExists() 49 switchUser(getNonExistentUser(), STATUS_INVALID_REQUEST); in testSwitchUserDoesNotExist() 54 switchUser(getCurrentUserId(), STATUS_OK_USER_ALREADY_IN_FOREGROUND); in testSwitchUserAlreadyForeGroundUser() 70 switchUser(newUserid, STATUS_SUCCESSFUL, "--ignore-uxr"); in testSwitchUserIgnoringUxRestriction() 76 private void switchUser(int userId, String expected) throws Exception { in switchUser() method in CarUserManagerHostTest 77 switchUser(userId, expected, ""); in switchUser() 83 private void switchUser(int userId, String expected, String options) throws Exception { in switchUser() method in CarUserManagerHostTest
|
D | UiModeHostTest.java | 54 switchUser(newUserId); in testUserSwitchingConfigConsistency() 63 switchUser(originalUserId); in testUserSwitchingConfigConsistency()
|
D | PreCreateUsersHostTest.java | 121 switchUser(referenceUserId); in appPermissionsPreCreatedUserPackagesTest() 135 switchUser(preCreatedUserId); in appPermissionsPreCreatedUserPackagesTest()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ResumeOnRebootHostTest.java | 186 switchUser(secondaryUser); in resumeOnReboot_TwoUsers_SingleUserUnlock_Success() 189 switchUser(initialUser); in resumeOnReboot_TwoUsers_SingleUserUnlock_Success() 202 switchUser(initialUser); in resumeOnReboot_TwoUsers_SingleUserUnlock_Success() 205 switchUser(secondaryUser); in resumeOnReboot_TwoUsers_SingleUserUnlock_Success() 209 switchUser(secondaryUser); in resumeOnReboot_TwoUsers_SingleUserUnlock_Success() 211 switchUser(initialUser); in resumeOnReboot_TwoUsers_SingleUserUnlock_Success() 235 switchUser(secondaryUser); in resumeOnReboot_TwoUsers_BothUserUnlock_Success() 238 switchUser(initialUser); in resumeOnReboot_TwoUsers_BothUserUnlock_Success() 246 switchUser(secondaryUser); in resumeOnReboot_TwoUsers_BothUserUnlock_Success() 254 switchUser(initialUser); 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()
|
/cts/hostsidetests/webkit/src/com/android/cts/webkit/ |
D | WebViewHostSideMultipleProfileTest.java | 71 Assert.assertTrue(mDevice.switchUser(mInitialUserId)); in tearDown() 82 switchUser(mUserId); in testSecondaryUser() 149 private void switchUser(int userId) throws DeviceNotAvailableException { in switchUser() method in WebViewHostSideMultipleProfileTest 150 if (!mDevice.switchUser(userId)) { in switchUser() 169 mDevice.switchUser(mInitialUserId); in stopAndRemoveUser()
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | CVE_2022_20360.java | 61 assumeTrue("Unable to switch to guest user", device.switchUser(newUser)); in testPocCVE_2022_20360() 73 device.switchUser(currentUser); in testPocCVE_2022_20360()
|
D | CVE_2021_0602.java | 58 device.switchUser(initialUserId); in testPocCVE_2021_0602()
|
D | CVE_2023_40092.java | 52 device.switchUser(primaryUserId); in testPocCVE_2023_40092()
|
D | CVE_2024_0053.java | 56 .that(device.switchUser(primaryUserId)) in testPocCVE_2024_0053()
|
D | CVE_2023_21277.java | 79 assumeTrue(device.switchUser(currentUserId)); in testPocCVE_2023_21277()
|
D | CVE_2023_21238.java | 81 assumeTrue(device.switchUser(currentUserId)); in testPocCVE_2023_21238()
|
D | CVE_2023_40086.java | 83 .that(device.switchUser(currentUserId)) in testPocCVE_2023_40086()
|
D | CVE_2023_21279.java | 80 assumeTrue(device.switchUser(currentUserId)); in testPocCVE_2023_21279()
|
D | CVE_2023_21286.java | 80 assumeTrue(device.switchUser(currentUserId)); in testPocCVE_2023_21286()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/users/ |
D | UserStatsTests.java | 58 getDevice().switchUser(mInitialUser); in tearDown() 92 protected int switchUser(String userName, boolean isGuest) throws Exception { in switchUser() method in UserStatsTests 96 getDevice().switchUser(userId); in switchUser()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ICrossUserService.aidl | 22 void switchUser(in UserHandle userHandle); in switchUser() method
|
/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 | 856 switchUser(userId); in testSetUserControlDisabledPackages_multiUser_reboot_verifyPackageNotStopped() 874 switchUser(userId); in testSetUserControlDisabledPackages_multiUser_reboot_verifyPackageNotStopped() 909 switchUser(userId); in testSetUserControlDisabledPackages_multiUser_reboot_verifyPackageNotFgsStopped() 927 switchUser(userId); in testSetUserControlDisabledPackages_multiUser_reboot_verifyPackageNotFgsStopped() 1077 switchUser(userId); in testListForegroundAffiliatedUsers_notAffiliated() 1088 switchUser(userId); in testListForegroundAffiliatedUsers_affiliated()
|
/cts/hostsidetests/media/src/android/media/cts/ |
D | BaseMultiUserTest.java | 84 getDevice().switchUser(primaryUserId); in setUp() 86 getDevice().switchUser(mainUserId); in setUp() 130 getDevice().switchUser(mInitialUserId); in tearDown()
|
/cts/tests/camera/headlessSystemUserTest/src/android/camera/cts/headlesssystemusertest/ |
D | Camera2HeadlessSystemUserTest.java | 175 switchUser(UserHandle.MIN_SECONDARY_USER_ID); in testHeadlessSystemUser_SwitchForegroundUser() 182 switchUser(initialUserId); in testHeadlessSystemUser_SwitchForegroundUser() 211 private void switchUser(int userId) throws Exception { in switchUser() method in Camera2HeadlessSystemUserTest
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | ShortcutManagerMultiuserTest.java | 72 getDevice().switchUser(secondUserID); in testSecondaryUser()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | BaseMultiUserBackupHostSideTest.java | 83 mDevice.switchUser(primaryUserId); in setUp() 91 mDevice.switchUser(mInitialUser.get()); in tearDown()
|
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/ |
D | ActivityManagerHelperTest.java | 301 switchUser(testUserId); in testStopAllTasksForUser() 309 switchUser(initialCurrentUserId); in testStopAllTasksForUser() 328 switchUser(initialCurrentUserId); in deepCleanTestStopAllTasksForUser() 478 private static void switchUser(int userId) throws Exception { in switchUser() method in ActivityManagerHelperTest
|