Searched refs:canCreateAdditionalUsers (Results 1 – 8 of 8) sorted by relevance
178 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testBindDeviceAdminServiceAsUser_secondaryUser()199 if (!mHasFeature || !canCreateAdditionalUsers(2)) { in testBindDeviceAdminServiceAsUser_compPlusSecondaryUser()233 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testCannotRemoveUserIfRestrictionSet()340 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testWipeData_secondaryUser()356 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testWipeData_secondaryUserLogged()371 if (canCreateAdditionalUsers(2)) { in testNetworkAndSecurityLoggingAvailableIfAffiliated()424 if (canCreateAdditionalUsers(2)) { in testRequestBugreportAvailableIfAffiliated()610 assertTrue(canCreateAdditionalUsers(1)); in setupManagedSecondaryUser()
27 mHasFeature = canCreateAdditionalUsers(1); in setUp()62 || !canCreateAdditionalUsers(2) in testProfileInheritsEphemeral()
123 mHasCreateAndManageUserFeature = mHasFeature && canCreateAdditionalUsers(1) in setUp()170 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testRemoteBugreportWithTwoUsers()427 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testSecurityLoggingWithTwoUsers()514 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testNetworkLoggingWithTwoUsers()645 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testLockTask_unaffiliatedUser()671 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testLockTask_affiliatedSecondaryUser()955 if (!mHasFeature || !canCreateAdditionalUsers(1)) { in testPackageInstallCache_multiUser()
46 if (canCreateAdditionalUsers(1)) { in setUp()
506 protected boolean canCreateAdditionalUsers(int numberOfUsers) in canCreateAdditionalUsers() method in BaseDevicePolicyTest
1113 if (!mHasFeature || !canCreateAdditionalUsers(1) || mUserId != getPrimaryUser()) { in testCannotRemoveUserIfRestrictionSet()
140 if (!canCreateAdditionalUsers(1)) { in testGetActiveSessions_additionalUser()179 if (!canCreateAdditionalUsers(1)) { in testGetActiveSessions_restrictedProfiles()
298 protected boolean canCreateAdditionalUsers(int numberOfUsers) in canCreateAdditionalUsers() method in BaseMultiUserTest