Home
last modified time | relevance | path

Searched refs:getMaxNumberOfUsersSupported (Results 1 – 21 of 21) sorted by relevance

/cts/hostsidetests/multiuser/src/android/host/multiuser/
DCreateUsersPermissionTest.java68 int maxUsers = getDevice().getMaxNumberOfUsersSupported(); in testCanCreateGuestUserWhenUserLimitReached()
DUserManagerHostTest.java82 return getDevice().getMaxNumberOfUsersSupported() - nonGuestUsersCount; in remainingUsersAllowedToBeCreated()
DBaseMultiUserTest.java281 boolean supports = mDeviceTest.getDevice().getMaxNumberOfUsersSupported() > 1;
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DBaseAppSecurityTest.java43 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUpBaseAppSecurityTest()
DAppSecurityPreparer.java47 final int maxUsers = device.getMaxNumberOfUsersSupported(); in setUp()
DAppDataIsolationTests.java370 getDevice().getMaxNumberOfUsersSupported() > currentUserCount); in assumeCanCreateUser()
DResumeOnRebootHostTest.java102 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUp()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/users/
DMultiUserInfoStatsTests.java67 int maxSupportedUsers = getDevice().getMaxNumberOfUsersSupported(); in testMultiUserInfo()
/cts/hostsidetests/accounts/src/android/host/accounts/
DBaseMultiUserTest.java61 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUp()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java200 mSupportsMultiUser = getMaxNumberOfUsersSupported() > 1; in setUp()
426 protected int getMaxNumberOfUsersSupported() throws DeviceNotAvailableException { in getMaxNumberOfUsersSupported() method in BaseDevicePolicyTest
427 return getDevice().getMaxNumberOfUsersSupported(); in getMaxNumberOfUsersSupported()
629 return listUsers().size() + numberOfUsers <= getMaxNumberOfUsersSupported(); in canCreateAdditionalUsers()
638 int maxUsers = getDevice().getMaxNumberOfUsersSupported(); in assumeCanCreateAdditionalUsers()
640 + "at most " + getMaxNumberOfUsersSupported(), in assumeCanCreateAdditionalUsers()
726 mSupportsMultiUser = getMaxNumberOfUsersSupported() > 1; in assumeSupportsMultiUser()
DDeviceOwnerTest.java107 int maxUsers = getDevice().getMaxNumberOfUsersSupported(); in testCreateAndManageUser_MaxUsers()
194 int maxUsers = getDevice().getMaxNumberOfUsersSupported(); in testCreateAndManageUser_StartInBackground_MaxRunningUsers()
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
DBaseHostTestCase.java102 return device.getMaxNumberOfUsersSupported() > 1; in supportsMultipleUsers()
/cts/hostsidetests/car/util/src/android/car/cts/
DCarHostJUnit4TestCase.java178 getDevice().getMaxNumberOfUsersSupported() > 1); in assumeSupportsMultipleUsers()
188 int maxNumber = getDevice().getMaxNumberOfUsersSupported(); in requiresExtraUsers()
202 maxNumber = getDevice().getMaxNumberOfUsersSupported(); in requiresExtraUsers()
/cts/hostsidetests/packagemanager/multiuser/src/com/android/tests/packagemanager/multiuser/host/
DPackageManagerMultiUserTestBase.java51 getDevice().getMaxNumberOfUsersSupported() > 1); in setUp()
/cts/hostsidetests/webkit/src/com/android/cts/webkit/
DWebViewHostSideMultipleProfileTest.java179 return mDevice.getMaxNumberOfUsersSupported() > 1; in isMultiUsersSupported()
/cts/hostsidetests/content/src/android/content/cts/
DBaseContextCrossProfileTest.java54 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUp()
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/
DUsersComponent.kt283 val maxUsers: Int = getMaxNumberOfUsersSupported() in <lambda>()
335 private fun getMaxNumberOfUsersSupported(): Int { in <lambda>() method in com.android.bedstead.multiuser.UsersComponent
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/
DBaseHostTestCase.java70 return sDevice.getMaxNumberOfUsersSupported() > 1; in supportsMultipleUsers()
DAppCloningBaseHostTest.java149 return sDevice.getMaxNumberOfUsersSupported() > 2 in supportsMoreThanTwoUsers()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java251 getDevice().getMaxNumberOfUsersSupported(); in canCreateAdditionalUsers()
/cts/hostsidetests/os/src/android/os/cts/
DStaticSharedLibsHostTests.java725 final int maxUserCount = getDevice().getMaxNumberOfUsersSupported(); in testPruneUnusedStaticSharedLibrariesWithMultiUser_reboot_fullMode()
753 final int maxUserCount = getDevice().getMaxNumberOfUsersSupported(); in testPruneUnusedStaticSharedLibrariesWithMultiUser_reboot_instantMode()