Home
last modified time | relevance | path

Searched refs:createUser (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DUserCleanerFuncTest.java58 device.createUser(UUID.randomUUID().toString()); in testTearDown()
59 device.createUser(UUID.randomUUID().toString()); in testTearDown()
DCreateUserPreparerTest.java49 doReturn(5).when(mMockDevice).createUser(Mockito.any()); in testSetUp_tearDown()
77 .createUser(Mockito.any()); in testSetUp_failed()
/tools/tradefederation/core/src/com/android/tradefed/device/
DITestDevice.java625 public int createUser(String name) throws DeviceNotAvailableException, IllegalStateException; in createUser() method
645 public int createUser(String name, boolean guest, boolean ephemeral) in createUser() method
DTestDevice.java1115 public int createUser(String name) throws DeviceNotAvailableException, IllegalStateException { in createUser() method in TestDevice
1116 return createUser(name, false, false); in createUser()
1123 return createUser(name); in createUserNoThrow()
1134 public int createUser(String name, boolean guest, boolean ephemeral) in createUser() method in TestDevice
DNativeDevice.java3850 public int createUser(String name) throws DeviceNotAvailableException, IllegalStateException { in createUser() method in NativeDevice
3858 public int createUser(String name, boolean guest, boolean ephemeral) in createUser() method in NativeDevice
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DCreateUserPreparer.java42 mCreatedUserId = device.createUser(TF_CREATED_USER); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java2568 assertEquals(10, mTestDevice.createUser("foo")); in testCreateUser()
2582 assertEquals(12, mTestDevice.createUser("TEST", true, true)); in testCreateUserFlags()
2596 mTestDevice.createUser("TEST", true, true); in testCreateUser_wrongOutput()
2612 mTestDevice.createUser("foo"); in testCreateUser_failed()