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.java62 private boolean mSupportsMultiUser; field in InstantAppUserTest
71 mSupportsMultiUser = (users.length == 2); in setUp()
72 if (!mSupportsMultiUser) { in setUp()
85 if (!mSupportsMultiUser) { in tearDown()
97 if (!mSupportsMultiUser) { in testStartExposed01()
104 if (!mSupportsMultiUser) { in testStartExposed02()
111 if (!mSupportsMultiUser) { in testStartExposed03()
118 if (!mSupportsMultiUser) { in testStartExposed04()
125 if (!mSupportsMultiUser) { in testStartExposed05()
132 if (!mSupportsMultiUser) { in testStartExposed06()
[all …]
DApplicationVisibilityTest.java67 if (!mSupportsMultiUser) { in testPackageListCrossUserGrant()
94 if (!mSupportsMultiUser) { in testPackageListCrossUserNoGrant()
121 if (!mSupportsMultiUser) { in testPackageListOtherUserCrossUserGrant()
145 if (!mSupportsMultiUser) { in testPackageListOtherUserCrossUserNoGrant()
169 if (!mSupportsMultiUser) { in testApplicationListCrossUserGrant()
196 if (!mSupportsMultiUser) { in testApplicationListCrossUserNoGrant()
223 if (!mSupportsMultiUser) { in testApplicationListOtherUserCrossUserGrant()
247 if (!mSupportsMultiUser) { in testApplicationListOtherUserCrossUserNoGrant()
271 if (!mSupportsMultiUser) { in testGetPackagesForUidCrossUserGrant()
298 if (!mSupportsMultiUser) { in testGetPackagesForUidCrossUserNoGrant()
DBaseAppSecurityTest.java34 protected boolean mSupportsMultiUser; field in BaseAppSecurityTest
44 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUpBaseAppSecurityTest()
DResumeOnRebootHostTest.java72 private boolean mSupportsMultiUser; field in ResumeOnRebootHostTest
82 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUp()
182 if (!mSupportsMultiUser) { in resumeOnReboot_TwoUsers_SingleUserUnlock_Success()
239 if (!mSupportsMultiUser) { in resumeOnReboot_TwoUsers_BothUserUnlock_Success()
DPackageVisibilityTest.java80 if (!mSupportsMultiUser) { in testUninstalledPackageVisibility()
DAppDataIsolationTests.java382 assumeTrue("Test requires multi-user support", mSupportsMultiUser); in assumeCanCreateUser()
/cts/hostsidetests/content/src/android/content/cts/
DBaseContextCrossProfileTest.java43 protected boolean mSupportsMultiUser; field in BaseContextCrossProfileTest
55 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUp()
70 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.java75 assumeTrue(mSupportsMultiUser && mSupportsManagedUsers); in setUp()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java184 private boolean mSupportsMultiUser; field in BaseDevicePolicyTest
204 mSupportsMultiUser = getMaxNumberOfUsersSupported() > 1; in setUp()
220 if(mSupportsMultiUser) { in setUp()
299 if (mSupportsMultiUser && getDevice().getCurrentUser() != mInitialUserId) { in tearDown()
730 assumeTrue("device doesn't support multiple users", mSupportsMultiUser); in assumeSupportsMultiUser()