Home
last modified time | relevance | path

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

/frameworks/native/cmds/service/
Dservice.cpp235 int launchFlags = 0; in main() local
266 launchFlags = atoi(value); in main()
290 data.writeInt32(launchFlags); in main()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskDisplayArea.java894 @Nullable ActivityOptions options, int launchFlags) {
907 options, sourceTask, launchFlags, candidateTask);
937 .setLaunchFlags(launchFlags)
949 @Nullable LaunchParams launchParams, int launchFlags, int activityType, boolean onTop) {
964 options, launchFlags);
1062 @Nullable Task sourceTask, int launchFlags) {
1063 return getLaunchRootTask(windowingMode, activityType, options, sourceTask, launchFlags,
1069 @Nullable Task sourceTask, int launchFlags, @Nullable Task candidateTask) {
1080 if ((launchFlags & FLAG_ACTIVITY_LAUNCH_ADJACENT) != 0
DBackgroundActivityStartController.java1026 @Nullable Task targetTask, int launchFlags, int balCode, int callingUid, in checkActivityAllowedToStart() argument
1036 || (launchFlags & FLAG_ACTIVITY_NEW_TASK) == FLAG_ACTIVITY_NEW_TASK; in checkActivityAllowedToStart()
1095 newTask, avoidMoveTaskToFront, targetTask, targetRecord, balCode, launchFlags, in checkActivityAllowedToStart()
1101 ActivityRecord targetRecord, @BalCode int balCode, int launchFlags, in logAsmFailureAndCheckFeatureEnabled() argument
1143 launchFlags, in logAsmFailureAndCheckFeatureEnabled()
1195 int launchFlags, @BalCode int balCode) { in clearTopIfNeeded() argument
1196 if ((launchFlags & FLAG_ACTIVITY_NEW_TASK) != FLAG_ACTIVITY_NEW_TASK in clearTopIfNeeded()
1227 targetTask.performClearTop(activity, launchFlags, finishCount); in clearTopIfNeeded()
DActivityStarter.java1009 final int launchFlags = intent.getFlags(); in executeRequest() local
1010 if ((launchFlags & Intent.FLAG_ACTIVITY_FORWARD_RESULT) != 0 && sourceRecord != null) { in executeRequest()
1071 if ((launchFlags & FLAG_ACTIVITY_NEW_TASK) == 0 in executeRequest()
3072 boolean launchSingleTask, int launchFlags) { in adjustLaunchFlagsToDocumentMode() argument
3073 if ((launchFlags & Intent.FLAG_ACTIVITY_NEW_DOCUMENT) != 0 && in adjustLaunchFlagsToDocumentMode()
3078 launchFlags &= in adjustLaunchFlagsToDocumentMode()
3085 launchFlags |= Intent.FLAG_ACTIVITY_NEW_DOCUMENT; in adjustLaunchFlagsToDocumentMode()
3088 launchFlags |= Intent.FLAG_ACTIVITY_NEW_DOCUMENT; in adjustLaunchFlagsToDocumentMode()
3097 if ((launchFlags & Intent.FLAG_ACTIVITY_NEW_DOCUMENT) != 0) { in adjustLaunchFlagsToDocumentMode()
3098 launchFlags &= ~(Intent.FLAG_ACTIVITY_NEW_DOCUMENT in adjustLaunchFlagsToDocumentMode()
[all …]
DTask.java1669 ActivityRecord performClearTop(ActivityRecord newR, int launchFlags, int[] finishCount) { in performClearTop() argument
1676 result = clearTopActivities(newR, launchFlags, finishCount); in performClearTop()
1697 private ActivityRecord clearTopActivities(ActivityRecord newR, int launchFlags, in clearTopActivities() argument
1714 && (launchFlags & Intent.FLAG_ACTIVITY_SINGLE_TOP) == 0 in clearTopActivities()
1715 && !ActivityStarter.isDocumentLaunchesIntoExisting(launchFlags)) { in clearTopActivities()
6471 Builder setLaunchFlags(int launchFlags) {
6472 mLaunchFlags = launchFlags;
DRootWindowContainer.java3063 @Nullable LaunchParamsController.LaunchParams launchParams, int launchFlags) { in getOrCreateRootTask() argument
3111 sourceTask, launchParams, launchFlags, activityType, onTop); in getOrCreateRootTask()
3153 launchParams, launchFlags, activityType, onTop); in getOrCreateRootTask()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java213 private void verifyStartActivityPreconditions(int preconditions, int launchFlags, in verifyStartActivityPreconditions() argument
222 verifyStartActivityPreconditionsUntracked(preconditions, launchFlags, expectedResult); in verifyStartActivityPreconditions()
238 private void verifyStartActivityPreconditionsUntracked(int preconditions, int launchFlags, in verifyStartActivityPreconditionsUntracked() argument
249 prepareStarter(launchFlags); in verifyStartActivityPreconditionsUntracked()
262 intent.setFlags(launchFlags); in verifyStartActivityPreconditionsUntracked()
353 private ActivityStarter prepareStarter(@Intent.Flags int launchFlags) { in prepareStarter() argument
354 return prepareStarter(launchFlags, true /* mockGetRootTask */, LAUNCH_MULTIPLE); in prepareStarter()
357 private ActivityStarter prepareStarter(@Intent.Flags int launchFlags, in prepareStarter() argument
359 return prepareStarter(launchFlags, mockGetRootTask, LAUNCH_MULTIPLE); in prepareStarter()
378 private ActivityStarter prepareStarter(@Intent.Flags int launchFlags, in prepareStarter() argument
[all …]