Home
last modified time | relevance | path

Searched refs:launchFlags (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskDisplayArea.java893 @Nullable ActivityOptions options, int launchFlags) {
906 options, sourceTask, launchFlags, candidateTask);
936 .setLaunchFlags(launchFlags)
948 @Nullable LaunchParams launchParams, int launchFlags, int activityType, boolean onTop) {
963 options, launchFlags);
1061 @Nullable Task sourceTask, int launchFlags) {
1062 return getLaunchRootTask(windowingMode, activityType, options, sourceTask, launchFlags,
1068 @Nullable Task sourceTask, int launchFlags, @Nullable Task candidateTask) {
1079 if ((launchFlags & FLAG_ACTIVITY_LAUNCH_ADJACENT) != 0
H A DActivityStarter.java975 final int launchFlags = intent.getFlags(); in executeRequest() local
1027 if ((launchFlags & FLAG_ACTIVITY_NEW_TASK) == 0 in executeRequest()
2307 int startingUid, int launchFlags) { in clearTopIfNeeded() argument
3184 boolean launchSingleTask, int launchFlags) { in adjustLaunchFlagsToDocumentMode() argument
3185 if ((launchFlags & Intent.FLAG_ACTIVITY_NEW_DOCUMENT) != 0 && in adjustLaunchFlagsToDocumentMode()
3190 launchFlags &= in adjustLaunchFlagsToDocumentMode()
3197 launchFlags |= Intent.FLAG_ACTIVITY_NEW_DOCUMENT; in adjustLaunchFlagsToDocumentMode()
3200 launchFlags |= Intent.FLAG_ACTIVITY_NEW_DOCUMENT; in adjustLaunchFlagsToDocumentMode()
3216 launchFlags &= in adjustLaunchFlagsToDocumentMode()
3222 return launchFlags; in adjustLaunchFlagsToDocumentMode()
[all …]
H A DTask.java1633 ActivityRecord performClearTop(ActivityRecord newR, int launchFlags, int[] finishCount) { in performClearTop() argument
1640 result = clearTopActivities(newR, launchFlags, finishCount); in performClearTop()
1661 private ActivityRecord clearTopActivities(ActivityRecord newR, int launchFlags, in clearTopActivities() argument
1676 && (launchFlags & Intent.FLAG_ACTIVITY_SINGLE_TOP) == 0 in clearTopActivities()
1677 && !ActivityStarter.isDocumentLaunchesIntoExisting(launchFlags)) { in clearTopActivities()
6306 Builder setLaunchFlags(int launchFlags) {
6307 mLaunchFlags = launchFlags;
H A DRootWindowContainer.java2845 @Nullable LaunchParamsController.LaunchParams launchParams, int launchFlags) { in getOrCreateRootTask() argument
2893 sourceTask, launchParams, launchFlags, activityType, onTop); in getOrCreateRootTask()
2935 launchParams, launchFlags, activityType, onTop); in getOrCreateRootTask()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DActivityStarterTests.java222 private void verifyStartActivityPreconditions(int preconditions, int launchFlags, in verifyStartActivityPreconditions() argument
231 verifyStartActivityPreconditionsUntracked(preconditions, launchFlags, expectedResult); in verifyStartActivityPreconditions()
247 private void verifyStartActivityPreconditionsUntracked(int preconditions, int launchFlags, in verifyStartActivityPreconditionsUntracked() argument
258 prepareStarter(launchFlags); in verifyStartActivityPreconditionsUntracked()
271 intent.setFlags(launchFlags); in verifyStartActivityPreconditionsUntracked()
362 private ActivityStarter prepareStarter(@Intent.Flags int launchFlags) { in prepareStarter() argument
363 return prepareStarter(launchFlags, true /* mockGetRootTask */, LAUNCH_MULTIPLE); in prepareStarter()
366 private ActivityStarter prepareStarter(@Intent.Flags int launchFlags, in prepareStarter() argument
368 return prepareStarter(launchFlags, mockGetRootTask, LAUNCH_MULTIPLE); in prepareStarter()
387 private ActivityStarter prepareStarter(@Intent.Flags int launchFlags, in prepareStarter() argument
[all …]