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), null, false); in intent()
156 static LaunchIntent intentForResult(Class<? extends android.app.Activity> activity) { in intentForResult()
[all …]
DCases.java36 import android.server.wm.intent.Persistence.LaunchIntent;
91 private final LaunchIntent mRegularIntent = intent(RegularActivity.class);
92 private final LaunchIntent mSingleTopIntent = intent(Activities.SingleTopActivity.class);
93 private final LaunchIntent mAff1Intent = intent(Activities.TaskAffinity1Activity.class);
94 private final LaunchIntent mSecondAff1Intent = intent(Activities.TaskAffinity1Activity2.class);
95 private final LaunchIntent mSingleInstanceIntent = intent(
97 private final LaunchIntent mSingleTaskIntent = intent(Activities.SingleTaskActivity.class);
98 private final LaunchIntent mRegularForResultIntent = intentForResult(RegularActivity.class);
124 LaunchIntent aff1NewTask = mAff1Intent.withFlags(NEW_TASK); in newTaskCases()
174 LaunchIntent aff1NewDocument = mAff1Intent.withFlags(NEW_DOCUMENT); in newDocumentCases()
[all …]
DPersistence.java215 return LaunchIntent.fromJson(object, table); in fromJson()
225 static class LaunchIntent implements GenerationIntent { class in Persistence
237 public LaunchIntent(List<IntentFlag> intentFlags, ComponentName componentName, String data, in LaunchIntent() method in Persistence.LaunchIntent
278 public static LaunchIntent fromJson(JSONObject fakeIntent, Map<String, IntentFlag> table) in fromJson()
284 return new LaunchIntent(flags, in fromJson()
300 public LaunchIntent withFlags(IntentFlag... flags) { in withFlags()
303 return new LaunchIntent(intentFlags, mComponentName, mData, mStartForResult); in withFlags()
330 private final LaunchIntent mLaunchIntent;
338 LaunchFromIntent(LaunchIntent fakeIntent, int launchFrom) { in LaunchFromIntent()
367 LaunchIntent fakeIntent = LaunchIntent.fromJson(object, table); in fromJson()