HomeSort by relevance Sort by last modified time
    Searched refs:intents (Results 1 - 25 of 128) sorted by null

1 2 3 4 5 6

  /frameworks/support/v4/honeycomb/android/support/v4/app/
TaskStackBuilderHoneycomb.java 28 Intent[] intents, int flags) {
29 return PendingIntent.getActivities(context, requestCode, intents, flags);
  /frameworks/support/v4/honeycomb/android/support/v4/content/
ContextCompatHoneycomb.java 29 static void startActivities(Context context, Intent[] intents) {
30 context.startActivities(intents);
  /frameworks/support/v4/jellybean/android/support/v4/content/
ContextCompatJellybean.java 25 public static void startActivities(Context context, Intent[] intents, Bundle options) {
26 context.startActivities(intents, options);
  /frameworks/support/v4/java/android/support/v4/app/
TaskStackBuilder.java 77 PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode,
82 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode,
84 Intent topIntent = new Intent(intents[intents.length - 1]);
91 public PendingIntent getPendingIntent(Context context, Intent[] intents, int requestCode,
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,
104 intents[0] = new Intent(intents[0]).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK
324 Intent[] intents = mIntents.toArray(new Intent[mIntents.size()]); local
369 Intent[] intents = mIntents.toArray(new Intent[mIntents.size()]); local
385 Intent[] intents = new Intent[mIntents.size()]; local
    [all...]
  /frameworks/support/v4/jellybean/android/support/v4/app/
TaskStackBuilderJellybean.java 27 Intent[] intents, int flags, Bundle options) {
28 return PendingIntent.getActivities(context, requestCode, intents, flags, options);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
IncomingMessage.java 70 // accomplish this, we can build an array of intents to insert the back
72 Intent[] intents = new Intent[4]; local
77 intents[0] = Intent.makeRestartActivityTask(new ComponentName(context,
81 intents[1] = new Intent(context, com.example.android.apis.ApiDemos.class);
82 intents[1].putExtra("com.example.android.apis.Path", "App");
84 intents[2] = new Intent(context, com.example.android.apis.ApiDemos.class);
85 intents[2].putExtra("com.example.android.apis.Path", "App/Notification");
89 intents[3] = new Intent(context, IncomingMessageView.class);
90 intents[3].putExtra(IncomingMessageView.KEY_FROM, from);
91 intents[3].putExtra(IncomingMessageView.KEY_MESSAGE, msg)
    [all...]
IntentActivityFlags.java 41 // be done by launching an array of Intents, representing the new
44 Intent[] intents = new Intent[3]; local
49 intents[0] = Intent.makeRestartActivityTask(new ComponentName(this,
55 intents[1] = intent;
61 intents[2] = intent;
62 return intents;
StatusBarNotifications.java 152 // extras (and other Intents in the array) to be the ones passed in here.
163 // accomplish this, we can build an array of intents to insert the back
165 Intent[] intents = new Intent[4]; local
170 intents[0] = Intent.makeRestartActivityTask(new ComponentName(this,
174 intents[1] = new Intent(this, com.example.android.apis.ApiDemos.class);
175 intents[1].putExtra("com.example.android.apis.Path", "App");
177 intents[2] = new Intent(this, com.example.android.apis.ApiDemos.class);
178 intents[2].putExtra("com.example.android.apis.Path", "App/Notification");
181 intents[3] = new Intent(this, StatusBarNotifications.class);
186 // extras (and other Intents in the array) to be the ones passed in here
    [all...]
Intents.java 28 public class Intents extends Activity {
33 setContentView(R.layout.intents);
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
ContactsUtilsTests.java 90 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); local
91 final Intent imIntent = intents.first;
100 assertNull(intents.second);
112 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); local
113 final Intent imIntent = intents.first;
118 assertNull(intents.second);
131 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); local
132 final Intent imIntent = intents.first;
137 final Intent secondaryIntent = intents.second;
153 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im) local
178 final Pair<Intent, Intent> intents = ContactsUtils.buildImIntent(getContext(), im); local
    [all...]
  /frameworks/base/core/java/android/app/
TaskStackBuilder.java 187 * @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()]; local
302 if (intents.length == 0) return intents;
304 intents[0] = new Intent(mIntents.get(0)).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK
    [all...]
PendingIntent.java 66 * <p>Because of this behavior, it is important to know when two Intents
69 * with Intents that only vary in their "extra" contents, expecting to get
89 * Intents you will use, then you can alternatively use the flags
148 * {@link #getService}. <p>This can be used if you are creating intents where only the
245 * Listener for observing when pending intents are written to a parcel.
264 * Registers an listener for pending intents being written to a parcel.
380 * array of Intents to be supplied. The last Intent in the array is
383 * the resulting PendingIntent, all of the Intents are started in the same
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
    [all...]
Instrumentation.java 458 * @param which The set of intents this monitor is responsible for.
635 * @param filter The set of intents this monitor is responsible for.
    [all...]
LocalActivityManager.java 314 ArrayList<ReferrerIntent> intents = new ArrayList<>(1); local
315 intents.add(new ReferrerIntent(intent, mParent.getPackageName()));
317 mActivityThread.performNewIntents(r, intents);
  /cts/tests/tests/security/src/android/security/cts/
BrowserTest.java 54 * Verify that no state is preserved across multiple intents sent
58 * In this test, we send two intents to the Android browser. The first
61 * across the two intents.
73 List<Intent> intents = getAllJavascriptIntents(); local
74 for (Intent i : intents) {
84 + "multiple intents. Vulnerable to CVE-2011-2357?",
92 * Verify that no state is preserved across multiple intents sent
96 * In this test, we send 20 intents to the Android browser. Each
111 List<Intent> intents = getAllJavascriptIntents(); local
112 for (Intent i : intents) {
144 List<Intent> intents = createAllIntents(Uri.parse("http:\/\/www.google.com")); local
    [all...]
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
WearPackageUtil.java 139 if (pkg.activities.get(i).intents != null) {
140 ArrayList<PackageParser.ActivityIntentInfo> intents = local
141 pkg.activities.get(i).intents;
142 final int intentsCount = intents.size();
144 final PackageParser.ActivityIntentInfo intentInfo = intents.get(j);
  /packages/apps/Messaging/tests/src/com/android/messaging/
FakeContext.java 58 final ArrayList<Intent> intents = mStartedIntents; local
60 return intents;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
IntentDrivenTestActivity.java 19 * text view containing instructions and one or more buttons that trigger intents.
22 * The intents can either be generated statically and passed as an extra to the intent that started
82 final Intent[] intents = buttonInfo.getIntents(); local
83 if (intents != null) {
84 for (Parcelable intent : intents) {
158 public ButtonInfo(int buttonText, Intent... intents) {
160 mIntents = intents;
  /frameworks/support/v4/java/android/support/v4/content/
ContextCompat.java 75 * @param intents Array of intents defining the activities that will be started. The element
79 public static boolean startActivities(Context context, Intent[] intents) {
80 return startActivities(context, intents, null);
104 * @param intents Array of intents defining the activities that will be started. The element
110 public static boolean startActivities(Context context, Intent[] intents,
114 ContextCompatJellybean.startActivities(context, intents, options);
117 ContextCompatHoneycomb.startActivities(context, intents);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
CameraContentJobService.java 17 package com.android.cts.verifier.camera.intents;
  /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
ActionServiceTest.java 101 final ArrayList<Intent> intents = mContext.extractIntents(); local
102 assertNotNull(intents);
103 assertEquals("Expect to see 1 server request queued", 1, intents.size());
104 final Intent intent = intents.get(0);
ActionServiceSystemTest.java 163 final ArrayList<Intent> intents = mContext.extractIntents(); local
164 assertNotNull(intents);
165 assertEquals("Expect to see one intent", intents.size(), 1);
  /prebuilts/misc/common/android-support-test/
Android.mk 109 # for espresso-intents
112 LOCAL_MODULE := espresso-intents
114 LOCAL_SRC_FILES := espresso/espresso-intents-2.2.2-release.jar
122 LOCAL_MODULE := espresso-intents-nodep
124 LOCAL_SRC_FILES := espresso/espresso-intents-2.2.2-release-no-dep.jar
  /frameworks/base/test-runner/src/android/test/
IsolatedContext.java 67 /** Returns the list of intents that were broadcast since the last call to this method. */
69 List<Intent> intents = mBroadcastIntents; local
71 return intents;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
CarNavigationBarController.java 118 TypedArray intents = r.obtainTypedArray(R.array.car_facet_intent_uris); local
125 if (icons.length() != intents.length()
139 Intent.parseUri(intents.getString(i), Intent.URI_INTENT_SCHEME));

Completed in 669 milliseconds

1 2 3 4 5 6