Home
last modified time | relevance | path

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

1234

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java211 mCrossProfileAppsServiceImpl.startActivityAsUser( in startActivityAsUser_currentUser()
219 .startActivityAsUser( in startActivityAsUser_currentUser()
232 mCrossProfileAppsServiceImpl.startActivityAsUser( in startAnyActivityAsUser_currentUser()
240 .startActivityAsUser( in startAnyActivityAsUser_currentUser()
255 mCrossProfileAppsServiceImpl.startActivityAsUser( in startActivityAsUser_profile_notInstalled()
263 .startActivityAsUser( in startActivityAsUser_profile_notInstalled()
278 mCrossProfileAppsServiceImpl.startActivityAsUser( in startAnyActivityAsUser_profile_notInstalled()
286 .startActivityAsUser( in startAnyActivityAsUser_profile_notInstalled()
299 mCrossProfileAppsServiceImpl.startActivityAsUser( in startActivityAsUser_profile_fakeCaller()
307 .startActivityAsUser( in startActivityAsUser_profile_fakeCaller()
[all …]
DShortcutManagerTest8.java183 .startActivityAsUser(any(Intent.class), any(UserHandle.class)); in testRequestPinShortcut_notSupported()
195 .startActivityAsUser(any(Intent.class), any(UserHandle.class)); in testRequestPinShortcut_notSupported()
207 .startActivityAsUser(any(Intent.class), any(UserHandle.class)); in testRequestPinShortcut_notSupported()
234 verify(mServiceContext, times(0)).startActivityAsUser( in testNotForeground()
280 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in checkRequestPinShortcut()
355 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in testRequestPinShortcut_explicitTargetActivity()
403 verify(mServiceContext, times(0)).startActivityAsUser( in testRequestPinShortcut_wrongTargetActivity()
437 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in testRequestPinShortcut_noTargetActivity_noMainActivity()
499 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in testRequestPinShortcut_dynamicExists()
554 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in testRequestPinShortcut_manifestExists()
[all …]
DShortcutManagerTest9.java102 verify(mServiceContext, times(0)).startActivityAsUser( in testNotForeground()
124 verify(mServiceContext).startActivityAsUser(intent.capture(), eq(HANDLE_USER_0)); in checkRequestPinAppWidget()
/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java67 testContext.startActivityAsUser(null, null); in testStartActivityAsUserNullIntentNullUser()
74 testContext.startActivityAsUser(null, new UserHandle(UserHandle.USER_ALL)); in testStartActivityAsUserNullIntentNonNullUser()
81 testContext.startActivityAsUser(new Intent(), null); in testStartActivityAsUserNonNullIntentNullUser()
88 testContext.startActivityAsUser(new Intent(), new UserHandle(UserHandle.USER_ALL)); in testStartActivityAsUserNonNullIntentNonNullUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivityController.java73 final int result = startActivityAsUser(intent, options.toBundle(), UserHandle.USER_CURRENT); in startWorkChallengeInTask()
91 private int startActivityAsUser(Intent intent, Bundle options, int userId) { in startActivityAsUser() method in WorkLockActivityController
93 return mIatm.startActivityAsUser( in startActivityAsUser()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbHandlerManager.java67 mContext.startActivityAsUser(dialogIntent, user); in showUsbAccessoryUriActivity()
100 mContext.startActivityAsUser(resolverIntent, user); in confirmUsbHandler()
124 mContext.startActivityAsUser(resolverIntent, user); in selectUsbHandler()
DUsbPermissionManager.java203 userContext.startActivityAsUser(intent, mUser); in requestPermissionDialog()
/frameworks/base/core/java/android/content/pm/
DCrossProfileApps.java67 mService.startActivityAsUser( in startMainActivity()
95 mService.startActivityAsUser(mContext.getIApplicationThread(), in startActivity()
DICrossProfileApps.aidl30 void startActivityAsUser(in IApplicationThread caller, in String callingPackage, in startActivityAsUser() method
DILauncherApps.aidl52 void startActivityAsUser(in IApplicationThread caller, String callingPackage, in startActivityAsUser() method
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarNavigationButton.java120 mContext.startActivityAsUser(toSend, UserHandle.CURRENT); in getButtonClickListener()
131 mContext.startActivityAsUser(toSend, UserHandle.CURRENT);
DCarFacetButton.java129 mContext.startActivityAsUser(toSend, UserHandle.CURRENT); in getButtonClickListener()
138 mContext.startActivityAsUser(toSend, UserHandle.CURRENT); in getButtonLongClickListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityControllerTest.java119 doReturn(code).when(mIActivityTaskManager).startActivityAsUser( in setActivityStartCode()
134 verify(mIActivityTaskManager).startActivityAsUser( in verifyStartActivity()
/frameworks/base/core/java/com/android/internal/util/
DEmergencyAffordanceManager.java74 context.startActivityAsUser(intent, UserHandle.CURRENT); in performEmergencyCall()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java84 public void startActivityAsUser( in startActivityAsUser() method in CrossProfileAppsServiceImpl
147 mInjector.getActivityTaskManagerInternal().startActivityAsUser( in startActivityAsUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbAccessoryUriActivity.java91 startActivityAsUser(intent, UserHandle.CURRENT); in onClick()
DUsbResolverActivity.java147 startActivityAsUser(mOtherProfileIntent, null, in onTargetSelected()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java447 verify(mMockContext).startActivityAsUser(mIntentCaptor.capture(), eq(UserHandle.SYSTEM)); in testStartAddAccountSessionUserCannotModifyAccountNoDPM()
480 verify(mMockContext).startActivityAsUser(any(Intent.class), eq(UserHandle.SYSTEM)); in testStartAddAccountSessionUserCannotModifyAccountWithDPM()
502 verify(mMockContext).startActivityAsUser(mIntentCaptor.capture(), eq(UserHandle.SYSTEM)); in testStartAddAccountSessionUserCannotModifyAccountForTypeNoDPM()
537 verify(mMockContext).startActivityAsUser(any(Intent.class), eq(UserHandle.SYSTEM)); in testStartAddAccountSessionUserCannotModifyAccountForTypeWithDPM()
929 verify(mMockContext).startActivityAsUser(mIntentCaptor.capture(), eq(UserHandle.of(2))); in testFinishSessionAsUserUserCannotModifyAccountNoDPM()
961 verify(mMockContext).startActivityAsUser(any(Intent.class), eq(UserHandle.of(2))); in testFinishSessionAsUserUserCannotModifyAccountWithDPM()
1015 verify(mMockContext).startActivityAsUser(mIntentCaptor.capture(), eq(UserHandle.of(2))); in testFinishSessionAsUserUserCannotModifyAccountForTypeNoDPM()
1049 verify(mMockContext).startActivityAsUser(any(Intent.class), eq(UserHandle.of(2))); in testFinishSessionAsUserUserCannotModifyAccountForTypeWithDPM()
1833 verify(mMockContext).startActivityAsUser(mIntentCaptor.capture(), eq(UserHandle.SYSTEM)); in testAddAccountAsUserUserCannotModifyAccountNoDPM()
1867 verify(mMockContext).startActivityAsUser(any(Intent.class), eq(UserHandle.SYSTEM)); in testAddAccountAsUserUserCannotModifyAccountWithDPM()
[all …]
/frameworks/base/core/java/android/provider/
DContactsInternal.java78 context.startActivityAsUser(intent, user); in startQuickContactWithErrorToastForUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DForcedResizableInfoActivityController.java143 mContext.startActivityAsUser(intent, options.toBundle(), UserHandle.CURRENT); in showPending()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java297 verify(mContext).startActivityAsUser(intentCaptor.capture(), any()); in sendShowAdminSupportDetailsIntent_extraRestrictionProvided()
306 verify(mContext).startActivityAsUser(intentCaptor.capture(), any()); in sendShowAdminSupportDetailsIntent_noExtraRestriction()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java1567 startActivityAsUser(intent, UserHandle.CURRENT); in launchAllAppsAction()
2841 startActivityAsUser(new Intent(Intent.ACTION_SHOW_BRIGHTNESS_DIALOG), in interceptKeyBeforeDispatchingInner()
2935 startActivityAsUser(shortcutIntent, UserHandle.CURRENT); in interceptKeyBeforeDispatchingInner()
2962 startActivityAsUser(shortcutIntent, UserHandle.CURRENT); in interceptKeyBeforeDispatchingInner()
2981 startActivityAsUser(intent, UserHandle.CURRENT); in interceptKeyBeforeDispatchingInner()
3315 startActivityAsUser(intent, UserHandle.CURRENT); in launchAssistLongPressAction()
3359 startActivityAsUser(intent, null, UserHandle.CURRENT_OR_SELF, in launchVoiceAssist()
3365 private void startActivityAsUser(Intent intent, UserHandle handle) { in startActivityAsUser() method in PhoneWindowManager
3366 startActivityAsUser(intent, null, handle); in startActivityAsUser()
3369 private void startActivityAsUser(Intent intent, Bundle bundle, UserHandle handle) { in startActivityAsUser() method in PhoneWindowManager
[all …]
/frameworks/base/packages/SettingsLib/RestrictedLockUtils/src/com/android/settingslib/
DRestrictedLockUtils.java86 context.startActivityAsUser(intent, UserHandle.of(targetUserId)); in sendShowAdminSupportDetailsIntent()
/frameworks/base/core/java/android/content/
DContextWrapper.java391 public void startActivityAsUser(Intent intent, UserHandle user) { in startActivityAsUser() method in ContextWrapper
392 mBase.startActivityAsUser(intent, user); in startActivityAsUser()
413 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) { in startActivityAsUser() method in ContextWrapper
414 mBase.startActivityAsUser(intent, options, user); in startActivityAsUser()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DEmergencyButton.java193 getContext().startActivityAsUser(INTENT_EMERGENCY_DIAL, in takeEmergencyCallAction()

1234