Searched refs:getMaxNumberOfUsersSupported (Results 1 – 10 of 10) sorted by relevance
41 mMultiUserSupported = getMaxNumberOfUsersSupported() > 1 && getDevice().getApiLevel() >= 21; in setUp()
88 if (!mHasFeature || getMaxNumberOfUsersSupported() < 2) { in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
157 mSupportsMultiUser = getMaxNumberOfUsersSupported() > 1; in setUp()250 protected int getMaxNumberOfUsersSupported() throws DeviceNotAvailableException { in getMaxNumberOfUsersSupported() method in BaseDevicePolicyTest251 return getDevice().getMaxNumberOfUsersSupported(); in getMaxNumberOfUsersSupported()508 return listUsers().size() + numberOfUsers <= getMaxNumberOfUsersSupported(); in canCreateAdditionalUsers()
52 mMultiUserSupported = getMaxNumberOfUsersSupported() > 1 && getDevice().getApiLevel() >= 21; in setUp()
209 int maxUsers = getDevice().getMaxNumberOfUsersSupported(); in testCreateAndManageUser_MaxUsers()
83 int maxUsers = getDevice().getMaxNumberOfUsersSupported(); in testCanCreateGuestUserWhenUserLimitReached()
55 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUp()
44 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUpBaseAppSecurityTest()
47 final int maxUsers = device.getMaxNumberOfUsersSupported(); in setUp()
301 getDevice().getMaxNumberOfUsersSupported(); in canCreateAdditionalUsers()