/cts/hostsidetests/appsearch/src/android/appsearch/cts/ |
D | AppSearchMultiUserTest.java | 60 assertThat(testInfo.getDevice().startUser(sSecondaryUserId)).isTrue(); in setUpClass() 66 getDevice().startUser(sSecondaryUserId, /*waitFlag=*/true); in setUp() 113 getDevice().startUser(sSecondaryUserId, /*waitFlag=*/true); in testStopUser_persistData() 126 getDevice().startUser(sSecondaryUserId, /*waitFlag=*/true); in testPackageUninstall_onLockedUser() 148 getDevice().startUser(sSecondaryUserId, /*waitFlag=*/true); in testReadStorageInfoFromFile() 155 getDevice().startUser(sSecondaryUserId, /*waitFlag=*/true); in testReadStorageInfoFromFile()
|
D | EnterpriseContactsMultiUserTest.java | 95 assertThat(device.startUser(profileId)).isTrue(); in createSecondaryUser() 118 assertThat(device.startUser(sEnterpriseUserId, /*waitFlag=*/ true)).isTrue(); in setUpEnterpriseProfile() 207 sDevice.startUser(sEnterpriseUserId, /*waitFlag=*/ true); in testMainUser_doesNotHaveEnterpriseAccessIfEnterpriseProfileIsStopped()
|
D | ContactsIndexerMultiUserTest.java | 57 assertThat(testInfo.getDevice().startUser(sSecondaryUserId)).isTrue(); in setUpClass() 135 getDevice().startUser(sSecondaryUserId, /*waitFlag=*/ true); in startUserAndInstallPackage()
|
/cts/hostsidetests/content/src/android/content/cts/ |
D | ContextCrossProfileHostTest.java | 107 getDevice().startUser(userInSameProfileGroup, /* waitFlag= */true); in testBindServiceAsUser_differentUser_bindsServiceToCorrectUser() 135 getDevice().startUser(userInSameProfileGroup, /* waitFlag= */true); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossUsersPermission_bindsService() 163 getDevice().startUser(userInSameProfileGroup, /* waitFlag= */true); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossUsersPermission_bindsService() 191 getDevice().startUser(userInSameProfileGroup, /* waitFlag= */true); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesPermission_bindsService() 219 getDevice().startUser(userInSameProfileGroup, /* waitFlag= */true); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossProfilesPermission_throwsException() 247 getDevice().startUser(userInSameProfileGroup, /* waitFlag= */true); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesAppOp_bindsService() 275 getDevice().startUser(userInSameProfileGroup, /* waitFlag= */true); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossProfilesAppOp_throwsException() 302 getDevice().startUser(userInDifferentProfileGroup, /* waitFlag= */true); in testBindServiceAsUser_differentProfileGroup_samePackage_withAcrossUsersPermission_bindsService() 331 getDevice().startUser(userInDifferentProfileGroup, /* waitFlag= */true); in testBindServiceAsUser_differentProfileGroup_differentPackage_withAcrossUsersPermission_throwsException() 360 getDevice().startUser(userInDifferentProfileGroup, /* waitFlag= */true); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesAppOp_throwsException() [all …]
|
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ |
D | ShortcutManagerMultiuserTest.java | 51 getDevice().startUser(profileId, /* wait */ true); in testManagedUser() 71 getDevice().startUser(secondUserID, true); in testSecondaryUser()
|
/cts/hostsidetests/webkit/src/com/android/cts/webkit/ |
D | WebViewHostSideMultipleProfileTest.java | 81 startUser(mUserId); in testSecondaryUser() 93 startUser(mUserId); in testManagedProfile() 142 private void startUser(int userId) throws DeviceNotAvailableException { in startUser() method in WebViewHostSideMultipleProfileTest 143 if (!mDevice.startUser(userId)) { in startUser()
|
/cts/hostsidetests/backup/src/android/cts/backup/ |
D | BaseMultiUserBackupHostSideTest.java | 115 void startUser(int userId) throws DeviceNotAvailableException { in startUser() method in BaseMultiUserBackupHostSideTest 116 boolean startSuccessful = mDevice.startUser(userId, /* wait for RUNNING_UNLOCKED */ true); in startUser() 128 startUser(userId); in startUserAndInitializeForBackup()
|
D | MultiUserBackupStateTest.java | 59 startUser(profileUserId); in setUp()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | LauncherAppsMultiUserTest.java | 50 startUser(mSecondaryUserId); in setUp()
|
D | BaseDevicePolicyTest.java | 383 protected void startUser(int userId) throws Exception { in startUser() method in BaseDevicePolicyTest 385 getDevice().startUser(userId); in startUser() 391 getDevice().startUser(userId, /* waitFlag= */ true); in startUserAndWait() 400 protected void startUser(int userId, boolean waitFlag) throws Exception { in startUser() method in BaseDevicePolicyTest 401 getDevice().startUser(userId, waitFlag); in startUser() 659 startUser(userId); in createUser()
|
D | UserRestrictionsTest.java | 156 startUser(profileUserId); in testUserRestrictions_managedProfileOwnerOnly()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | PackageVisibilityTest.java | 90 getDevice().startUser(userId); in testUninstalledPackageVisibility() 136 getDevice().startUser(userId); in testUninstalledPackageVisibility()
|
D | AppDataIsolationTests.java | 341 getDevice().startUser(mOtherUser, true /* wait */); in testAppUnableToAccessOtherUserAppDataDir() 357 getDevice().startUser(mOtherUser, true /* wait */); in testAppUnableToAccessOtherUserAppDataDirApi29()
|
D | ResumeOnRebootHostTest.java | 200 getDevice().startUser(secondaryUser); in resumeOnReboot_TwoUsers_SingleUserUnlock_Success() 252 getDevice().startUser(secondaryUser); in resumeOnReboot_TwoUsers_BothUserUnlock_Success()
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | CVE_2023_20917.java | 49 device.startUser(workUserId); in testPocCVE_2023_20917()
|
D | CVE_2022_20360.java | 58 assumeTrue("Unable to create new guest user", device.startUser(newUser, true)); in testPocCVE_2022_20360()
|
D | CVE_2021_0595.java | 54 device.startUser(workUserId); in testPocCVE_2021_0595()
|
D | CVE_2023_21256.java | 61 assumeTrue(device.startUser(workUserId, true /* waitFlag */)); in testPocCVE_2023_21256()
|
D | CVE_2023_21107.java | 50 assumeTrue(device.startUser(mWorkUserId, true /* waitFlag */)); in withManagedUser()
|
D | Bug_261036568.java | 53 assumeTrue("Unable to create test user", device.startUser(newUser, /* wait */ true)); in testBug_261036568()
|
/cts/hostsidetests/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/ |
D | PackageManagerMultiUserTest.java | 44 getDevice().startUser(newUserId); in testGetInstalledModules()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | AbstractCarTestCase.java | 104 public void startUser(int userId) throws Exception { in startUser() method in AbstractCarTestCase
|
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/ |
D | Utils.java | 133 device.startUser(userIds[i]); in prepareMultipleUsers()
|
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/ |
D | BlobStoreMultiUserTest.java | 51 assertThat(testInfo.getDevice().startUser(mSecondaryUserId)).isTrue(); in setUpClass()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
D | UserReference.java | 267 return startUser(Display.INVALID_DISPLAY); in start() 288 return startUser(displayId); in startVisibleOnDisplay() 292 private UserReference startUser(int displayId) { in startUser() method in UserReference
|