Home
last modified time | relevance | path

Searched refs:canCreateAdditionalUsers (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceOwnerPlusProfileOwnerTest.java178 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()
DEphemeralUserTest.java27 mHasFeature = canCreateAdditionalUsers(1); in setUp()
62 || !canCreateAdditionalUsers(2) in testProfileInheritsEphemeral()
DDeviceOwnerTest.java123 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()
DCrossProfileAppsHostSideTest.java46 if (canCreateAdditionalUsers(1)) { in setUp()
DBaseDevicePolicyTest.java506 protected boolean canCreateAdditionalUsers(int numberOfUsers) in canCreateAdditionalUsers() method in BaseDevicePolicyTest
DDeviceAndProfileOwnerTest.java1113 if (!mHasFeature || !canCreateAdditionalUsers(1) || mUserId != getPrimaryUser()) { in testCannotRemoveUserIfRestrictionSet()
/cts/hostsidetests/media/src/android/media/session/cts/
DMediaSessionManagerHostTest.java140 if (!canCreateAdditionalUsers(1)) { in testGetActiveSessions_additionalUser()
179 if (!canCreateAdditionalUsers(1)) { in testGetActiveSessions_restrictedProfiles()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java298 protected boolean canCreateAdditionalUsers(int numberOfUsers) in canCreateAdditionalUsers() method in BaseMultiUserTest