Home
last modified time | relevance | path

Searched refs:startActivityAsUser (Results 1 – 23 of 23) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DStartActivityAsUserTests.java152 mContext.startActivityAsUser(intent, ActivityOptions.makeBasic().toBundle(), in verifyStartActivityAsValidUser()
155 mContext.startActivityAsUser(intent, secondUserHandle); in verifyStartActivityAsValidUser()
176 mContext.startActivityAsUser(intent, ActivityOptions.makeBasic().toBundle(), in verifyStartActivityAsInvalidUser()
179 mContext.startActivityAsUser(intent, secondUserHandle); in verifyStartActivityAsInvalidUser()
/cts/tests/tests/widget/src/android/widget/cts/
DQuickContactBadgeTest.java60 public void startActivityAsUser(Intent intent, UserHandle user) { in testPrioritizedMimetype()
65 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) { in testPrioritizedMimetype()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_QuickContactsTest.java53 public void startActivityAsUser(Intent intent, UserHandle user) { in testPrioritizedMimeTypeAndExcludedMimeTypes()
57 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) { in testPrioritizedMimeTypeAndExcludedMimeTypes()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppActivityReference.java74 TestApis.context().instrumentedContext().startActivityAsUser( in start()
94 TestApis.context().instrumentedContext().startActivityAsUser( in start()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileCrossProfileTest.java473 startActivityAsUser(userId, TEST_APP_1_PKG, testActivity); in launchAllTestAppsForUser()
474 startActivityAsUser(userId, TEST_APP_2_PKG, testActivity); in launchAllTestAppsForUser()
475 startActivityAsUser(userId, TEST_APP_3_PKG, testActivity); in launchAllTestAppsForUser()
476 startActivityAsUser(userId, TEST_APP_4_PKG, testActivity); in launchAllTestAppsForUser()
DDeviceOwnerTest.java956 startActivityAsUser(userId, SIMPLE_APP_PKG, SIMPLE_APP_ACTIVITY); in startProtectedPackage()
DDeviceAndProfileOwnerTest.java1180 startActivityAsUser(userId, TEST_APP_PKG, TEST_APP_PKG + ".SimpleActivity"); in startSimpleActivityAsUser()
DBaseDevicePolicyTest.java1197 protected void startActivityAsUser(int userId, String packageName, String activityName) in startActivityAsUser() method in BaseDevicePolicyTest
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DActivityTest.java159 activity.startActivityAsUser(intent, options, in startActivityAsUser_differentUser_startedSuccessfully()
184 activity.startActivityAsUser(intent, options, in startActivityAsUser_noPermissions_throwsSecurityException()
DPersonalAppsSuspensionTest.java167 TestApis.context().instrumentedContext().startActivityAsUser( in startActivity()
DQuietModeTest.java121 sContext.startActivityAsUser(intent, new Bundle(), workProfile.userHandle()); in startActivityInQuietProfile_quietModeDialogShown()
/cts/tests/tests/settings/src/android/settings/cts/
DAutoPrivacySettingsTest.java257 mContext.startActivityAsUser(intent, mContext.getUser()); in launchActionSettings()
270 mContext.startActivityAsUser(home, mContext.getUser()); in goHome()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/content/
DContextHelperTest.java92 ContextHelper.startActivityAsUser(mContext, startIntent, in testStartActivityAsUser()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DUserControlDisabledPackagesTest.java57 mContext.startActivityAsUser(intent, getCurrentUser()); in testLaunchActivity()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/concurrentuser/
DConcurrentUserActivityUtils.java109 () -> context.startActivityAsUser(intent, userHandle), in launchActivityAsUserSync()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20917/src/android/security/cts/CVE_2023_20917/
DDeviceTest.java94 context.startActivityAsUser( in testCVE_2023_20917()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DCrossUserSuspendTest.java109 sContext.startActivityAsUser(intent, new Bundle(), workProfile.userHandle()); in suspendProfileActivityFromPrimary_verifyUnsuspendedBroadcast()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0602/src/android/security/cts/CVE_2021_0602/
DDeviceTest.java138 context.startActivityAsUser(intent, guestUserHandle); in testCVE_2021_0602()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DMockTestActivityUtil.java252 context.startActivityAsUser(intent, UserHandle.of(userId)); in launchSyncAsUser()
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/packages/
DPackagesTest.java502 TestApis.context().instrumentedContext().startActivityAsUser( in kill_doesNotKillProcessInOtherUser()
/cts/common/device-side/bedstead/eventlib/src/test/java/com/android/eventlib/
DEventLogsTest.java624 sContext.startActivityAsUser(intent, user.userHandle()); in logCustomEventOnTestApp()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java1173 mContext.startActivityAsUser(intent, UserHandle.CURRENT))); in testStartActivityAsUser()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt3775 …ion(android.Manifest.permission.INTERACT_ACROSS_USERS) public void startActivityAsUser(@NonNull @R…
3776 …ion(android.Manifest.permission.INTERACT_ACROSS_USERS) public void startActivityAsUser(@NonNull @R…