Home
last modified time | relevance | path

Searched refs:appIntent (Results 1 – 6 of 6) sorted by relevance

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadReceiver.java250 Intent appIntent = null; in sendNotificationClickedIntent() local
252 appIntent = new Intent(DownloadManager.ACTION_NOTIFICATION_CLICKED); in sendNotificationClickedIntent()
253 appIntent.setPackage(packageName); in sendNotificationClickedIntent()
254 appIntent.putExtra(DownloadManager.EXTRA_NOTIFICATION_CLICK_DOWNLOAD_IDS, ids); in sendNotificationClickedIntent()
262 appIntent = new Intent(DownloadManager.ACTION_NOTIFICATION_CLICKED); in sendNotificationClickedIntent()
263 appIntent.setClassName(packageName, clazz); in sendNotificationClickedIntent()
264 appIntent.putExtra(DownloadManager.EXTRA_NOTIFICATION_CLICK_DOWNLOAD_IDS, ids); in sendNotificationClickedIntent()
267 appIntent.setData(uri); in sendNotificationClickedIntent()
269 appIntent.setData(Downloads.Impl.CONTENT_URI); in sendNotificationClickedIntent()
275 getSystemFacade(context).sendBroadcast(appIntent, null, options.toBundle()); in sendNotificationClickedIntent()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/activity/
DLaunchOnPrivateDisplayRouterActivity.java53 Intent appIntent = (Intent) launchIntent.getExtras().get(LAUNCH_ACTIVITY); in onCreate() local
62 appIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in onCreate()
64 Slog.d(TAG, "launchDisplayId: " + launchDisplayId + ", appIntent: " + appIntent); in onCreate()
66 startActivity(appIntent, activityOptions.toBundle()); in onCreate()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationSbnViewHolder.java102 Intent appIntent = itemView.getContext().getPackageManager() in addOnClick() local
105 if (isPendingIntentValid || appIntent != null) { in addOnClick()
123 } else if (appIntent != null) { in addOnClick()
124 appIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in addOnClick()
126 itemView.getContext().startActivityAsUser(appIntent, UserHandle.of(userId)); in addOnClick()
/packages/apps/Contacts/src/com/android/contacts/util/
DImplicitIntentsUtil.java67 final Intent appIntent = getIntentInAppIfExists(context, intent); in startActivityInAppIfPossible() local
68 if (appIntent != null) { in startActivityInAppIfPossible()
69 context.startActivity(appIntent); in startActivityInAppIfPossible()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java476 Intent appIntent = pm.getLaunchIntentForPackage(vpnPackageName); in onPreferenceClick() local
477 if (appIntent != null) { in onPreferenceClick()
478 userContext.startActivityAsUser(appIntent, user); in onPreferenceClick()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java6251 final Intent appIntent = new Intent(ConnectivityManager.ACTION_CAPTIVE_PORTAL_SIGN_IN);
6252 appIntent.putExtras(appExtras);
6253 appIntent.putExtra(ConnectivityManager.EXTRA_CAPTIVE_PORTAL,
6255 appIntent.setFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT | Intent.FLAG_ACTIVITY_NEW_TASK);
6259 mContext.startActivityAsUser(appIntent, UserHandle.CURRENT);