Searched refs:candidateTaskId (Results 1 – 2 of 2) sorted by relevance
589 int candidateTaskId = nextTaskIdForUser(currentTaskId, userId); in getNextTaskIdForUser() local590 while (mRecentTasks.containsTaskId(candidateTaskId, userId) in getNextTaskIdForUser()592 candidateTaskId, MATCH_ATTACHED_TASK_OR_RECENT_TASKS) != null) { in getNextTaskIdForUser()593 candidateTaskId = nextTaskIdForUser(candidateTaskId, userId); in getNextTaskIdForUser()594 if (candidateTaskId == currentTaskId) { in getNextTaskIdForUser()602 mCurTaskIdForUser.put(userId, candidateTaskId); in getNextTaskIdForUser()603 return candidateTaskId; in getNextTaskIdForUser()
3074 final int candidateTaskId = options.getLaunchTaskId(); in getOrCreateRootTask() local3075 if (candidateTaskId != INVALID_TASK_ID) { in getOrCreateRootTask()3078 final Task task = anyTaskForId(candidateTaskId, in getOrCreateRootTask()3080 options.setLaunchTaskId(candidateTaskId); in getOrCreateRootTask()