Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DTaskPersister.java58 import static com.android.server.am.TaskRecord.INVALID_TASK_ID;
115 final TaskRecord mTask;
116 TaskWriteQueueItem(TaskRecord task) { in TaskWriteQueueItem()
172 private void removeThumbnails(TaskRecord task) { in removeThumbnails()
197 void wakeup(TaskRecord task, boolean flush) { in wakeup()
301 private StringWriter saveToXml(TaskRecord task) throws IOException, XmlPullParserException { in saveToXml()
340 private TaskRecord taskIdToTask(int taskId, ArrayList<TaskRecord> tasks) { in taskIdToTask()
345 final TaskRecord task = tasks.get(taskNdx); in taskIdToTask()
354 ArrayList<TaskRecord> restoreTasksLocked() { in restoreTasksLocked()
355 final ArrayList<TaskRecord> tasks = new ArrayList<TaskRecord>(); in restoreTasksLocked()
[all …]
DActivityStack.java154 private ArrayList<TaskRecord> mTaskHistory = new ArrayList<TaskRecord>();
378 final TaskRecord task = mTaskHistory.get(taskNdx); in topRunningNonDelayedActivityLocked()
401 TaskRecord task = mTaskHistory.get(taskNdx); in topRunningActivityLocked()
430 final TaskRecord topTask() { in topTask()
438 TaskRecord taskForIdLocked(int id) { in taskForIdLocked()
440 final TaskRecord task = mTaskHistory.get(taskNdx); in taskForIdLocked()
451 final TaskRecord task = r.task; in isInStackLocked()
483 final TaskRecord task = topTask(); in moveToFront()
512 final TaskRecord task = mTaskHistory.get(taskNdx); in findTaskLocked()
591 TaskRecord task = mTaskHistory.get(taskNdx); in findActivityLocked()
[all …]
DTaskRecord.java56 final class TaskRecord { class
157 TaskRecord mPrevAffiliate; // previous task in affiliated chain.
159 TaskRecord mNextAffiliate; // next task in affiliated chain.
168 TaskRecord(ActivityManagerService service, int _taskId, ActivityInfo info, Intent _intent, in TaskRecord() method in TaskRecord
183 TaskRecord(ActivityManagerService service, int _taskId, ActivityInfo info, Intent _intent, in TaskRecord() method in TaskRecord
213 TaskRecord(ActivityManagerService service, int _taskId, Intent _intent, Intent _affinityIntent, in TaskRecord() method in TaskRecord
368 void setPrevAffiliate(TaskRecord prevAffiliate) { in setPrevAffiliate()
373 void setNextAffiliate(TaskRecord nextAffiliate) { in setNextAffiliate()
399 void setTaskToAffiliateWith(TaskRecord taskToAffiliateWith) { in setTaskToAffiliateWith()
405 final TaskRecord nextRecents = taskToAffiliateWith.mNextAffiliate; in setTaskToAffiliateWith()
[all …]
DActivityStackSupervisor.java267 TaskRecord mLockTaskModeTask;
462 TaskRecord anyTaskForIdLocked(int id) { in anyTaskForIdLocked()
468 TaskRecord task = stack.taskForIdLocked(id); in anyTaskForIdLocked()
477 TaskRecord task = mService.recentTaskForIdLocked(id); in anyTaskForIdLocked()
842 Bundle options, int userId, IActivityContainer iContainer, TaskRecord inTask) { in startActivityMayWait()
1303 TaskRecord inTask) { in startActivityLocked()
1529 final TaskRecord task = r.task; in adjustStackFocus()
1586 final TaskRecord task = r.task; in setFocusedStack()
1601 boolean doResume, Bundle options, TaskRecord inTask) { in startActivityUncheckedLocked()
1703 TaskRecord reuseTask = null; in startActivityUncheckedLocked()
[all …]
DActivityRecord.java21 import static com.android.server.am.TaskRecord.INVALID_TASK_ID;
120 TaskRecord task; // the task this is in.
516 void setTask(TaskRecord newTask, TaskRecord taskToAffiliateWith) {
529 void setTaskToAffiliateWith(TaskRecord taskToAffiliateWith) {
1061 final TaskRecord task = r.task; in getTaskForActivityLocked()
DActivityManagerService.java33 import static com.android.server.am.TaskRecord.INVALID_TASK_ID;
432 ArrayList<TaskRecord> mRecentTasks;
433 ArrayList<TaskRecord> mTmpRecents = new ArrayList<TaskRecord>();
3640 final TaskRecord task; in startActivityFromRecentsInner()
3667 IActivityContainer container, TaskRecord inTask) { in startActivityInPackage()
3712 TaskRecord tr = mRecentTasks.get(i); in removeRecentTasksForUserLocked()
3726 private Comparator<TaskRecord> mTaskRecordComparator = new Comparator<TaskRecord>() {
3728 public int compare(TaskRecord lhs, TaskRecord rhs) {
3735 final TaskRecord startTask = mRecentTasks.get(start); in processNextAffiliateChainLocked()
3751 final TaskRecord task = mRecentTasks.get(i); in processNextAffiliateChainLocked()
[all …]
DActiveServices.java2070 void cleanUpRemovedTaskLocked(TaskRecord tr, ComponentName component, Intent baseIntent) { in cleanUpRemovedTaskLocked()