Searched refs:currentNumber (Results 1 – 1 of 1) sorted by relevance
189 int currentNumber = getDevice().listUsers().size(); in requiresExtraUsers() local191 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() argument218 fail("Cannot create " + numberOfUsers + " users: current number is " + currentNumber in failCannotCreateUsers()