Home
last modified time | relevance | path

Searched refs:startUser (Results 1 – 25 of 38) sorted by relevance

12

/cts/hostsidetests/appsearch/src/android/appsearch/cts/
DAppSearchMultiUserTest.java60 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()
DEnterpriseContactsMultiUserTest.java95 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()
DContactsIndexerMultiUserTest.java57 assertThat(testInfo.getDevice().startUser(sSecondaryUserId)).isTrue(); in setUpClass()
135 getDevice().startUser(sSecondaryUserId, /*waitFlag=*/ true); in startUserAndInstallPackage()
/cts/hostsidetests/content/src/android/content/cts/
DContextCrossProfileHostTest.java107 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/
DShortcutManagerMultiuserTest.java51 getDevice().startUser(profileId, /* wait */ true); in testManagedUser()
71 getDevice().startUser(secondUserID, true); in testSecondaryUser()
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideMultipleProfileTest.java81 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/
DBaseMultiUserBackupHostSideTest.java115 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()
DMultiUserBackupStateTest.java59 startUser(profileUserId); in setUp()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DLauncherAppsMultiUserTest.java50 startUser(mSecondaryUserId); in setUp()
DBaseDevicePolicyTest.java383 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()
DUserRestrictionsTest.java156 startUser(profileUserId); in testUserRestrictions_managedProfileOwnerOnly()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPackageVisibilityTest.java90 getDevice().startUser(userId); in testUninstalledPackageVisibility()
136 getDevice().startUser(userId); in testUninstalledPackageVisibility()
DAppDataIsolationTests.java341 getDevice().startUser(mOtherUser, true /* wait */); in testAppUnableToAccessOtherUserAppDataDir()
357 getDevice().startUser(mOtherUser, true /* wait */); in testAppUnableToAccessOtherUserAppDataDirApi29()
DResumeOnRebootHostTest.java200 getDevice().startUser(secondaryUser); in resumeOnReboot_TwoUsers_SingleUserUnlock_Success()
252 getDevice().startUser(secondaryUser); in resumeOnReboot_TwoUsers_BothUserUnlock_Success()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2023_20917.java49 device.startUser(workUserId); in testPocCVE_2023_20917()
DCVE_2022_20360.java58 assumeTrue("Unable to create new guest user", device.startUser(newUser, true)); in testPocCVE_2022_20360()
DCVE_2021_0595.java54 device.startUser(workUserId); in testPocCVE_2021_0595()
DCVE_2023_21256.java61 assumeTrue(device.startUser(workUserId, true /* waitFlag */)); in testPocCVE_2023_21256()
DCVE_2023_21107.java50 assumeTrue(device.startUser(mWorkUserId, true /* waitFlag */)); in withManagedUser()
DBug_261036568.java53 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/
DPackageManagerMultiUserTest.java44 getDevice().startUser(newUserId); in testGetInstalledModules()
/cts/tests/tests/car/src/android/car/cts/
DAbstractCarTestCase.java104 public void startUser(int userId) throws Exception { in startUser() method in AbstractCarTestCase
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java133 device.startUser(userIds[i]); in prepareMultipleUsers()
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/
DBlobStoreMultiUserTest.java51 assertThat(testInfo.getDevice().startUser(mSecondaryUserId)).isTrue(); in setUpClass()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUserReference.java267 return startUser(Display.INVALID_DISPLAY); in start()
288 return startUser(displayId); in startVisibleOnDisplay()
292 private UserReference startUser(int displayId) { in startUser() method in UserReference

12