Home
last modified time | relevance | path

Searched refs:stopUser (Results 1 – 24 of 24) sorted by relevance

/cts/hostsidetests/appsearch/src/android/appsearch/cts/
DAppSearchMultiUserTest.java104 getDevice().stopUser(sSecondaryUserId, /*waitFlag=*/true, /*forceFlag=*/true); in testCreateSessionInStoppedUser()
112 getDevice().stopUser(sSecondaryUserId, /*waitFlag=*/true, /*forceFlag=*/true); in testStopUser_persistData()
124 getDevice().stopUser(sSecondaryUserId, /*waitFlag=*/true, /*forceFlag=*/true); in testPackageUninstall_onLockedUser()
147 getDevice().stopUser(sSecondaryUserId, /*waitFlag=*/true, /*forceFlag=*/true); in testReadStorageInfoFromFile()
154 getDevice().stopUser(sSecondaryUserId, /*waitFlag=*/true, /*forceFlag=*/true); in testReadStorageInfoFromFile()
DEnterpriseContactsMultiUserTest.java201 assertThat(sDevice.stopUser(sEnterpriseUserId, /*waitFlag=*/ true, /*forceFlag=*/ in testMainUser_doesNotHaveEnterpriseAccessIfEnterpriseProfileIsStopped()
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DShortcutManagerMultiuserTest.java80 getDevice().stopUser(secondUserID); in testSecondaryUser()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2022_20360.java77 device.stopUser(newUser); in testPocCVE_2022_20360()
DCVE_2023_21256.java77 device.stopUser(workUserId, true /* waitFlag */, true /* forceFlag */); in testPocCVE_2023_21256()
DCVE_2023_21107.java55 assumeTrue(device.stopUser(mWorkUserId, true /* waitFlag */, true /* forceFlag */)); in withManagedUser()
DBug_261036568.java67 device.stopUser(newUser); in testBug_261036568()
/cts/hostsidetests/backup/src/android/cts/backup/
DProfileScheduledJobHostSideTest.java152 mDevice.stopUser(profileUserId, /* waitFlag */ true, /* forceFlag */ true); in testKeyValueBackupJobCancelled()
212 mDevice.stopUser(profileUserId, /* waitFlag */ true, /* forceFlag */ true); in testFullBackupJobCancelled()
DMultiUserBackupStateTest.java103 getDevice().stopUser(userId, true, true); in removeUser()
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/admin/
DCarDevicePolicyManagerPermissionTest.java79 () -> mManager.stopUser(UserHandle.of(100))); in testStopUserPermission()
/cts/tests/tests/car/src/android/car/app/cts/
DMultiUserMultiDisplayWindowSecurityTest.java250 stopUser(userId); in cleanUpTestUsers()
256 private static void stopUser(int userId) { in stopUser() method in MultiUserMultiDisplayWindowSecurityTest
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideMultipleProfileTest.java170 if (!mDevice.stopUser(userId, /*waitFlag */true, /* stopFlag = */ true)) { in stopAndRemoveUser()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java135 device.stopUser(userIds[i]); in prepareMultipleUsers()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DDevicePolicySafetyCheckerIntegrationTest.java220 dpm.stopUser(admin, USER_HANDLE);
DCreateAndManageUserTest.java573 int actualResult = mDevicePolicyManager.stopUser(getWho(), userHandle); in stopUserAndCheckResult()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java191 device.stopUser(userIds[i], true, true); in prepareMultipleUsers()
/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/
DAppBindingHostTest.java625 getDevice().stopUser(userId); in testSecondaryUser()
/cts/tests/app/AppExitTest/src/android/app/cts/
DActivityManagerAppExitInfoTest.java351 private boolean stopUser(int userId, boolean waitFlag, boolean forceFlag) in stopUser() method in ActivityManagerAppExitInfoTest
1211 assertTrue(stopUser(mOtherUserId, true, true)); in removeTestUserIfNecessary()
1349 assertTrue(stopUser(mOtherUserId, true, true)); in testSecondaryUser()
/cts/tests/tests/car/src/android/car/cts/
DCarUserManagerTest.java199 mCarUserManager.stopUser(stopRequest, Runnable::run, in testStartUserOnDisplayAndStopUser()
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DDevicePolicyManagerWrapper.java144 doAnswer(answer).when(spy).stopUser(any(), any()); in getWrapper()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java487 protected void stopUser(int userId) throws Exception { in stopUser() method in BaseDevicePolicyTest
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java282 stopUser(mOtherUser, true, true); in cleanUp()
2884 private boolean stopUser(int userId, boolean waitFlag, boolean forceFlag) in stopUser() method in UsageStatsTest
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt160 …sion(android.Manifest.permission.INTERACT_ACROSS_USERS_FULL) public boolean stopUser(int, boolean);
Dcurrent.txt8257 …method public int stopUser(@NonNull android.content.ComponentName, @NonNull android.os.UserHandle);