/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 321 Intent[] intents = mIntents.toArray(new Intent[mIntents.size()]); local 366 Intent[] intents = mIntents.toArray(new Intent[mIntents.size()]); local 382 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);
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
RecognizerClient.java | 32 public void onRecognitionSuccess(final Intent[] intents);
|
PhoneTypeChoiceRecognizerEngine.java | 43 * of results, builds a corresponding list of Intents, and 53 ArrayList<Intent> intents = new ArrayList<Intent>(); local 56 intents.size() < RESULT_LIMIT; result++) { 86 addIntent(intents, intent); 93 if (mLogger != null) mLogger.logIntents(intents); 98 if (intents.size() == 0) { 99 if (false) Log.d(TAG, " no intents"); 100 recognizerClient.onRecognitionFailure("No Intents generated"); 105 intents.toArray(new Intent[intents.size()])) [all...] |
CommandRecognizerEngine.java | 51 * it will process the results, which will pass a list of intents to 947 ArrayList<Intent> intents = new ArrayList<Intent>(); local [all...] |
VoiceDialerTester.java | 118 * @param intents Array of Intents corresponding to recognized sentences. 120 public void onRecognitionSuccess(Intent[] intents) { 122 wf.mTotal = intents.length; 125 for (int i = 0; i < intents.length; i++) { 127 intents[i].getStringExtra(RecognizerEngine.SENTENCE_EXTRA). 132 if (intents.length > 1) wf.mMessage += ", etc";
|
RecognizerEngine.java | 45 * a list of intents to the {@RecogizerClient}. 101 * <li>Build a list of Intents corresponding to the results. (implementation 232 protected static void addIntent(ArrayList<Intent> intents, Intent intent) { 233 for (Intent in : intents) { 242 intents.add(intent);
|
VoiceDialerActivity.java | 736 * @param intents a list of Intents corresponding to the sentences. 738 public void onRecognitionSuccess(final Intent[] intents) { 740 intents.length); 746 // store the intents in a member variable so that we can access it 748 mAvailableChoices = intents; 757 String[] sentences = new String[intents.length]; 758 for (int i = 0; i < intents.length; i++) { 759 sentences[i] = intents[i].getStringExtra( 763 if (intents.length == 0) [all...] |
/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);
|
/frameworks/support/v4/java/android/support/v4/content/ |
ContextCompat.java | 62 * @param intents Array of intents defining the activities that will be started. The element 66 public static boolean startActivities(Context context, Intent[] intents) { 67 return startActivities(context, intents, null); 91 * @param intents Array of intents defining the activities that will be started. The element 97 public static boolean startActivities(Context context, Intent[] intents, 101 ContextCompatJellybean.startActivities(context, intents, options); 104 ContextCompatHoneycomb.startActivities(context, intents);
|
/frameworks/base/core/java/android/app/ |
TaskStackBuilder.java | 186 * @return the number of intents added so far. 218 "No intents added to TaskStackBuilder; cannot startActivities"); 269 "No intents added to TaskStackBuilder; cannot getPendingIntent"); 283 "No intents added to TaskStackBuilder; cannot getPendingIntent"); 291 * Return an array containing the intents added to this builder. The intent at the 295 * @return An array containing the intents added to this builder. 298 Intent[] intents = new Intent[mIntents.size()]; local 299 if (intents.length == 0) return intents; 301 intents[0] = new Intent(mIntents.get(0)).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK [all...] |
PendingIntent.java | 58 * <p>Because of this behavior, it is important to know when two Intents 61 * with Intents that only vary in their "extra" contents, expecting to get 81 * Intents you will use, then you can alternatively use the flags 118 * Intent. This can be used if you are creating intents where only the 302 * array of Intents to be supplied. The last Intent in the array is 305 * the resulting PendingIntent, all of the Intents are started in the same 322 * This is because it is the most specific of the supplied intents, and the 323 * UI the user actually sees when the intents are started. 327 * you supply here should almost always be <em>explicit intents</em>, 334 * @param intents Array of Intents of the activities to be launched [all...] |
Instrumentation.java | 441 * @param which The set of intents this monitor is responsible for. 618 * @param filter The set of intents this monitor is responsible for. [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
BrowserTest.java | 55 * Verify that no state is preserved across multiple intents sent 59 * In this test, we send two intents to the Android browser. The first 62 * across the two intents. 74 List<Intent> intents = getAllJavascriptIntents(); local 75 for (Intent i : intents) { 85 + "multiple intents. Vulnerable to CVE-2011-2357?", 93 * Verify that no state is preserved across multiple intents sent 97 * In this test, we send 20 intents to the Android browser. Each 112 List<Intent> intents = getAllJavascriptIntents(); local 113 for (Intent i : intents) { 143 List<Intent> intents = createAllIntents(Uri.parse("http:\/\/www.google.com")); local [all...] |
/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/base/test-runner/src/android/test/ |
IsolatedContext.java | 65 /** Returns the list of intents that were broadcast since the last call to this method. */ 67 List<Intent> intents = mBroadcastIntents; local 69 return intents;
|
/frameworks/base/core/java/android/content/ |
ContextWrapper.java | 332 public void startActivities(Intent[] intents) { 333 mBase.startActivities(intents); 337 public void startActivities(Intent[] intents, Bundle options) { 338 mBase.startActivities(intents, options); 343 public void startActivitiesAsUser(Intent[] intents, Bundle options, UserHandle userHandle) { 344 mBase.startActivitiesAsUser(intents, options, userHandle);
|
/packages/apps/Browser/src/com/android/browser/ |
UploadHandler.java | 226 private Intent createChooserIntent(Intent... intents) { 228 chooser.putExtra(Intent.EXTRA_INITIAL_INTENTS, intents);
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
PushReceiver.java | 20 import static android.provider.Telephony.Sms.Intents.WAP_PUSH_DELIVER_ACTION; 52 * Receives Intent.WAP_PUSH_RECEIVED_ACTION intents and starts the 67 protected Void doInBackground(Intent... intents) { 68 Intent intent = intents[0];
|