Home
last modified time | relevance | path

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

/cts/hostsidetests/car/util/src/android/car/cts/
DCarHostJUnit4TestCase.java189 int currentNumber = getDevice().listUsers().size(); in requiresExtraUsers() local
191 if (currentNumber + numberOfUsers <= maxNumber) return; in requiresExtraUsers()
194 failCannotCreateUsers(numberOfUsers, currentNumber, maxNumber, /* isAdbRoot= */ false); in requiresExtraUsers()
203 if (currentNumber + numberOfUsers > maxNumber) { in requiresExtraUsers()
204 failCannotCreateUsers(numberOfUsers, currentNumber, maxNumber, /* isAdbRoot= */ true); in requiresExtraUsers()
208 private void failCannotCreateUsers(int numberOfUsers, int currentNumber, int maxNumber, in failCannotCreateUsers() argument
218 fail("Cannot create " + numberOfUsers + " users: current number is " + currentNumber in failCannotCreateUsers()