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/src/android/car/cts/
DCarHostJUnit4TestCase.java149 int maxNumber = getDevice().getMaxNumberOfUsersSupported(); in requiresExtraUsers() local
152 if (currentNumber + numberOfUsers <= maxNumber) return; in requiresExtraUsers()
155 failCannotCreateUsers(numberOfUsers, currentNumber, maxNumber, /* isAdbRoot= */ false); in requiresExtraUsers()
159 mInitialMaximumNumberOfUsers = maxNumber; in requiresExtraUsers()
160 setMaxNumberUsers(maxNumber + numberOfUsers); in requiresExtraUsers()
163 maxNumber = getDevice().getMaxNumberOfUsersSupported(); in requiresExtraUsers()
164 if (currentNumber + numberOfUsers > maxNumber) { in requiresExtraUsers()
165 failCannotCreateUsers(numberOfUsers, currentNumber, maxNumber, /* isAdbRoot= */ true); in requiresExtraUsers()
169 private void failCannotCreateUsers(int numberOfUsers, int currentNumber, int maxNumber, in failCannotCreateUsers() argument
180 + ", limit is " + maxNumber + " and could not be increased (" + reason + "). " in failCannotCreateUsers()