Searched refs:getMaxNumberOfUsersSupported (Results 1 – 3 of 3) sorted by relevance
39 mMultiUserSupported = getMaxNumberOfUsersSupported() > 1 && getDevice().getApiLevel() >= 21; in setUp()
99 if (!mHasFeature || getMaxNumberOfUsersSupported() < 2) { in testCannotSetDeviceOwnerWhenSecondaryUserPresent()
115 protected int getMaxNumberOfUsersSupported() throws DeviceNotAvailableException { in getMaxNumberOfUsersSupported() method in BaseDevicePolicyTest