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()
DBaseAppSecurityTest.java34 protected boolean mSupportsMultiUser; field in BaseAppSecurityTest
44 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUpBaseAppSecurityTest()
DPackageVisibilityTest.java80 if (!mSupportsMultiUser) { in testUninstalledPackageVisibility()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DUserRestrictionsTest.java116 if (!mHasFeature || !mSupportsMultiUser) { in testUserRestrictions_secondaryProfileOwnerOnly()
132 if (!mHasFeature || !mSupportsMultiUser || !mHasManagedUserFeature) { in testUserRestrictions_managedProfileOwnerOnly()
154 if (!mHasFeature || !mSupportsMultiUser) { in testUserRestrictions_layering()
192 if (!mHasFeature || !mSupportsMultiUser) { in testUserRestrictions_layering_profileOwnerNoLeaking()
220 if (!mHasFeature || !mSupportsMultiUser) { in testUserRestrictions_profileGlobalRestrictionsAsDo()
240 if (!mHasFeature || !mSupportsMultiUser || !mHasManagedUserFeature) { in testUserRestrictions_ProfileGlobalRestrictionsAsPo()
DDeviceAdminServiceProfileOwnerTest.java42 return mHasFeature && mSupportsMultiUser; in isTestEnabled()
DBaseDevicePolicyTest.java148 protected boolean mSupportsMultiUser; field in BaseDevicePolicyTest
178 mSupportsMultiUser = getMaxNumberOfUsersSupported() > 1; in setUp()
196 if(mSupportsMultiUser) { in setUp()
233 if (mSupportsMultiUser && getDevice().getCurrentUser() != mInitialUserId) { in tearDown()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DCreateUsersPermissionTest.java32 if (!mSupportsMultiUser) { in testCanCreateGuestUser()
40 if (!mSupportsMultiUser || !mIsSplitSystemUser) { in testCanCreateEphemeralUser()
51 if (!mSupportsMultiUser) { in testCanCreateRestrictedUser()
DBaseMultiUserTest.java43 protected boolean mSupportsMultiUser; field in BaseMultiUserTest
55 mSupportsMultiUser = getDevice().getMaxNumberOfUsersSupported() > 1; in setUp()
DCreateUsersNoAppCrashesTest.java56 if (!mSupportsMultiUser) { in testCanCreateGuestUser()
70 if (!mSupportsMultiUser) { in testCanCreateSecondaryUser()
DSecondaryUsersTest.java36 if (!isAutomotiveDevice() || !mSupportsMultiUser) { in testSwitchToSecondaryUserBeforeBootComplete()