Searched refs:listUsers (Results 1 – 7 of 7) 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()
59 when(mMockDevice.listUsers()).thenReturn(Lists.newArrayList(0, 1, 2, 3)); in testRemoveUsers()
2513 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()
452 ArrayList<Integer> userIds = listUsers(); in allowLegacyStorageForApps()1148 public ArrayList<Integer> listUsers() throws DeviceNotAvailableException { in listUsers() method in TestDevice1691 ArrayList<Integer> userIds = listUsers(); in getAndroidIds()
4115 public ArrayList<Integer> listUsers() throws DeviceNotAvailableException { in listUsers() method in NativeDevice
44 for (Integer id : device.listUsers()) { in tearDown()
694 ArrayList<Integer> listUsers() throws DeviceNotAvailableException; in listUsers() method