Home
last modified time | relevance | path

Searched refs:INVALID_TASK_ID (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/window/
DTaskOrganizerTaskEmbedder.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
203 : INVALID_TASK_ID; in getTaskId()
/frameworks/base/services/core/java/com/android/server/wm/
DSafeActivityOptions.java21 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
198 if (options.getLaunchTaskId() != INVALID_TASK_ID in checkPermissions()
DRecentTasks.java22 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
1045 || task.mNextAffiliateTaskId != INVALID_TASK_ID in add()
1046 || task.mPrevAffiliateTaskId != INVALID_TASK_ID; in add()
1277 if (task.mAffiliatedTaskId != INVALID_TASK_ID && task.mAffiliatedTaskId != task.mTaskId) { in isActiveRecentTask()
1639 if (cur.mNextAffiliate != null || cur.mNextAffiliateTaskId != INVALID_TASK_ID) { in moveAffiliatedTasksToFront()
1658 if (cur.mPrevAffiliateTaskId == INVALID_TASK_ID) { in moveAffiliatedTasksToFront()
1840 rti.id = rti.isRunning ? rti.taskId : INVALID_TASK_ID; in createRecentTaskInfo()
DTask.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
301 int mPrevAffiliateTaskId = INVALID_TASK_ID; // previous id for persistence.
303 int mNextAffiliateTaskId = INVALID_TASK_ID; // next id for persistence.
525 _taskId, INVALID_TASK_ID, INVALID_TASK_ID, 0 /*taskAffiliationColor*/, in Task()
546 EventLogTags.writeWmTaskCreated(_taskId, stack != null ? getRootTaskId() : INVALID_TASK_ID); in Task()
1072 mPrevAffiliateTaskId = prevAffiliate == null ? INVALID_TASK_ID : prevAffiliate.mTaskId; in setPrevAffiliate()
1077 mNextAffiliateTaskId = nextAffiliate == null ? INVALID_TASK_ID : nextAffiliate.mTaskId; in setNextAffiliate()
3837 if (mAffiliatedTaskId != mTaskId || mPrevAffiliateTaskId != INVALID_TASK_ID
3838 || mPrevAffiliate != null || mNextAffiliateTaskId != INVALID_TASK_ID
4079 int taskId = INVALID_TASK_ID;
[all …]
DRootWindowContainer.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
2013 ? topFocusedStack.getRootTaskId() : INVALID_TASK_ID; in switchUser()
2282 return finishedTask != null ? finishedTask.mTaskId : INVALID_TASK_ID; in finishTopCrashedActivities()
2833 int taskId = INVALID_TASK_ID; in getLaunchStack()
2848 if (taskId != INVALID_TASK_ID) { in getLaunchStack()
2850 options.setLaunchTaskId(INVALID_TASK_ID); in getLaunchStack()
DActivityStack.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
536 id, INVALID_TASK_ID, INVALID_TASK_ID, 0 /*taskAffiliationColor*/, in ActivityStack()
2364 ActivityRecord next = topRunningActivity(srec.appToken, INVALID_TASK_ID); in navigateUpTo()
2587 next = topRunningActivity(null, INVALID_TASK_ID); in moveTaskToBack()
DActivityStarter.java30 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
2225 if (mOptions.getLaunchTaskId() != INVALID_TASK_ID && mOptions.getTaskOverlay()) { in setInitialState()
2420 if (mOptions != null && mOptions.getLaunchTaskId() != INVALID_TASK_ID) { in getReusableTask()
DActivityRecord.java34 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
2129 return task != null ? task.getRootTaskId() : INVALID_TASK_ID; in getRootTaskId()
5632 return INVALID_TASK_ID; in getTaskForActivityLocked()
5637 return INVALID_TASK_ID; in getTaskForActivityLocked()
7570 return stringName + " t" + (task == null ? INVALID_TASK_ID : task.mTaskId) + in toString()
DDisplayContent.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
2922 proto.write(FOCUSED_ROOT_TASK_ID, INVALID_TASK_ID); in dumpDebug()
5620 if (taskId != INVALID_TASK_ID) { in findScrollCaptureTargetWindow()
DActivityTaskManagerService.java32 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
1710 r.getRootTask().topRunningActivity(token, INVALID_TASK_ID); in finishActivity()
3318 return INVALID_TASK_ID; in addAppTask()
DWindowState.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
3728 return INVALID_TASK_ID; in getRootTaskId()
/frameworks/base/services/core/java/com/android/server/am/
DAppErrorDialog.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
68 mIsRestartable = (data.taskId != INVALID_TASK_ID || data.isRestartableForService) in AppErrorDialog()
DAppErrors.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
515 if (taskId != INVALID_TASK_ID) { in crashApplicationInner()
DActivityManagerShellCommand.java20 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
333 mTaskId = INVALID_TASK_ID; in makeIntent()
522 if (mTaskId != INVALID_TASK_ID) {
/frameworks/base/core/java/android/app/
DActivityTaskManager.java55 public static final int INVALID_TASK_ID = -1; field in ActivityTaskManager
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskRecordTests.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
766 assertEquals("No task must be reported for activity that is above root", INVALID_TASK_ID, in testGetTaskForActivity_onlyRoot_finishing()
789 assertEquals("No task must be reported for activity that is above root", INVALID_TASK_ID, in testGetTaskForActivity_onlyRoot_relinquishTaskIdentity()
DDisplayContentTests.java1435 ActivityTaskManager.INVALID_TASK_ID); in testFindScrollCaptureTargetWindow_behindWindow()