Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DUserCleanerFuncTest.java48 for (int id : device.listUsers()) { in tearDown()
56 assertEquals("one user initially", 1, device.listUsers().size()); in testTearDown()
60 assertEquals("additional users created", 3, device.listUsers().size()); in testTearDown()
63 assertEquals("additional users removed", 1, device.listUsers().size()); in testTearDown()
DUserCleanerTest.java59 when(mMockDevice.listUsers()).thenReturn(Lists.newArrayList(0, 1, 2, 3)); in testRemoveUsers()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java2513 ArrayList<Integer> actual = mTestDevice.listUsers(); in testListUsers_oneUser()
2528 mTestDevice.listUsers(); in testListUsers_invalidOutput()
2545 mTestDevice.listUsers(); in testListUsers_unparsableOutput()
2568 ArrayList<Integer> actual = mTestDevice.listUsers(); in testListUsers_multiUsers()
4061 public ArrayList<Integer> listUsers() throws DeviceNotAvailableException { in testGetAndroidIds()
4084 public ArrayList<Integer> listUsers() throws DeviceNotAvailableException { in testGetAndroidIds_noUser()
4097 public ArrayList<Integer> listUsers() throws DeviceNotAvailableException { in testGetAndroidIds_noMatch()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java452 ArrayList<Integer> userIds = listUsers(); in allowLegacyStorageForApps()
1148 public ArrayList<Integer> listUsers() throws DeviceNotAvailableException { in listUsers() method in TestDevice
1691 ArrayList<Integer> userIds = listUsers(); in getAndroidIds()
DNativeDevice.java4115 public ArrayList<Integer> listUsers() throws DeviceNotAvailableException { in listUsers() method in NativeDevice
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DUserCleaner.java44 for (Integer id : device.listUsers()) { in tearDown()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java694 ArrayList<Integer> listUsers() throws DeviceNotAvailableException; in listUsers() method