Lines Matching refs:intent

366      * @param intent Description of the activity to start.
370 public Activity startActivitySync(Intent intent) {
374 intent = new Intent(intent);
376 ActivityInfo ai = intent.resolveActivityInfo(
379 throw new RuntimeException("Unable to resolve activity for: " + intent);
383 // todo: if this intent is ambiguous, look here to see if
387 + ai.processName + ": " + intent);
390 intent.setComponent(new ComponentName(
392 final ActivityWaiter aw = new ActivityWaiter(intent);
399 getTargetContext().startActivity(intent);
439 * intent to be started.
566 Intent intent) {
569 && mWhich.match(who.getContentResolver(), intent,
577 } else if (intent.getComponent() != null) {
578 cls = intent.getComponent().getClassName();
615 * creates an intent filter matching {@link ActivityMonitor} for you and
1019 * @param intent The intent that started this Activity
1032 IBinder token, Application application, Intent intent, ActivityInfo info,
1038 activity.attach(context, aThread, this, token, application, intent,
1052 * @param intent The Intent object that specified the activity class being
1058 Intent intent)
1078 final Intent intent = aw.intent;
1079 if (intent.filterEquals(activity.getIntent())) {
1108 // final Intent intent = aw.intent;
1109 // if (intent.filterEquals(activity.getIntent())) {
1158 * @param intent The new intent being received.
1160 public void callActivityOnNewIntent(Activity activity, Intent intent) {
1161 activity.onNewIntent(intent);
1380 * @param intent The actual Intent to start.
1399 Intent intent, int requestCode, Bundle options) {
1406 if (am.match(who, null, intent)) {
1417 intent.migrateExtraStreamToClipData();
1418 intent.prepareToLeaveProcess();
1420 .startActivity(whoThread, who.getBasePackageName(), intent,
1421 intent.resolveTypeIfNeeded(who.getContentResolver()),
1424 checkStartActivityResult(result, intent);
1498 * @param intent The actual Intent to start.
1516 Intent intent, int requestCode, Bundle options) {
1523 if (am.match(who, null, intent)) {
1534 intent.migrateExtraStreamToClipData();
1535 intent.prepareToLeaveProcess();
1537 .startActivity(whoThread, who.getBasePackageName(), intent,
1538 intent.resolveTypeIfNeeded(who.getContentResolver()),
1541 checkStartActivityResult(result, intent);
1558 * @param intent The actual Intent to start.
1576 Intent intent, int requestCode, Bundle options, UserHandle user) {
1583 if (am.match(who, null, intent)) {
1594 intent.migrateExtraStreamToClipData();
1595 intent.prepareToLeaveProcess();
1597 .startActivityAsUser(whoThread, who.getBasePackageName(), intent,
1598 intent.resolveTypeIfNeeded(who.getContentResolver()),
1601 checkStartActivityResult(result, intent);
1619 /*package*/ static void checkStartActivityResult(int res, Object intent) {
1627 if (intent instanceof Intent && ((Intent)intent).getComponent() != null)
1630 + ((Intent)intent).getComponent().toShortString()
1633 "No Activity found to handle " + intent);
1636 + intent);
1645 + res + " when starting " + intent);
1739 public final Intent intent;
1743 intent = _intent;