Searched refs:intents (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/support/v4/honeycomb/android/support/v4/app/
H A DTaskStackBuilderHoneycomb.java28 Intent[] intents, int flags) {
29 return PendingIntent.getActivities(context, requestCode, intents, flags);
27 getActivitiesPendingIntent(Context context, int requestCode, Intent[] intents, int flags) argument
/frameworks/support/v4/honeycomb/android/support/v4/content/
H A DContextCompatHoneycomb.java29 static void startActivities(Context context, Intent[] intents) { argument
30 context.startActivities(intents);
/frameworks/support/v4/jellybean/android/support/v4/content/
H A DContextCompatJellybean.java25 public static void startActivities(Context context, Intent[] intents, Bundle options) { argument
26 context.startActivities(intents, options);
/frameworks/support/v4/java/android/support/v4/app/
H A DTaskStackBuilder.java77 PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, argument
82 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, argument
84 Intent topIntent = new Intent(intents[intents.length - 1]);
91 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, argument
93 intents[0] = new Intent(intents[0]).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK |
97 intents, flags);
102 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode, argument
104 intents[
[all...]
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DTaskStackBuilderJellybean.java27 Intent[] intents, int flags, Bundle options) {
28 return PendingIntent.getActivities(context, requestCode, intents, flags, options);
26 getActivitiesPendingIntent(Context context, int requestCode, Intent[] intents, int flags, Bundle options) argument
/frameworks/base/core/java/android/app/
H A DTaskStackBuilder.java187 * @return the number of intents added so far.
219 "No intents added to TaskStackBuilder; cannot startActivities");
271 "No intents added to TaskStackBuilder; cannot getPendingIntent");
285 "No intents added to TaskStackBuilder; cannot getPendingIntent");
293 * Return an array containing the intents added to this builder. The intent at the
297 * @return An array containing the intents added to this builder.
301 Intent[] intents = new Intent[mIntents.size()];
302 if (intents.length == 0) return intents;
304 intents[
[all...]
H A DPendingIntent.java146 * {@link #getService}. <p>This can be used if you are creating intents where only the
350 * This is because it is the most specific of the supplied intents, and the
351 * UI the user actually sees when the intents are started.
355 * you supply here should almost always be <em>explicit intents</em>,
362 * @param intents Array of Intents of the activities to be launched.
374 @NonNull Intent[] intents, @Flags int flags) {
375 return getActivities(context, requestCode, intents, flags, null);
400 * This is because it is the most specific of the supplied intents, and the
401 * UI the user actually sees when the intents are started.
405 * you supply here should almost always be <em>explicit intents</e
373 getActivities(Context context, int requestCode, @NonNull Intent[] intents, @Flags int flags) argument
423 getActivities(Context context, int requestCode, @NonNull Intent[] intents, @Flags int flags, @Nullable Bundle options) argument
449 getActivitiesAsUser(Context context, int requestCode, @NonNull Intent[] intents, int flags, Bundle options, UserHandle user) argument
[all...]
H A DInstrumentation.java445 * @param which The set of intents this monitor is responsible for.
622 * @param filter The set of intents this monitor is responsible for.
1500 IBinder token, Activity target, Intent[] intents, Bundle options) {
1501 execStartActivitiesAsUser(who, contextThread, token, target, intents, options,
1514 IBinder token, Activity target, Intent[] intents, Bundle options,
1522 if (am.match(who, null, intents[0])) {
1533 String[] resolvedTypes = new String[intents.length];
1534 for (int i=0; i<intents.length; i++) {
1535 intents[i].migrateExtraStreamToClipData();
1536 intents[
1499 execStartActivities(Context who, IBinder contextThread, IBinder token, Activity target, Intent[] intents, Bundle options) argument
1513 execStartActivitiesAsUser(Context who, IBinder contextThread, IBinder token, Activity target, Intent[] intents, Bundle options, int userId) argument
[all...]
H A DLocalActivityManager.java313 ArrayList<Intent> intents = new ArrayList<Intent>(1);
314 intents.add(intent);
316 mActivityThread.performNewIntents(r, intents);
H A DContextImpl.java180 "BroadcastReceiver components are not allowed to register to receive intents");
193 "BroadcastReceiver components are not allowed to register to receive intents");
1256 public void startActivities(Intent[] intents) { argument
1258 startActivities(intents, null);
1263 public void startActivitiesAsUser(Intent[] intents, Bundle options, UserHandle userHandle) { argument
1264 if ((intents[0].getFlags()&Intent.FLAG_ACTIVITY_NEW_TASK) == 0) {
1272 (Activity)null, intents, options, userHandle.getIdentifier());
1276 public void startActivities(Intent[] intents, Bundle options) { argument
1278 if ((intents[0].getFlags()&Intent.FLAG_ACTIVITY_NEW_TASK) == 0) {
1286 (Activity)null, intents, option
[all...]
H A DActivityThread.java351 List<Intent> intents; field in class:ActivityThread.NewIntentData
354 return "NewIntentData{intents=" + intents + " token=" + token + "}";
646 public final void scheduleNewIntent(List<Intent> intents, IBinder token) { argument
648 data.intents = intents;
2423 List<Intent> intents) {
2424 final int N = intents.size();
2426 Intent intent = intents.get(i);
2435 List<Intent> intents) {
2422 deliverNewIntents(ActivityClientRecord r, List<Intent> intents) argument
2434 performNewIntents(IBinder token, List<Intent> intents) argument
[all...]
H A DActivity.java3117 * @param builder An empty TaskStackBuilder - the application should add intents representing
3130 * If any extra data should be added to these intents before launching the new task,
4015 * @param intents The intents to start.
4023 public void startActivities(Intent[] intents) { argument
4024 startActivities(intents, null);
4039 * @param intents The intents to start.
4050 public void startActivities(Intent[] intents, @Nullable Bundle options) { argument
4052 mToken, this, intents, option
[all...]
H A DIActivityManager.java203 int requestCode, Intent[] intents, String[] resolvedTypes,
356 Intent[] intents, String[] resolvedTypes, IBinder resultTo,
201 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options, int userId) argument
355 startActivities(IApplicationThread caller, String callingPackage, Intent[] intents, String[] resolvedTypes, IBinder resultTo, Bundle options, int userId) argument
H A DApplicationThreadNative.java820 public void scheduleNewIntent(List<Intent> intents, IBinder token) argument
824 data.writeTypedList(intents);
/frameworks/support/v4/java/android/support/v4/content/
H A DContextCompat.java66 * @param intents Array of intents defining the activities that will be started. The element
70 public static boolean startActivities(Context context, Intent[] intents) { argument
71 return startActivities(context, intents, null);
95 * @param intents Array of intents defining the activities that will be started. The element
101 public static boolean startActivities(Context context, Intent[] intents, argument
105 ContextCompatJellybean.startActivities(context, intents, options);
108 ContextCompatHoneycomb.startActivities(context, intents);
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java63 /** Returns the list of intents that were broadcast since the last call to this method. */
65 List<Intent> intents = mBroadcastIntents;
67 return intents;
/frameworks/base/core/java/android/content/
H A DContextWrapper.java343 public void startActivities(Intent[] intents) { argument
344 mBase.startActivities(intents);
348 public void startActivities(Intent[] intents, Bundle options) { argument
349 mBase.startActivities(intents, options);
354 public void startActivitiesAsUser(Intent[] intents, Bundle options, UserHandle userHandle) { argument
355 mBase.startActivitiesAsUser(intents, options, userHandle);
H A DContext.java66 * broadcasting and receiving intents, etc.
1259 * @param intents An array of Intents to be started.
1266 public abstract void startActivities(Intent[] intents); argument
1282 * @param intents An array of Intents to be started.
1292 public abstract void startActivities(Intent[] intents, Bundle options); argument
1309 * @param intents An array of Intents to be started.
1320 public void startActivitiesAsUser(Intent[] intents, Bundle options, UserHandle userHandle) { argument
1827 * broadcast intents to your receiver, or have the receiver run in
2167 * <dd> A {@link android.app.AlarmManager} for receiving intents at the
2290 * {@link android.accounts.AccountManager} for receiving intents a
[all...]
H A DIntent.java84 * <p>For information about how to create and resolve intents, read the
85 * <a href="{@docRoot}guide/topics/intents/intents-filters.html">Intents and Intent Filters</a>
160 * <p>Here are some examples of other operations you can specify as intents
200 * <p>There are two primary forms of intents you will use.
215 * <p>When using implicit intents, given such an arbitrary intent we need to
369 * <p>Given these capabilities, the following intents will resolve to the
427 * <p>Given these capabilities, the following intents will resolve to the
3158 * {@link android.content.Intent#ACTION_PACKAGE_CHANGED} intents to override the default action
3172 * intents t
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java285 public void startActivities(Intent[] intents) { argument
290 public void startActivities(Intent[] intents, Bundle options) { argument
291 startActivities(intents);
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java3183 a.intents.add(intent);
3231 a.info.exported = a.intents.size() > 0;
3375 a.intents.add(intent);
3397 a.info.exported = a.intents.size() > 0;
3545 outInfo.intents.add(intent);
3804 s.intents.add(intent);
3825 s.info.exported = s.intents.size() > 0;
4409 public final ArrayList<II> intents; field in class:PackageParser.Component
4418 intents = null;
4424 intents
[all...]
/frameworks/testing/espresso/libs/
H A Dtestrunner-1.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/apps/ ...
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityStackSupervisor.java983 Intent[] intents, String[] resolvedTypes, IBinder resultTo,
985 if (intents == null) {
986 throw new NullPointerException("intents is null");
991 if (intents.length != resolvedTypes.length) {
992 throw new IllegalArgumentException("intents are length different than resolvedTypes");
1009 for (int i=0; i<intents.length; i++) {
1010 Intent intent = intents[i];
1038 if (options != null && i == intents.length-1) {
1893 // intents for the top activity, so make sure
982 startActivities(IApplicationThread caller, int callingUid, String callingPackage, Intent[] intents, String[] resolvedTypes, IBinder resultTo, Bundle options, int userId) argument
H A DActivityManagerService.java415 * List of intents that were used to start the most recent tasks.
689 * Resolver for broadcast intents to registered receivers.
728 * sticky Intent, values are an ArrayList of all broadcasted intents with
3869 Intent[] intents, String[] resolvedTypes, IBinder resultTo, Bundle options,
3875 int ret = mStackSupervisor.startActivities(caller, -1, callingPackage, intents,
3881 Intent[] intents, String[] resolvedTypes, IBinder resultTo,
3887 int ret = mStackSupervisor.startActivities(null, uid, callingPackage, intents, resolvedTypes,
4382 // Either task and tr are the same or, their affinities match or their intents match
5868 // Remove pending intents. For now we only do this when force
5871 // such packages, so they can be left with bad pending intents
3868 startActivities(IApplicationThread caller, String callingPackage, Intent[] intents, String[] resolvedTypes, IBinder resultTo, Bundle options, int userId) argument
3880 startActivitiesInPackage(int uid, String callingPackage, Intent[] intents, String[] resolvedTypes, IBinder resultTo, Bundle options, int userId) argument
6554 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options, int userId) argument
6625 getIntentSenderLocked(int type, String packageName, int callingUid, int userId, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java2231 for (int i=0; i<a.intents.size(); i++) {
2232 if (a.intents.get(i).match(intent.getAction(), resolvedType, intent.getScheme(),
7170 intentFilters = packageActivities.get(i).intents;
7190 final int NI = a.intents.size();
7192 PackageParser.ActivityIntentInfo intent = a.intents.get(j);
7217 final int NI = a.intents.size();
7219 PackageParser.ActivityIntentInfo intent = a.intents.get(j);
7377 intentFilters = packageServices.get(i).intents;
7396 final int NI = s.intents.size();
7399 PackageParser.ServiceIntentInfo intent = s.intents
[all...]

Completed in 972 milliseconds

12