Home
last modified time | relevance | path

Searched refs:LaunchIntent (Results 1 – 3 of 3) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DLaunchSequence.java23 import android.server.wm.intent.Persistence.LaunchIntent;
87 LaunchIntent getIntent(); in getIntent()
97 static LaunchSequence create(LaunchIntent intent) { in create()
106 default LaunchSequence append(LaunchIntent intent) { in append()
117 default LaunchSequence append(LaunchIntent intent, LaunchSequence launchFrom) { in append()
125 default LaunchSequence act(LaunchIntent intent) { in act()
135 default LaunchSequence act(LaunchIntent intent, LaunchSequence launchFrom) { in act()
145 static LaunchIntent intent(Class<? extends android.app.Activity> activity) { in intent()
146 return new LaunchIntent(Lists.newArrayList(), createComponent(activity), false); in intent()
156 static LaunchIntent intentForResult(Class<? extends android.app.Activity> activity) { in intentForResult()
[all …]
DCases.java35 import android.server.wm.intent.Persistence.LaunchIntent;
87 private final LaunchIntent mRegularIntent = intent(RegularActivity.class);
88 private final LaunchIntent mSingleTopIntent = intent(Activities.SingleTopActivity.class);
89 private final LaunchIntent mAff1Intent = intent(Activities.TaskAffinity1Activity.class);
90 private final LaunchIntent mSecondAff1Intent = intent(Activities.TaskAffinity1Activity2.class);
91 private final LaunchIntent mSingleInstanceIntent = intent(
93 private final LaunchIntent mSingleTaskIntent = intent(Activities.SingleTaskActivity.class);
94 private final LaunchIntent mRegularForResultIntent = intentForResult(RegularActivity.class);
120 LaunchIntent aff1NewTask = mAff1Intent.withFlags(NEW_TASK); in newTaskCases()
170 LaunchIntent aff1NewDocument = mAff1Intent.withFlags(NEW_DOCUMENT); in newDocumentCases()
[all …]
DPersistence.java214 return LaunchIntent.fromJson(object, table); in fromJson()
224 static class LaunchIntent implements GenerationIntent { class in Persistence
234 public LaunchIntent(List<IntentFlag> intentFlags, ComponentName componentName, in LaunchIntent() method in Persistence.LaunchIntent
270 public static LaunchIntent fromJson(JSONObject fakeIntent, Map<String, IntentFlag> table) in fromJson()
275 return new LaunchIntent(flags, in fromJson()
290 public LaunchIntent withFlags(IntentFlag... flags) { in withFlags()
293 return new LaunchIntent(intentFlags, mComponentName, mStartForResult); in withFlags()
324 private final LaunchIntent mLaunchIntent;
332 LaunchFromIntent(LaunchIntent fakeIntent, int launchFrom) { in LaunchFromIntent()
361 LaunchIntent fakeIntent = LaunchIntent.fromJson(object, table); in fromJson()