Home
last modified time | relevance | path

Searched refs:supportsMultipleUsers (Results 1 – 25 of 34) sorted by relevance

12

/cts/tests/tests/security/src/android/security/cts/
DCVE_2023_21283.java50 .that(context.getSystemService(UserManager.class).supportsMultipleUsers()) in testPocCVE_2023_21283()
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/
DAppCloningBaseHostTest.java122 assumeTrue("Device doesn't support multiple users", supportsMultipleUsers()); in baseHostSetup()
139 return supportsMultipleUsers() && !isHeadlessSystemUserMode() && isAtLeastS() in isAppCloningSupportedOnDevice()
DBaseHostTestCase.java69 protected static boolean supportsMultipleUsers() throws DeviceNotAvailableException { in supportsMultipleUsers() method in BaseHostTestCase
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
DAppCloningMediaProviderHostTest.java76 assumeTrue("Device doesn't support multiple users", supportsMultipleUsers(sDevice)); in beforeClassWithDevice()
109 if (!supportsMultipleUsers(device) || isHeadlessSystemUserMode(device) in afterClass()
DBaseHostTestCase.java100 protected static boolean supportsMultipleUsers(ITestDevice device) in supportsMultipleUsers() method in BaseHostTestCase
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DUserManagerTest.java250 assumeTrue(mUserManager.supportsMultipleUsers()); in testIsUserForeground_differentContext_noPermission()
269 assumeTrue(mUserManager.supportsMultipleUsers()); in testIsUserForeground_differentContext_withPermission()
388 assumeTrue(mUserManager.supportsMultipleUsers()); in testCloneProfile()
460 assumeTrue(mUserManager.supportsMultipleUsers()); in testAddCloneProfile_shouldSendProfileAddedBroadcast()
504 assumeTrue(mUserManager.supportsMultipleUsers()); in testRemoveCloneProfile_shouldSendProfileRemovedBroadcast()
788 assumeTrue(mUserManager.supportsMultipleUsers()); in testSomeUserHasAccount()
804 assumeTrue(mUserManager.supportsMultipleUsers()); in testSomeUserHasAccount_shouldIgnoreToBeRemovedUsers()
829 assumeTrue(mUserManager.supportsMultipleUsers()); in testCreateUser_withNewUserRequest_shouldCreateUserWithCorrectProperties()
862 assumeTrue(mUserManager.supportsMultipleUsers()); in testCreateUser_withNewUserRequest_shouldNotAllowDuplicateUserAccounts()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40092/src/android/security/cts/CVE_2023_40092/
DDeviceTest.java55 .that(userManager.supportsMultipleUsers()) in testPocCVE_2023_40092()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21091/src/android/security/cts/CVE_2023_21091/
DDeviceTest.java56 .that(context.getSystemService(UserManager.class).supportsMultipleUsers()) in testPocCVE_2023_21091()
/cts/tests/tests/security/src/android/security/cts/BUG_293602970/
DBUG_293602970.java58 .that(context.getSystemService(UserManager.class).supportsMultipleUsers()) in testPocBUG_293602970()
/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpsMultiUserTest.kt44 Assume.assumeTrue(UserManager.supportsMultipleUsers()) in <lambda>()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/
DFeatureUtil.java217 || UserManager.isHeadlessSystemUserMode()) && UserManager.supportsMultipleUsers(); in supportManagedSecondaryUsers()
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/
DAnnotationLogicExtensions.kt45 users().supportsMultipleUsers(), in RequireHasMainUser()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40086/src/android/security/cts/CVE_2023_40086/
DDeviceTest.java65 .that(userManager.supportsMultipleUsers()) in testPocCVE_2023_40086()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-35668/src/android/security/cts/CVE_2023_35668/
DDeviceTest.java64 .that(userManager.supportsMultipleUsers()) in testWearableExtenderUri()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21291/src/android/security/cts/CVE_2023_21291/
DDeviceTest.java66 userManager.supportsMultipleUsers()); in testPocCVE_2023_21291()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21288/src/android/security/cts/CVE_2023_21288/
DDeviceTest.java60 .that(userManager.supportsMultipleUsers()) in testPocCVE_2023_21288()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21277/src/android/security/cts/CVE_2023_21277/
DDeviceTest.java73 .that(userManager.supportsMultipleUsers()) in testPocCVE_2023_21277()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DStartActivityAsUserTests.java60 private static final boolean SUPPORTS_MULTIPLE_USERS = UserManager.supportsMultipleUsers();
/cts/tests/tests/security/src/android/security/cts/CVE_2024_0024/
DCVE_2024_0024.java74 .that(mUserManager.supportsMultipleUsers()) in grantSmsPermission()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40073/src/android/security/cts/CVE_2023_40073/
DDeviceTest.java68 .that(userManager.supportsMultipleUsers()) in testPocCVE_2023_40073()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-0020/src/android/security/cts/CVE-2024-0020/
DDeviceTest.java74 .that(userManager.supportsMultipleUsers()) in testPocCVE_2024_0020()
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DSessionCommitBroadcastTest.java160 assumeTrue("Cannot add multiple users", UserManager.supportsMultipleUsers()); in testBroadcastReceivedForEnablingApp()
/cts/tests/camera/headlessSystemUserTest/src/android/camera/cts/headlesssystemusertest/
DCamera2HeadlessSystemUserTest.java166 UserManager.supportsMultipleUsers()); in testHeadlessSystemUser_SwitchForegroundUser()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUsers.java587 public boolean supportsMultipleUsers() {
588 return UserManager.supportsMultipleUsers();
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-0053/src/android/security/cts/CVE_2024_0053/
DDeviceTest.java76 .that(userManager.supportsMultipleUsers()) in testPocCVE_2024_0053()

12