Home
last modified time | relevance | path

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

12

/cts/hostsidetests/appsearch/src/android/appsearch/cts/
DAppSearchMultiUserTest.java58 assertThat(getDevice().startUser(mSecondaryUserId)).isTrue(); in setUp()
90 getDevice().startUser(mSecondaryUserId, /*waitFlag=*/true); in testStopUser_persistData()
103 getDevice().startUser(mSecondaryUserId, /*waitFlag=*/true); in testPackageUninstall_onLockedUser()
112 getDevice().startUser(mSecondaryUserId, /*waitFlag=*/true); in testReadStorageInfoFromFile()
119 getDevice().startUser(mSecondaryUserId, /*waitFlag=*/true); in testReadStorageInfoFromFile()
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DShortcutManagerMultiuserTest.java49 getDevice().startUser(profileId, /* wait */ true); in testManagedUser()
67 getDevice().startUser(secondUserID, true); in testSecondaryUser()
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideMultipleProfileTest.java81 startUser(mUserId); in testSecondProfile()
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/
DCrossProfileAppsPermissionHostSideTest.java139 getDevice().startUser(mProfileId, /*waitFlag= */true); in testCanRequestInteractAcrossProfiles_packageNotInstalled_returnsTrue()
173 getDevice().startUser(mProfileId, /* waitFlag= */ true); in testCanRequestInteractAcrossProfiles_profileOwner_returnsFalse()
362 getDevice().startUser(mProfileId, /*waitFlag= */true); in addManagedProfileAndInstallRequiredPackages()
DLauncherAppsMultiUserTest.java50 startUser(mSecondaryUserId); in setUp()
DSeparateProfileChallengeTest.java63 startUser(profileUserId); in testSeparateProfileChallengePermissions()
DEphemeralUserTest.java63 startUser(userId); in testRemoveEphemeralOnStop()
DBaseDevicePolicyTest.java396 protected void startUser(int userId) throws Exception { in startUser() method in BaseDevicePolicyTest
398 getDevice().startUser(userId); in startUser()
404 getDevice().startUser(userId, /* waitFlag= */ true); in startUserAndWait()
413 protected void startUser(int userId, boolean waitFlag) throws Exception { in startUser() method in BaseDevicePolicyTest
414 getDevice().startUser(userId, waitFlag); in startUser()
674 startUser(userId); in createUser()
DUserRestrictionsTest.java139 startUser(profileUserId); in testUserRestrictions_managedProfileOwnerOnly()
DQuietModeHostsideTest.java218 startUser(mProfileId); in createAndStartManagedProfile()
DCrossProfileAppsHostSideTest.java305 startUser(mProfileId); in createAndStartManagedProfile()
DDeviceOwnerPlusProfileOwnerTest.java389 getDevice().startUser(secondaryUserId, /* waitFlag= */ true); in setupManagedSecondaryUser()
DDeviceOwnerTest.java861 startUser(mPrimaryUserId); in testSetUserControlDisabledPackages_multiUser_reboot_verifyPackageNotStopped()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPackageVisibilityTest.java86 getDevice().startUser(userId); in testUninstalledPackageVisibility()
132 getDevice().startUser(userId); in testUninstalledPackageVisibility()
DResumeOnRebootHostTest.java211 getDevice().startUser(secondaryUser); in resumeOnReboot_TwoUsers_SingleUserUnlock_Success()
270 getDevice().startUser(secondaryUser); in resumeOnReboot_TwoUsers_BothUserUnlock_Success()
DAppDataIsolationTests.java358 getDevice().startUser(mOtherUser, true /* wait */); in testAppUnableToAccessOtherUserAppDataDir()
374 getDevice().startUser(mOtherUser, true /* wait */); in testAppUnableToAccessOtherUserAppDataDirApi29()
DUtils.java151 device.startUser(userIds[i], true); in prepareMultipleUsers()
/cts/hostsidetests/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/
DPackageManagerMultiUserTest.java44 getDevice().startUser(newUserId); in testGetInstalledModules()
/cts/hostsidetests/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/
DMultiUserTest.java155 getDevice().startUser(secondaryUserId, true /* waitFlag */); in testSecondaryUser()
187 getDevice().startUser(secondaryUserId, true /* waitFlag */); in testSecondaryUser()
221 getDevice().startUser(profileUserId, true /* waitFlag */); in testProfileUser()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java132 device.startUser(userIds[i]); in prepareMultipleUsers()
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/
DBlobStoreMultiUserTest.java48 assertThat(testInfo.getDevice().startUser(mSecondaryUserId)).isTrue(); in setUpClass()
/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/
DAppBindingHostTest.java590 getDevice().startUser(userId); in testSecondaryUser()
616 getDevice().startUser(userId); in testSecondaryUser()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java149 getDevice().startUser(userId); in startUserAndWait()

12