Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java164 private void verifyStartActivityPreconditions(int preconditions, int launchFlags, in verifyStartActivityPreconditions() argument
173 verifyStartActivityPreconditionsUntracked(preconditions, launchFlags, expectedResult); in verifyStartActivityPreconditions()
189 private void verifyStartActivityPreconditionsUntracked(int preconditions, int launchFlags, in verifyStartActivityPreconditionsUntracked() argument
197 prepareStarter(launchFlags); in verifyStartActivityPreconditionsUntracked()
210 intent.setFlags(launchFlags); in verifyStartActivityPreconditionsUntracked()
301 private ActivityStarter prepareStarter(@Intent.Flags int launchFlags) { in prepareStarter() argument
302 return prepareStarter(launchFlags, true /* mockGetLaunchStack */, LAUNCH_MULTIPLE); in prepareStarter()
305 private ActivityStarter prepareStarter(@Intent.Flags int launchFlags, in prepareStarter() argument
307 return prepareStarter(launchFlags, mockGetLaunchStack, LAUNCH_MULTIPLE); in prepareStarter()
326 private ActivityStarter prepareStarter(@Intent.Flags int launchFlags, in prepareStarter() argument
[all …]
/frameworks/native/cmds/service/
Dservice.cpp251 int launchFlags = 0; in main() local
282 launchFlags = atoi(value); in main()
306 data.writeInt32(launchFlags); in main()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java878 final int launchFlags = intent.getFlags(); in executeRequest() local
879 if ((launchFlags & Intent.FLAG_ACTIVITY_FORWARD_RESULT) != 0 && sourceRecord != null) { in executeRequest()
930 if ((launchFlags & FLAG_ACTIVITY_NEW_TASK) == 0 in executeRequest()
2712 boolean launchSingleTask, int launchFlags) { in adjustLaunchFlagsToDocumentMode() argument
2713 if ((launchFlags & Intent.FLAG_ACTIVITY_NEW_DOCUMENT) != 0 && in adjustLaunchFlagsToDocumentMode()
2718 launchFlags &= in adjustLaunchFlagsToDocumentMode()
2725 launchFlags |= Intent.FLAG_ACTIVITY_NEW_DOCUMENT; in adjustLaunchFlagsToDocumentMode()
2728 launchFlags |= Intent.FLAG_ACTIVITY_NEW_DOCUMENT; in adjustLaunchFlagsToDocumentMode()
2737 if ((launchFlags & Intent.FLAG_ACTIVITY_NEW_DOCUMENT) != 0) { in adjustLaunchFlagsToDocumentMode()
2738 launchFlags &= ~(Intent.FLAG_ACTIVITY_NEW_DOCUMENT in adjustLaunchFlagsToDocumentMode()
[all …]
DTaskDisplayArea.java1089 @Nullable ActivityOptions options, int launchFlags) {
1103 sourceTask, launchFlags);
1131 .setLaunchFlags(launchFlags)
1143 @Nullable LaunchParams launchParams, int launchFlags, int activityType, boolean onTop) {
1158 options, launchFlags);
1256 @Nullable Task sourceTask, int launchFlags) {
1267 if ((launchFlags & FLAG_ACTIVITY_LAUNCH_ADJACENT) != 0
DTask.java1873 ActivityRecord performClearTaskForReuseLocked(ActivityRecord newR, int launchFlags) { in performClearTaskForReuseLocked() argument
1878 result = performClearTaskLocked(newR, launchFlags); in performClearTaskForReuseLocked()
1897 private ActivityRecord performClearTaskLocked(ActivityRecord newR, int launchFlags) { in performClearTaskLocked() argument
1909 && (launchFlags & Intent.FLAG_ACTIVITY_SINGLE_TOP) == 0 in performClearTaskLocked()
1910 && !ActivityStarter.isDocumentLaunchesIntoExisting(launchFlags)) { in performClearTaskLocked()
7916 Builder setLaunchFlags(int launchFlags) {
7917 mLaunchFlags = launchFlags;
DRootWindowContainer.java2878 @Nullable LaunchParamsController.LaunchParams launchParams, int launchFlags, in getLaunchRootTask() argument
2943 sourceTask, launchParams, launchFlags, activityType, onTop); in getLaunchRootTask()
2988 launchFlags, activityType, onTop); in getLaunchRootTask()