Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DLauncherAppsMultiUserTest.java41 mMultiUserSupported = getMaxNumberOfUsersSupported() > 1 && getDevice().getApiLevel() >= 21; in setUp()
DCustomDeviceOwnerTest.java88 if (!mHasFeature || getMaxNumberOfUsersSupported() < 2) { in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
DBaseDevicePolicyTest.java157 mSupportsMultiUser = getMaxNumberOfUsersSupported() > 1; in setUp()
250 protected int getMaxNumberOfUsersSupported() throws DeviceNotAvailableException { in getMaxNumberOfUsersSupported() method in BaseDevicePolicyTest
251 return getDevice().getMaxNumberOfUsersSupported(); in getMaxNumberOfUsersSupported()
508 return listUsers().size() + numberOfUsers <= getMaxNumberOfUsersSupported(); in canCreateAdditionalUsers()
DBaseDeviceAdminServiceTest.java52 mMultiUserSupported = getMaxNumberOfUsersSupported() > 1 && getDevice().getApiLevel() >= 21; in setUp()
DDeviceOwnerTest.java209 int maxUsers = getDevice().getMaxNumberOfUsersSupported(); in testCreateAndManageUser_MaxUsers()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DCreateUsersPermissionTest.java83 int maxUsers = getDevice().getMaxNumberOfUsersSupported(); in testCanCreateGuestUserWhenUserLimitReached()
DBaseMultiUserTest.java55 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUp()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DBaseAppSecurityTest.java44 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUpBaseAppSecurityTest()
DAppSecurityPreparer.java47 final int maxUsers = device.getMaxNumberOfUsersSupported(); in setUp()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java301 getDevice().getMaxNumberOfUsersSupported(); in canCreateAdditionalUsers()