Home
last modified time | relevance | path

Searched refs:launchIntent (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java143 final Intent launchIntent = new Intent(); in startActivityAsUser() local
145 launchIntent.setAction(Intent.ACTION_MAIN); in startActivityAsUser()
146 launchIntent.addCategory(Intent.CATEGORY_LAUNCHER); in startActivityAsUser()
147 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startActivityAsUser()
151 launchIntent.setPackage(component.getPackageName()); in startActivityAsUser()
170 launchIntent.setComponent(component); in startActivityAsUser()
172 verifyActivityCanHandleIntentAndExported(launchIntent, component, callingUid, userId); in startActivityAsUser()
174 launchIntent.setPackage(null); in startActivityAsUser()
175 launchIntent.setComponent(component); in startActivityAsUser()
177 caller, callingPackage, callingFeatureId, launchIntent, in startActivityAsUser()
[all …]
DLauncherAppsService.java1107 final Intent launchIntent = getMainActivityLaunchIntent(component, user); in getActivityLaunchIntent() local
1108 if (launchIntent == null) { in getActivityLaunchIntent()
1119 return PendingIntent.getActivityAsUser(mContext, 0 /* requestCode */, launchIntent, in getActivityLaunchIntent()
1134 Intent launchIntent = getMainActivityLaunchIntent(component, user); in startActivityAsUser() local
1135 if (launchIntent == null) { in startActivityAsUser()
1139 launchIntent.setSourceBounds(sourceBounds); in startActivityAsUser()
1142 callingFeatureId, launchIntent, /* resultTo= */ null, in startActivityAsUser()
1150 Intent launchIntent = new Intent(Intent.ACTION_MAIN); in getMainActivityLaunchIntent() local
1151 launchIntent.addCategory(Intent.CATEGORY_LAUNCHER); in getMainActivityLaunchIntent()
1152 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK in getMainActivityLaunchIntent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSomnambulator.java38 final Intent launchIntent = getIntent(); in onStart() local
39 final String action = launchIntent.getAction(); in onStart()
51 boolean docked = launchIntent.hasCategory(Intent.CATEGORY_DESK_DOCK); in onStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DDetailDialog.kt70 val launchIntent = Intent(intent) in <lambda>() constant
71 launchIntent.putExtra(EXTRA_USE_PANEL, true) in <lambda>()
74 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT) in <lambda>()
75 launchIntent.addFlags(Intent.FLAG_ACTIVITY_MULTIPLE_TASK) in <lambda>()
85 PendingIntent.getActivity(context, 0, launchIntent, in <lambda>()
/frameworks/base/core/java/android/widget/
DShareActionProvider.java300 Intent launchIntent = dataModel.chooseActivity(itemId); in onMenuItemClick() local
301 if (launchIntent != null) { in onMenuItemClick()
302 final String action = launchIntent.getAction(); in onMenuItemClick()
305 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT | in onMenuItemClick()
308 mContext.startActivity(launchIntent); in onMenuItemClick()
DActivityChooserView.java606 Intent launchIntent = mAdapter.getDataModel().chooseActivity(position); in onItemClick() local
607 if (launchIntent != null) { in onItemClick()
608 launchIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); in onItemClick()
610 startActivity(launchIntent, resolveInfo); in onItemClick()
625 Intent launchIntent = mAdapter.getDataModel().chooseActivity(index); in onClick() local
626 if (launchIntent != null) { in onClick()
627 launchIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); in onClick()
628 startActivity(launchIntent, defaultActivity); in onClick()
DSearchView.java1588 launchIntent(intent); in launchSuggestion()
1598 private void launchIntent(Intent intent) { in launchIntent() method in SearchView
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java763 final Intent launchIntent = new Intent() in startIsolatedService() local
765 sContext.bindService(launchIntent, connection, Context.BIND_AUTO_CREATE in startIsolatedService()
780 final Intent launchIntent = new Intent() in startForegroundService() local
792 launchIntent.putExtras(extras); in startForegroundService()
793 sContext.startForegroundService(launchIntent); in startForegroundService()
807 final Intent launchIntent = new Intent() in startService() local
818 launchIntent.putExtras(extras); in startService()
819 sContext.startService(launchIntent); in startService()
833 final Intent launchIntent = new Intent() in startActivity() local
844 launchIntent.putExtras(extras) in startActivity()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DConnOnActivityStartTest.java354 final Intent launchIntent = new Intent().setComponent( in startActivityAndCheckNetworkAccess() local
365 launchIntent.putExtras(extras) in startActivityAndCheckNetworkAccess()
367 mContext.startActivity(launchIntent); in startActivityAndCheckNetworkAccess()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DResumeMediaBrowser.java279 Intent launchIntent = pm.getLaunchIntentForPackage(mComponentName.getPackageName()); in getAppIntent() local
280 … return PendingIntent.getActivity(mContext, 0, launchIntent, PendingIntent.FLAG_MUTABLE_UNAUDITED); in getAppIntent()
/frameworks/base/core/java/android/app/
DSearchDialog.java555 launchIntent(intent); in launchQuerySearch()
561 private void launchIntent(Intent intent) { in launchIntent() method in SearchDialog
/frameworks/base/services/core/java/com/android/server/wm/
DSession.java352 final Intent launchIntent = mService.mAmInternal.getIntentForIntentSender( in validateAndResolveDragMimeTypeExtras() local
355 launchIntent, null /* resolvedType */, user.getIdentifier(), in validateAndResolveDragMimeTypeExtras()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java1177 Intent launchIntent = new Intent(Intent.ACTION_MAIN, null); in handleMessage() local
1178 launchIntent.addCategory(msg.what == MSG_LOAD_LAUNCHER in handleMessage()
1189 launchIntent, in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java1166 Intent launchIntent = in updateSecondaryLockscreenRequirement() local
1168 mSecondaryLockscreenRequirement.put(userId, launchIntent); in updateSecondaryLockscreenRequirement()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt8495 Landroid/app/SearchDialog;->launchIntent(Landroid/content/Intent;)V
72854 Landroid/widget/SearchView;->launchIntent(Landroid/content/Intent;)V