Home
last modified time | relevance | path

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

/frameworks/native/cmds/service/
Dservice.cpp195 int launchFlags = 0; in main() local
226 launchFlags = atoi(value); in main()
250 data.writeInt32(launchFlags); in main()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java200 private void verifyStartActivityPreconditions(int preconditions, int launchFlags, in verifyStartActivityPreconditions() argument
208 prepareStarter(launchFlags); in verifyStartActivityPreconditions()
218 intent.setFlags(launchFlags); in verifyStartActivityPreconditions()
311 private ActivityStarter prepareStarter(@Intent.Flags int launchFlags) { in prepareStarter() argument
312 return prepareStarter(launchFlags, true /* mockGetLaunchStack */); in prepareStarter()
325 private ActivityStarter prepareStarter(@Intent.Flags int launchFlags, in prepareStarter() argument
360 intent.addFlags(launchFlags); in prepareStarter()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java661 final int launchFlags = intent.getFlags(); in startActivity() local
663 if ((launchFlags & Intent.FLAG_ACTIVITY_FORWARD_RESULT) != 0 && sourceRecord != null) { in startActivity()
713 if ((launchFlags & FLAG_ACTIVITY_NEW_TASK) == 0 in startActivity()
2563 boolean launchSingleTask, int launchFlags) { in adjustLaunchFlagsToDocumentMode() argument
2564 if ((launchFlags & Intent.FLAG_ACTIVITY_NEW_DOCUMENT) != 0 && in adjustLaunchFlagsToDocumentMode()
2569 launchFlags &= in adjustLaunchFlagsToDocumentMode()
2576 launchFlags |= Intent.FLAG_ACTIVITY_NEW_DOCUMENT; in adjustLaunchFlagsToDocumentMode()
2579 launchFlags |= Intent.FLAG_ACTIVITY_NEW_DOCUMENT; in adjustLaunchFlagsToDocumentMode()
2582 launchFlags &= ~FLAG_ACTIVITY_MULTIPLE_TASK; in adjustLaunchFlagsToDocumentMode()
2586 return launchFlags; in adjustLaunchFlagsToDocumentMode()
[all …]
DTaskRecord.java1463 ActivityRecord performClearTaskForReuseLocked(ActivityRecord newR, int launchFlags) { in performClearTaskForReuseLocked() argument
1465 final ActivityRecord result = performClearTaskLocked(newR, launchFlags); in performClearTaskForReuseLocked()
1481 final ActivityRecord performClearTaskLocked(ActivityRecord newR, int launchFlags) { in performClearTaskLocked() argument
1512 && (launchFlags & Intent.FLAG_ACTIVITY_SINGLE_TOP) == 0 in performClearTaskLocked()
1513 && !ActivityStarter.isDocumentLaunchesIntoExisting(launchFlags)) { in performClearTaskLocked()