Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/
DITestDevice.java518 public boolean switchUser(int userId) throws DeviceNotAvailableException; in switchUser() method
528 public boolean switchUser(int userId, long timeout) throws DeviceNotAvailableException; in switchUser() method
DTestDevice.java1046 public boolean switchUser(int userId) throws DeviceNotAvailableException {
1047 return switchUser(userId, AM_COMMAND_TIMEOUT);
1054 public boolean switchUser(int userId, long timeout) throws DeviceNotAvailableException {
DNativeDevice.java3664 public boolean switchUser(int userId) throws DeviceNotAvailableException { in switchUser() method in NativeDevice
3672 public boolean switchUser(int userId, long timeout) throws DeviceNotAvailableException { in switchUser() method in NativeDevice
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java2545 assertTrue(mTestDevice.switchUser(0)); in testSwitchUser_alreadySameUser()
2576 assertTrue(mTestDevice.switchUser(10)); in testSwitchUser()
2630 assertTrue(mTestDevice.switchUser(10)); in testSwitchUser_delay()
2665 assertFalse(mTestDevice.switchUser(10, 100)); in testSwitchUser_noChange()
DNativeDeviceTest.java537 mTestDevice.switchUser(10); in testSwitchUser_exception()
549 mTestDevice.switchUser(10, 5*1000); in testSwitchUserTimeout_exception()