Searched refs:getMaxNumberOfUsersSupported (Results 1 – 5 of 5) sorted by relevance
41 mMultiUserSupported = getMaxNumberOfUsersSupported() > 1 && getDevice().getApiLevel() >= 21; in setUp()
111 if (!mHasFeature || getMaxNumberOfUsersSupported() < 2) { in testRemoteBugreportWithTwoUsers()290 if (!mHasFeature || getMaxNumberOfUsersSupported() < 2) { in testSecurityLoggingWithTwoUsers()
97 mSupportsMultiUser = getMaxNumberOfUsersSupported() > 1; in setUp()153 protected int getMaxNumberOfUsersSupported() throws DeviceNotAvailableException { in getMaxNumberOfUsersSupported() method in BaseDevicePolicyTest154 return getDevice().getMaxNumberOfUsersSupported(); in getMaxNumberOfUsersSupported()278 return listUsers().size() + numberOfUsers <= getMaxNumberOfUsersSupported(); in canCreateAdditionalUsers()
99 if (!mHasFeature || getMaxNumberOfUsersSupported() < 2) { in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
51 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUp()