Searched refs:listUsers (Results 1 – 11 of 11) sorted by relevance
48 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()
52 when(mMockDevice.listUsers()).thenReturn(Lists.newArrayList(0, 1, 2, 3)); in testRemoveUsers()
44 for (Integer id : device.listUsers()) { in tearDown()
123 for (int userId : device.listUsers()) { in findExistingSecondary()
119 when(device.listUsers()).thenReturn(new ArrayList<Integer>(Arrays.asList(userIds))); in mockListUsers()
2427 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()
144 mUsers = device.listUsers(); in DeviceUserState()
233 when(device.listUsers()).thenReturn(new ArrayList<Integer>(Arrays.asList(userIds))); in mockListUsers()
665 ArrayList<Integer> listUsers() throws DeviceNotAvailableException; in listUsers() method
1032 public ArrayList<Integer> listUsers() throws DeviceNotAvailableException { in listUsers() method in TestDevice1537 ArrayList<Integer> userIds = listUsers(); in getAndroidIds()
3815 public ArrayList<Integer> listUsers() throws DeviceNotAvailableException { in listUsers() method in NativeDevice