Searched refs:canStartAdditionalUsers (Results 1 – 2 of 2) sorted by relevance
235 if (!mHasCreateAndManageUserFeature || !canStartAdditionalUsers(1)) { in testCreateAndManageUser_SwitchUser()249 if (!mHasCreateAndManageUserFeature || !canStartAdditionalUsers(1)) { in testCreateAndManageUser_CannotStopCurrentUser()263 if (!mHasCreateAndManageUserFeature || !canStartAdditionalUsers(1)) { in testCreateAndManageUser_StartInBackground()307 if (!mHasCreateAndManageUserFeature || !canStartAdditionalUsers(1)) { in testCreateAndManageUser_StopUser()322 if (!mHasCreateAndManageUserFeature || !canStartAdditionalUsers(1)) { in testCreateAndManageUser_StopEphemeralUser_DisallowRemoveUser()337 if (!mHasCreateAndManageUserFeature || !canStartAdditionalUsers(1)) { in testCreateAndManageUser_LogoutUser()352 if (!mHasCreateAndManageUserFeature || !canStartAdditionalUsers(1)) { in testCreateAndManageUser_Affiliated()366 if (!mHasCreateAndManageUserFeature || !canStartAdditionalUsers(1)) { in testCreateAndManageUser_Ephemeral()388 if (!mHasCreateAndManageUserFeature || !canStartAdditionalUsers(1)) { in testCreateAndManageUser_LeaveAllSystemApps()
579 protected boolean canStartAdditionalUsers(int numberOfUsers) in canStartAdditionalUsers() method in BaseDevicePolicyTest