/development/samples/ApiDemos/src/com/example/android/apis/app/ |
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;
|
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...] |
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...] |
/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...] |
LocalActivityManager.java | 314 ArrayList<ReferrerIntent> intents = new ArrayList<>(1); local 315 intents.add(new ReferrerIntent(intent, mParent.getPackageName())); 317 mActivityThread.performNewIntents(r, intents);
|
ContextImpl.java | 97 "BroadcastReceiver components are not allowed to register to receive intents"); 110 "BroadcastReceiver components are not allowed to register to receive intents"); 697 public void startActivities(Intent[] intents) { 699 startActivities(intents, null); 704 public void startActivitiesAsUser(Intent[] intents, Bundle options, UserHandle userHandle) { 705 if ((intents[0].getFlags()&Intent.FLAG_ACTIVITY_NEW_TASK) == 0) { 713 (Activity) null, intents, options, userHandle.getIdentifier()); local 717 public void startActivities(Intent[] intents, Bundle options) { 719 if ((intents[0].getFlags()&Intent.FLAG_ACTIVITY_NEW_TASK) == 0) { 727 (Activity) null, intents, options) local [all...] |
ActivityManagerNative.java | 1849 Intent[] intents = data.createTypedArray(Intent.CREATOR); local [all...] |
ActivityThread.java | 367 List<ReferrerIntent> intents; field in class:ActivityThread.NewIntentData 370 return "NewIntentData{intents=" + intents + " token=" + token + "}"; 674 public final void scheduleNewIntent(List<ReferrerIntent> intents, IBinder token) { 676 data.intents = intents; [all...] |
/frameworks/base/test-runner/src/android/test/ |
IsolatedContext.java | 63 /** Returns the list of intents that were broadcast since the last call to this method. */ 65 List<Intent> intents = mBroadcastIntents; local 67 return intents;
|
/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...] |
/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...] |
/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;
|
/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...] |
/packages/apps/Browser/src/com/android/browser/ |
UploadHandler.java | 136 Intent[] intents; local 138 intents = new Intent[1]; 139 intents[0] = createCameraIntent(createTempFileContentUri(".jpg")); 141 intents = new Intent[1]; 142 intents[0] = createCamcorderIntent(); 144 intents = new Intent[1]; 145 intents[0] = createSoundRecorderIntent(); 147 intents = new Intent[3]; 148 intents[0] = createCameraIntent(createTempFileContentUri(".jpg")); 149 intents[1] = createCamcorderIntent() [all...] |
/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);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/ |
CameraIntentsActivity.java | 16 package com.android.cts.verifier.camera.intents; 39 * Tests for manual verification of camera intents being fired. 50 * activity via MediaStore intents. 53 * that these intents are still firing as a lot of 3rd party applications 103 user leaves cts verifier and tries to fake receiver intents 210 // to test each camera/intents combination 288 the intents by taking a photo/video 408 // restart activity to test next intents
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
ApplicationsState.java | 823 List<ResolveInfo> intents = mPm.queryIntentActivitiesAsUser(launchIntent, local [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherBackupHelper.java | 1180 ArrayList<Intent> intents = new ArrayList<Intent>(); local [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageParser.java | 4532 public final ArrayList<II> intents; field in class:PackageParser.Component [all...] |
/frameworks/base/core/java/android/content/ |
Intent.java | 87 * <p>For information about how to create and resolve intents, read the 88 * <a href="{@docRoot}guide/topics/intents/intents-filters.html">Intents and Intent Filters</a> 163 * <p>Here are some examples of other operations you can specify as intents 203 * <p>There are two primary forms of intents you will use. 206 * <li> <p><b>Explicit Intents</b> have specified a component (via 212 * <li> <p><b>Implicit Intents</b> have not specified a component; 218 * <p>When using implicit intents, given such an arbitrary intent we need to 372 * <p>Given these capabilities, the following intents will resolve to th 8129 final Parcelable[] intents = getParcelableArrayExtra(EXTRA_INITIAL_INTENTS); local [all...] |
/development/samples/training/AnimationsDemo/libs/ |
android-support-v13.jar | |
/sdk/apps/NotificationStudio/libs/ |
android-support-v4.jar | |
/frameworks/base/services/core/java/com/android/server/pm/ |
Settings.java | 2765 ArrayList<PackageParser.ActivityIntentInfo> intents local [all...] |