Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/
DITestDevice.java465 public boolean stopUser(int userId) throws DeviceNotAvailableException; in stopUser() method
477 public boolean stopUser(int userId, boolean waitFlag, boolean forceFlag) in stopUser() method
DTestDevice.java905 public boolean stopUser(int userId) throws DeviceNotAvailableException {
907 return stopUser(userId, false, false);
914 public boolean stopUser(int userId, boolean waitFlag, boolean forceFlag)
DNativeDevice.java3599 public boolean stopUser(int userId) throws DeviceNotAvailableException { in stopUser() method in NativeDevice
3607 public boolean stopUser(int userId, boolean waitFlag, boolean forceFlag) in stopUser() method in NativeDevice
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java2695 assertFalse(mTestDevice.stopUser(0)); in testStopUser_notCurrent()
2725 assertFalse(mTestDevice.stopUser(0)); in testStopUser_notSystem()
2784 assertTrue(mTestDevice.stopUser(10, wait, force)); in verifyStopUserSuccess()
2796 mTestDevice.stopUser(10, true, false); in testStopUser_wait_api22()
2812 mTestDevice.stopUser(10, false, true); in testStopUser_force_api22()
2853 assertFalse(mTestDevice.stopUser(0)); in testStopUser_failed()
DNativeDeviceTest.java561 mTestDevice.stopUser(0); in testStopUser_exception()
573 mTestDevice.stopUser(0, true, true); in testStopUserFlags_exception()