Home
last modified time | relevance | path

Searched refs:listUsers (Results 1 – 11 of 11) 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.java52 when(mMockDevice.listUsers()).thenReturn(Lists.newArrayList(0, 1, 2, 3)); in testRemoveUsers()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DUserCleaner.java44 for (Integer id : device.listUsers()) { in tearDown()
/tools/tradefederation/core/src/com/android/tradefed/util/
DUserUtil.java123 for (int userId : device.listUsers()) { in findExistingSecondary()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DUserUtilTest.java119 when(device.listUsers()).thenReturn(new ArrayList<Integer>(Arrays.asList(userIds))); in mockListUsers()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceTest.java2427 ArrayList<Integer> actual = mTestDevice.listUsers(); in testListUsers_oneUser()
2442 mTestDevice.listUsers(); in testListUsers_invalidOutput()
2459 mTestDevice.listUsers(); in testListUsers_unparsableOutput()
2482 ArrayList<Integer> actual = mTestDevice.listUsers(); in testListUsers_multiUsers()
3723 public ArrayList<Integer> listUsers() throws DeviceNotAvailableException { in testGetAndroidIds()
3746 public ArrayList<Integer> listUsers() throws DeviceNotAvailableException { in testGetAndroidIds_noUser()
3759 public ArrayList<Integer> listUsers() throws DeviceNotAvailableException { in testGetAndroidIds_noMatch()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DUserChecker.java144 mUsers = device.listUsers(); in DeviceUserState()
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/
DUserCheckerTest.java233 when(device.listUsers()).thenReturn(new ArrayList<Integer>(Arrays.asList(userIds))); in mockListUsers()
/tools/tradefederation/core/src/com/android/tradefed/device/
DITestDevice.java665 ArrayList<Integer> listUsers() throws DeviceNotAvailableException; in listUsers() method
DTestDevice.java1032 public ArrayList<Integer> listUsers() throws DeviceNotAvailableException { in listUsers() method in TestDevice
1537 ArrayList<Integer> userIds = listUsers(); in getAndroidIds()
DNativeDevice.java3815 public ArrayList<Integer> listUsers() throws DeviceNotAvailableException { in listUsers() method in NativeDevice