/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 211 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 …]
|
D | ShortcutManagerTest8.java | 183 .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 …]
|
D | ShortcutManagerTest9.java | 102 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/ |
D | ContextTest.java | 67 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/ |
D | WorkLockActivityController.java | 73 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/ |
D | UsbHandlerManager.java | 67 mContext.startActivityAsUser(dialogIntent, user); in showUsbAccessoryUriActivity() 100 mContext.startActivityAsUser(resolverIntent, user); in confirmUsbHandler() 124 mContext.startActivityAsUser(resolverIntent, user); in selectUsbHandler()
|
D | UsbPermissionManager.java | 203 userContext.startActivityAsUser(intent, mUser); in requestPermissionDialog()
|
/frameworks/base/core/java/android/content/pm/ |
D | CrossProfileApps.java | 67 mService.startActivityAsUser( in startMainActivity() 95 mService.startActivityAsUser(mContext.getIApplicationThread(), in startActivity()
|
D | ICrossProfileApps.aidl | 30 void startActivityAsUser(in IApplicationThread caller, in String callingPackage, in startActivityAsUser() method
|
D | ILauncherApps.aidl | 52 void startActivityAsUser(in IApplicationThread caller, String callingPackage, in startActivityAsUser() method
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | CarNavigationButton.java | 120 mContext.startActivityAsUser(toSend, UserHandle.CURRENT); in getButtonClickListener() 131 mContext.startActivityAsUser(toSend, UserHandle.CURRENT);
|
D | CarFacetButton.java | 129 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/ |
D | WorkLockActivityControllerTest.java | 119 doReturn(code).when(mIActivityTaskManager).startActivityAsUser( in setActivityStartCode() 134 verify(mIActivityTaskManager).startActivityAsUser( in verifyStartActivity()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | EmergencyAffordanceManager.java | 74 context.startActivityAsUser(intent, UserHandle.CURRENT); in performEmergencyCall()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileAppsServiceImpl.java | 84 public void startActivityAsUser( in startActivityAsUser() method in CrossProfileAppsServiceImpl 147 mInjector.getActivityTaskManagerInternal().startActivityAsUser( in startActivityAsUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbAccessoryUriActivity.java | 91 startActivityAsUser(intent, UserHandle.CURRENT); in onClick()
|
D | UsbResolverActivity.java | 147 startActivityAsUser(mOtherProfileIntent, null, in onTargetSelected()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 447 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/ |
D | ContactsInternal.java | 78 context.startActivityAsUser(intent, user); in startQuickContactWithErrorToastForUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | ForcedResizableInfoActivityController.java | 143 mContext.startActivityAsUser(intent, options.toBundle(), UserHandle.CURRENT); in showPending()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedLockUtilsTest.java | 297 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/ |
D | PhoneWindowManager.java | 1567 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/ |
D | RestrictedLockUtils.java | 86 context.startActivityAsUser(intent, UserHandle.of(targetUserId)); in sendShowAdminSupportDetailsIntent()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 391 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/ |
D | EmergencyButton.java | 193 getContext().startActivityAsUser(INTENT_EMERGENCY_DIAL, in takeEmergencyCallAction()
|