Home
last modified time | relevance | path

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

/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DMaxVisibleDatasetsRule.java42 public MaxVisibleDatasetsRule(int maxNumber) { in MaxVisibleDatasetsRule() argument
43 mMaxNumber = maxNumber; in MaxVisibleDatasetsRule()
/cts/hostsidetests/car/util/src/android/car/cts/
DCarHostJUnit4TestCase.java188 int maxNumber = getDevice().getMaxNumberOfUsersSupported(); in requiresExtraUsers() local
191 if (currentNumber + numberOfUsers <= maxNumber) return; in requiresExtraUsers()
194 failCannotCreateUsers(numberOfUsers, currentNumber, maxNumber, /* isAdbRoot= */ false); in requiresExtraUsers()
198 mInitialMaximumNumberOfUsers = maxNumber; in requiresExtraUsers()
199 setMaxNumberUsers(maxNumber + numberOfUsers); in requiresExtraUsers()
202 maxNumber = getDevice().getMaxNumberOfUsersSupported(); 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
219 + ", limit is " + maxNumber + " and could not be increased (" + reason + "). " in failCannotCreateUsers()