/frameworks/base/services/core/java/com/android/server/wm/ |
D | ResetTargetTaskHelper.java | 58 ActivityOptions process(Task targetTask, boolean forceReset) { in process() argument 60 mTargetTask = targetTask; in process() 62 mTargetRootTask = targetTask.getRootTask(); in process() 65 targetTask.mWmService.mRoot.forAllLeafTasks(this, true /* traverseTopToBottom */); in process() 204 private void processResultActivities(ActivityRecord target, Task targetTask, int position, in processResultActivities() argument 216 + "adding to task=%s Callers=%s", p, mTask, targetTask, Debug.getCallers(4)); in processResultActivities() 219 p.reparent(targetTask, position, "resetTargetTaskIfNeeded"); in processResultActivities() 240 Task targetTask = null; in processPendingReparentActivities() local 244 targetTask = task; in processPendingReparentActivities() 246 targetTask); in processPendingReparentActivities() [all …]
|
D | BackgroundActivityStartController.java | 1026 @Nullable Task targetTask, int launchFlags, int balCode, int callingUid, in checkActivityAllowedToStart() argument 1054 Task taskToCheck = taskToFront ? sourceTask : targetTask; in checkActivityAllowedToStart() 1064 && (sourceTask.isVisible() || sourceTask == targetTask)); in checkActivityAllowedToStart() 1066 } else if (targetTask != null && (!taskToFront || avoidMoveTaskToFront)) { in checkActivityAllowedToStart() 1069 bas = checkTopActivityForAsm(targetTask, callingUid, in checkActivityAllowedToStart() 1073 TaskDisplayArea displayArea = targetTask != null && targetTask.getDisplayArea() != null in checkActivityAllowedToStart() 1074 ? targetTask.getDisplayArea() in checkActivityAllowedToStart() 1095 newTask, avoidMoveTaskToFront, targetTask, targetRecord, balCode, launchFlags, in checkActivityAllowedToStart() 1100 int realCallingUid, boolean newTask, boolean avoidMoveTaskToFront, Task targetTask, in logAsmFailureAndCheckFeatureEnabled() argument 1104 ActivityRecord targetTopActivity = targetTask == null ? null in logAsmFailureAndCheckFeatureEnabled() [all …]
|
D | ActivityStarter.java | 1463 final Task targetTask = r.getTask() != null in postStartActivityProcessing() local 1466 if (startedActivityRootTask == null || targetTask == null || !targetTask.isAttached()) { in postStartActivityProcessing() 1474 final Task rootHomeTask = targetTask.getDisplayArea().getRootHomeTask(); in postStartActivityProcessing() 1477 final ActivityRecord top = targetTask.getTopNonFinishingActivity(); in postStartActivityProcessing() 1480 targetTask.getTaskInfo(), homeTaskVisible, mIsTaskCleared, visible); in postStartActivityProcessing() 1484 mInterceptor.onActivityLaunched(targetTask.getTaskInfo(), r); in postStartActivityProcessing() 1745 final Task targetTask = reusedTask != null ? reusedTask : computeTargetTask(); in startActivityInner() local 1746 final boolean newTask = targetTask == null; in startActivityInner() 1747 mTargetTask = targetTask; in startActivityInner() 1749 computeLaunchParams(r, sourceRecord, targetTask); in startActivityInner() [all …]
|
D | WindowManagerService.java | 9114 Task targetTask = null; in getTaskWindowContainerInfoForRecordingSession() local 9127 targetTask = targetActivity.getTask(); in getTaskWindowContainerInfoForRecordingSession() 9128 taskWindowContainerToken = targetTask.mRemoteToken.toWindowContainerToken(); in getTaskWindowContainerInfoForRecordingSession() 9138 targetTask = mRoot.getTask(task -> task.isTaskId(targetTaskId)); in getTaskWindowContainerInfoForRecordingSession() 9139 if (targetTask == null) { in getTaskWindowContainerInfoForRecordingSession() 9142 taskWindowContainerToken = targetTask.mRemoteToken.toWindowContainerToken(); in getTaskWindowContainerInfoForRecordingSession() 9152 return new WindowContainerInfo(targetTask.effectiveUid, taskWindowContainerToken); in getTaskWindowContainerInfoForRecordingSession()
|
D | ActivityTaskManagerService.java | 7322 ActivityManager.RecentTaskInfo targetTask = null; in getMostRecentTaskFromBackground() local 7326 targetTask = info; in getMostRecentTaskFromBackground() 7330 return targetTask; in getMostRecentTaskFromBackground()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 619 Binder targetTask = new Binder(); in startActivityAsUser_sameTask_fromProfile_success() local 627 targetTask, in startActivityAsUser_sameTask_fromProfile_success() 635 eq(targetTask), in startActivityAsUser_sameTask_fromProfile_success()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 619 Binder targetTask = new Binder(); in startActivityAsUser_sameTask_fromProfile_success() local 627 targetTask, in startActivityAsUser_sameTask_fromProfile_success() 635 eq(targetTask), in startActivityAsUser_sameTask_fromProfile_success()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileAppsServiceImpl.java | 118 IBinder targetTask, in startActivityAsUser() argument 152 if (targetTask == null || options != null) { in startActivityAsUser() 192 targetTask, in startActivityAsUser()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RootWindowContainerTests.java | 719 final Task targetTask = targetRootTask.getBottomMostTask(); in testFindTaskToMoveToFrontWhenRecentsOnTop() local 728 mSupervisor.findTaskToMoveToFront(targetTask, 0, ActivityOptions.makeBasic(), reason, in testFindTaskToMoveToFrontWhenRecentsOnTop() 745 final Task targetTask = new TaskBuilder(mSupervisor).setParentTask(targetRootTask) in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay() local 756 mSupervisor.findTaskToMoveToFront(targetTask, 0, ActivityOptions.makeBasic(), reason, in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 1630 RecentTaskInfo targetTask = mBackgroundRecentTaskInfoOnStemPrimarySingleKeyUp; in performStemPrimaryDoublePressSwitchToRecentTask() local 1631 if (targetTask == null) { in performStemPrimaryDoublePressSwitchToRecentTask() 1643 + targetTask.id in performStemPrimaryDoublePressSwitchToRecentTask() 1645 + targetTask.persistentId in performStemPrimaryDoublePressSwitchToRecentTask() 1647 + targetTask.topActivity in performStemPrimaryDoublePressSwitchToRecentTask() 1649 + targetTask.baseIntent); in performStemPrimaryDoublePressSwitchToRecentTask() 1652 mActivityManagerService.startActivityFromRecents(targetTask.persistentId, null); in performStemPrimaryDoublePressSwitchToRecentTask() 1654 Slog.e(TAG, "Failed to start task " + targetTask.persistentId + " from recents", e); in performStemPrimaryDoublePressSwitchToRecentTask()
|