Home
last modified time | relevance | path

Searched refs:mSupportsMultiUser (Results 1 – 11 of 11) sorted by relevance

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DInstantAppUserTest.java64 private boolean mSupportsMultiUser; field in InstantAppUserTest
73 mSupportsMultiUser = (users.length == 2); in setUp()
74 if (!mSupportsMultiUser) { in setUp()
87 if (!mSupportsMultiUser) { in tearDown()
99 if (!mSupportsMultiUser) { in testStartExposed01()
106 if (!mSupportsMultiUser) { in testStartExposed02()
113 if (!mSupportsMultiUser) { in testStartExposed03()
120 if (!mSupportsMultiUser) { in testStartExposed04()
127 if (!mSupportsMultiUser) { in testStartExposed05()
134 if (!mSupportsMultiUser) { in testStartExposed06()
[all …]
DApplicationVisibilityTest.java69 if (!mSupportsMultiUser) { in testPackageListCrossUserGrant()
96 if (!mSupportsMultiUser) { in testPackageListCrossUserNoGrant()
123 if (!mSupportsMultiUser) { in testPackageListOtherUserCrossUserGrant()
147 if (!mSupportsMultiUser) { in testPackageListOtherUserCrossUserNoGrant()
171 if (!mSupportsMultiUser) { in testApplicationListCrossUserGrant()
198 if (!mSupportsMultiUser) { in testApplicationListCrossUserNoGrant()
225 if (!mSupportsMultiUser) { in testApplicationListOtherUserCrossUserGrant()
249 if (!mSupportsMultiUser) { in testApplicationListOtherUserCrossUserNoGrant()
273 if (!mSupportsMultiUser) { in testGetPackagesForUidCrossUserGrant()
303 if (!mSupportsMultiUser) { in testGetPackagesForUidCrossUserNoGrant()
[all …]
DBaseAppSecurityTest.java34 protected boolean mSupportsMultiUser; field in BaseAppSecurityTest
43 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUpBaseAppSecurityTest()
DResumeOnRebootHostTest.java84 private boolean mSupportsMultiUser; field in ResumeOnRebootHostTest
102 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUp()
173 if (!mSupportsMultiUser) { in resumeOnReboot_TwoUsers_SingleUserUnlock_Success()
223 if (!mSupportsMultiUser) { in resumeOnReboot_TwoUsers_BothUserUnlock_Success()
DPackageVisibilityTest.java84 if (!mSupportsMultiUser) { in testUninstalledPackageVisibility()
DAppDataIsolationTests.java365 assumeTrue("Test requires multi-user support", mSupportsMultiUser); in assumeCanCreateUser()
/cts/hostsidetests/content/src/android/content/cts/
DBaseContextCrossProfileTest.java43 protected boolean mSupportsMultiUser; field in BaseContextCrossProfileTest
54 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUp()
68 if (mSupportsMultiUser) { in setFixedUsers()
DContextCrossProfileHostTest.java73 assumeTrue(mSupportsMultiUser); in setUp()
/cts/hostsidetests/accounts/src/android/host/accounts/
DBaseMultiUserTest.java49 protected boolean mSupportsMultiUser; field in BaseMultiUserTest
61 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUp()
DAccountManagerXUserTest.java76 assumeTrue(mSupportsMultiUser && mSupportsManagedUsers); in setUp()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java179 private boolean mSupportsMultiUser; field in BaseDevicePolicyTest
200 mSupportsMultiUser = getMaxNumberOfUsersSupported() > 1; in setUp()
219 if(mSupportsMultiUser) { in setUp()
291 if (mSupportsMultiUser && getDevice().getCurrentUser() != mInitialUserId) { in tearDown()
726 mSupportsMultiUser = getMaxNumberOfUsersSupported() > 1; in assumeSupportsMultiUser()
727 assumeTrue("device doesn't support multiple users", mSupportsMultiUser); in assumeSupportsMultiUser()