Searched refs:stopUser (Results 1 – 8 of 8) sorted by relevance
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | ITestDeviceMockHelper.java | 129 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/ |
D | TestDeviceUserFuncTest.java | 98 mTestDevice.stopUser(userId, true, false); in testStartUser_IsRunningUser_StopUser()
|
D | TestDeviceTest.java | 4426 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()
|
D | NativeDeviceTest.java | 739 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/ |
D | ITestDevice.java | 849 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/ |
D | VisibleBackgroundUserPreparer.java | 163 if (!device.stopUser(mUserId, /* waitFlag= */ true, /* forceFlag= */ true)) { in stopTestUser()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | TestDevice.java | 1946 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
|
D | NativeDevice.java | 4987 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
|