Home
last modified time | relevance | path

Searched refs:targetIntent (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/SmokeTest/src/com/android/smoketest/
DSmokeTestActivity.java35 Intent targetIntent = new Intent(Intent.ACTION_MAIN, null); in getTargetIntent() local
37 targetIntent.addCategory("android.intent.category.SMOKETEST_INSTRUMENTATION_TEST"); in getTargetIntent()
38 targetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getTargetIntent()
39 return targetIntent; in getTargetIntent()
/frameworks/support/core-utils/java/android/support/v4/app/
DNavUtils.java44 boolean shouldUpRecreateTask(Activity activity, Intent targetIntent); in shouldUpRecreateTask() argument
72 public boolean shouldUpRecreateTask(Activity activity, Intent targetIntent) { in shouldUpRecreateTask() argument
114 public boolean shouldUpRecreateTask(Activity activity, Intent targetIntent) { in shouldUpRecreateTask() argument
115 return NavUtilsJB.shouldUpRecreateTask(activity, targetIntent); in shouldUpRecreateTask()
158 public static boolean shouldUpRecreateTask(Activity sourceActivity, Intent targetIntent) { in shouldUpRecreateTask() argument
159 return IMPL.shouldUpRecreateTask(sourceActivity, targetIntent); in shouldUpRecreateTask()
/frameworks/support/core-utils/jellybean/android/support/v4/app/
DNavUtilsJB.java28 public static boolean shouldUpRecreateTask(Activity activity, Intent targetIntent) { in shouldUpRecreateTask() argument
29 return activity.shouldUpRecreateTask(targetIntent); in shouldUpRecreateTask()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatActivity.java448 public boolean supportShouldUpRecreateTask(@NonNull Intent targetIntent) { in supportShouldUpRecreateTask() argument
449 return NavUtils.shouldUpRecreateTask(this, targetIntent); in supportShouldUpRecreateTask()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java567 final Intent targetIntent = targetIntents.get(i); in checkTargetSourceIntent() local
568 if (targetIntent.filterEquals(matchingIntent)) { in checkTargetSourceIntent()
679 final Intent targetIntent = new Intent(getTargetIntent()); in getResolvedIntent() local
680 targetIntent.setComponent(mChooserTarget.getComponentName()); in getResolvedIntent()
681 targetIntent.putExtras(mChooserTarget.getIntentExtras()); in getResolvedIntent()
682 return targetIntent; in getResolvedIntent()
/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java435 Intent targetIntent = new Intent(_intent); in setIntent() local
436 targetIntent.setComponent(targetComponent); in setIntent()
437 targetIntent.setSelector(null); in setIntent()
438 targetIntent.setSourceBounds(null); in setIntent()
440 "Setting Intent of " + this + " to target " + targetIntent); in setIntent()
441 intent = targetIntent; in setIntent()
/frameworks/base/core/java/android/app/
DActivity.java6404 public boolean shouldUpRecreateTask(Intent targetIntent) { in shouldUpRecreateTask() argument
6407 ComponentName cn = targetIntent.getComponent(); in shouldUpRecreateTask()
6409 cn = targetIntent.resolveActivity(pm); in shouldUpRecreateTask()