Home
last modified time | relevance | path

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

/tools/tradefederation/core/javatests/com/android/tradefed/util/
DITestDeviceMockHelper.java129 verify(mMockDevice).stopUser(userId, /* waitFlag= */ true, /* forceFlag= */ true); in verifyUserStopped()
133 verify(mMockDevice, never()).stopUser(anyInt(), anyBoolean(), anyBoolean()); in verifyNoUserStopped()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DTestDeviceUserFuncTest.java98 mTestDevice.stopUser(userId, true, false); in testStartUser_IsRunningUser_StopUser()
DTestDeviceTest.java4426 assertFalse(mTestDevice.stopUser(0)); in testStopUser_notCurrent()
4455 assertFalse(mTestDevice.stopUser(0)); in testStopUser_notSystem()
4517 assertTrue(mTestDevice.stopUser(10, wait, force)); in verifyStopUserSuccess()
4530 mTestDevice.stopUser(10, true, false); in testStopUser_wait_api22()
4547 mTestDevice.stopUser(10, false, true); in testStopUser_force_api22()
4587 assertFalse(mTestDevice.stopUser(0)); in testStopUser_failed()
DNativeDeviceTest.java739 mTestDevice.stopUser(0); in testStopUser_exception()
750 mTestDevice.stopUser(0, true, true); in testStopUserFlags_exception()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java849 public boolean stopUser(int userId) throws DeviceNotAvailableException; in stopUser() method
861 public boolean stopUser(int userId, boolean waitFlag, boolean forceFlag) in stopUser() method
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DVisibleBackgroundUserPreparer.java163 if (!device.stopUser(mUserId, /* waitFlag= */ true, /* forceFlag= */ true)) { in stopTestUser()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java1946 public boolean stopUser(int userId) throws DeviceNotAvailableException { in stopUser() method in TestDevice
1948 return stopUser(userId, false, false); in stopUser()
1955 public boolean stopUser(int userId, boolean waitFlag, boolean forceFlag) in stopUser() method in TestDevice
DNativeDevice.java4987 public boolean stopUser(int userId) throws DeviceNotAvailableException { in stopUser() method in NativeDevice
4995 public boolean stopUser(int userId, boolean waitFlag, boolean forceFlag) in stopUser() method in NativeDevice