Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java117 final Intent launchIntent = new Intent(); in startActivityAsUser() local
119 launchIntent.setAction(Intent.ACTION_MAIN); in startActivityAsUser()
120 launchIntent.addCategory(Intent.CATEGORY_LAUNCHER); in startActivityAsUser()
121 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startActivityAsUser()
125 launchIntent.setPackage(component.getPackageName()); in startActivityAsUser()
141 launchIntent.setComponent(component); in startActivityAsUser()
143 verifyActivityCanHandleIntentAndExported(launchIntent, component, callingUid, userId); in startActivityAsUser()
145 launchIntent.setPackage(null); in startActivityAsUser()
146 launchIntent.setComponent(component); in startActivityAsUser()
148 caller, callingPackage, launchIntent, in startActivityAsUser()
[all …]
DLauncherAppsService.java826 Intent launchIntent = new Intent(Intent.ACTION_MAIN); in startActivityAsUser() local
827 launchIntent.addCategory(Intent.CATEGORY_LAUNCHER); in startActivityAsUser()
828 launchIntent.setSourceBounds(sourceBounds); in startActivityAsUser()
829 launchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startActivityAsUser()
831 launchIntent.setPackage(component.getPackageName()); in startActivityAsUser()
843 List<ResolveInfo> apps = pmInt.queryIntentActivities(launchIntent, in startActivityAsUser()
859 launchIntent.setPackage(null); in startActivityAsUser()
860 launchIntent.setComponent(component); in startActivityAsUser()
873 launchIntent, opts, user.getIdentifier()); in startActivityAsUser()
/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/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.java1587 launchIntent(intent); in launchSuggestion()
1597 private void launchIntent(Intent intent) { in launchIntent() method in SearchView
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallSuccess.java87 Intent launchIntent = getPackageManager().getLaunchIntentForPackage( in onCreate() local
90 if (launchIntent != null) { in onCreate()
91 List<ResolveInfo> list = getPackageManager().queryIntentActivities(launchIntent, in onCreate()
102 startActivity(launchIntent); in onCreate()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java738 final Intent launchIntent = new Intent() in startIsolatedService() local
740 sContext.bindService(launchIntent, connection, Context.BIND_AUTO_CREATE in startIsolatedService()
755 final Intent launchIntent = new Intent() in startForegroundService() local
767 launchIntent.putExtras(extras); in startForegroundService()
768 sContext.startForegroundService(launchIntent); in startForegroundService()
782 final Intent launchIntent = new Intent() in startService() local
793 launchIntent.putExtras(extras); in startService()
794 sContext.startService(launchIntent); in startService()
808 final Intent launchIntent = new Intent() in startActivity() local
819 launchIntent.putExtras(extras) in startActivity()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DConnOnActivityStartTest.java387 final Intent launchIntent = new Intent().setComponent( in startActivityAndCheckNetworkAccess() local
398 launchIntent.putExtras(extras) in startActivityAndCheckNetworkAccess()
400 mContext.startActivity(launchIntent); in startActivityAndCheckNetworkAccess()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java499 Intent launchIntent = new Intent(Intent.ACTION_VIEW); in onPostExecute() local
500 launchIntent.setDataAndType(mParams.imageUri, "image/png"); in onPostExecute()
501 launchIntent.setFlags( in onPostExecute()
510 … .setContentIntent(PendingIntent.getActivity(mParams.context, 0, launchIntent, 0)) in onPostExecute()
518 .setContentIntent(PendingIntent.getActivity(mParams.context, 0, launchIntent, 0)) in onPostExecute()
/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/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsActivity.java168 public LaunchHomeRunnable(Intent launchIntent, ActivityOptions opts) { in LaunchHomeRunnable() argument
169 mLaunchIntent = launchIntent; in LaunchHomeRunnable()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java1158 Intent launchIntent = new Intent(Intent.ACTION_MAIN, null); in handleMessage() local
1159 launchIntent.addCategory(msg.what == MSG_LOAD_LAUNCHER in handleMessage()
1170 launchIntent, in handleMessage()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt8498 Landroid/app/SearchDialog;->launchIntent(Landroid/content/Intent;)V
83960 Landroid/widget/SearchView;->launchIntent(Landroid/content/Intent;)V