Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DLauncherAppsMultiUserTest.java41 mMultiUserSupported = getMaxNumberOfUsersSupported() > 1 && getDevice().getApiLevel() >= 21; in setUp()
DDeviceOwnerTest.java111 if (!mHasFeature || getMaxNumberOfUsersSupported() < 2) { in testRemoteBugreportWithTwoUsers()
290 if (!mHasFeature || getMaxNumberOfUsersSupported() < 2) { in testSecurityLoggingWithTwoUsers()
DBaseDevicePolicyTest.java97 mSupportsMultiUser = getMaxNumberOfUsersSupported() > 1; in setUp()
153 protected int getMaxNumberOfUsersSupported() throws DeviceNotAvailableException { in getMaxNumberOfUsersSupported() method in BaseDevicePolicyTest
154 return getDevice().getMaxNumberOfUsersSupported(); in getMaxNumberOfUsersSupported()
278 return listUsers().size() + numberOfUsers <= getMaxNumberOfUsersSupported(); in canCreateAdditionalUsers()
DCustomDeviceOwnerTest.java99 if (!mHasFeature || getMaxNumberOfUsersSupported() < 2) { in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java51 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUp()