Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DSafeActivityOptions.java26 import static com.android.server.am.TaskRecord.INVALID_TASK_ID;
193 if (options.getLaunchTaskId() != INVALID_TASK_ID in checkPermissions()
DTaskRecord.java175 static final int INVALID_TASK_ID = -1; field in TaskRecord
289 int mPrevAffiliateTaskId = INVALID_TASK_ID; // previous id for persistence.
291 int mNextAffiliateTaskId = INVALID_TASK_ID; // next id for persistence.
911 mPrevAffiliateTaskId = prevAffiliate == null ? INVALID_TASK_ID : prevAffiliate.taskId; in setPrevAffiliate()
916 mNextAffiliateTaskId = nextAffiliate == null ? INVALID_TASK_ID : nextAffiliate.taskId; in setNextAffiliate()
1987 if (mAffiliatedTaskId != taskId || mPrevAffiliateTaskId != INVALID_TASK_ID in dump()
1988 || mPrevAffiliate != null || mNextAffiliateTaskId != INVALID_TASK_ID in dump()
2286 int taskId = INVALID_TASK_ID; in restoreFromXml()
2289 int taskAffiliation = INVALID_TASK_ID; in restoreFromXml()
2291 int prevTaskId = INVALID_TASK_ID; in restoreFromXml()
[all …]
DRecentTasks.java41 import static com.android.server.am.TaskRecord.INVALID_TASK_ID;
877 || task.mNextAffiliateTaskId != INVALID_TASK_ID in add()
878 || task.mPrevAffiliateTaskId != INVALID_TASK_ID; in add()
1104 if (task.mAffiliatedTaskId != INVALID_TASK_ID && task.mAffiliatedTaskId != task.taskId) { in isActiveRecentTask()
1403 if (cur.mNextAffiliate != null || cur.mNextAffiliateTaskId != INVALID_TASK_ID) { in moveAffiliatedTasksToFront()
1422 if (cur.mPrevAffiliateTaskId == INVALID_TASK_ID) { in moveAffiliatedTasksToFront()
1526 rti.id = tr.getTopActivity() == null ? INVALID_TASK_ID : tr.taskId; in createRecentTaskInfo()
DActivityRecord.java112 import static com.android.server.am.TaskRecord.INVALID_TASK_ID;
2218 return INVALID_TASK_ID; in getTaskForActivityLocked()
2223 return INVALID_TASK_ID; in getTaskForActivityLocked()
3007 return stringName + " t" + (task == null ? INVALID_TASK_ID : task.taskId) + in toString()
DActivityManagerShellCommand.java106 import static com.android.server.am.TaskRecord.INVALID_TASK_ID;
302 mTaskId = INVALID_TASK_ID; in makeIntent()
457 if (mTaskId != INVALID_TASK_ID) {
DActivityStackSupervisor.java87 import static com.android.server.am.TaskRecord.INVALID_TASK_ID;
2409 int taskId = INVALID_TASK_ID; in getLaunchStack()
2423 if (taskId != INVALID_TASK_ID) { in getLaunchStack()
2425 options.setLaunchTaskId(INVALID_TASK_ID); in getLaunchStack()
DActivityManagerService.java201 import static com.android.server.am.TaskRecord.INVALID_TASK_ID;
10801 return INVALID_TASK_ID;