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()
251 data.writeInt32(launchFlags); in main()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityStarterTests.java190 private void verifyStartActivityPreconditions(int preconditions, int launchFlags, in verifyStartActivityPreconditions() argument
208 intent.setFlags(launchFlags); in verifyStartActivityPreconditions()
301 private ActivityStarter prepareStarter(int launchFlags) { in prepareStarter() argument
331 intent.addFlags(launchFlags); in prepareStarter()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStarter.java619 final int launchFlags = intent.getFlags(); in startActivity() local
621 if ((launchFlags & Intent.FLAG_ACTIVITY_FORWARD_RESULT) != 0 && sourceRecord != null) { in startActivity()
671 if ((launchFlags & FLAG_ACTIVITY_NEW_TASK) == 0 in startActivity()
2284 boolean launchSingleTask, int launchFlags) { in adjustLaunchFlagsToDocumentMode() argument
2285 if ((launchFlags & Intent.FLAG_ACTIVITY_NEW_DOCUMENT) != 0 && in adjustLaunchFlagsToDocumentMode()
2290 launchFlags &= in adjustLaunchFlagsToDocumentMode()
2297 launchFlags |= Intent.FLAG_ACTIVITY_NEW_DOCUMENT; in adjustLaunchFlagsToDocumentMode()
2300 launchFlags |= Intent.FLAG_ACTIVITY_NEW_DOCUMENT; in adjustLaunchFlagsToDocumentMode()
2303 launchFlags &= ~FLAG_ACTIVITY_MULTIPLE_TASK; in adjustLaunchFlagsToDocumentMode()
2307 return launchFlags; in adjustLaunchFlagsToDocumentMode()
[all …]
DTaskRecord.java1376 ActivityRecord performClearTaskForReuseLocked(ActivityRecord newR, int launchFlags) { in performClearTaskForReuseLocked() argument
1378 final ActivityRecord result = performClearTaskLocked(newR, launchFlags); in performClearTaskForReuseLocked()
1394 final ActivityRecord performClearTaskLocked(ActivityRecord newR, int launchFlags) { in performClearTaskLocked() argument
1425 && (launchFlags & Intent.FLAG_ACTIVITY_SINGLE_TOP) == 0 in performClearTaskLocked()
1426 && !ActivityStarter.isDocumentLaunchesIntoExisting(launchFlags)) { in performClearTaskLocked()