Home
last modified time | relevance | path

Searched refs:mTaskList (Results 1 – 3 of 3) sorted by relevance

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestTimer.java35 private final LinkedList<Task> mTaskList = new LinkedList<>(); field in TestTimer
47 while (!mTaskList.isEmpty() && mTaskList.getFirst().mExecuteTime <= mNow) { in fastForwardTo()
48 Task task = mTaskList.getFirst(); in fastForwardTo()
52 mTaskList.removeFirst(); in fastForwardTo()
57 return !mTaskList.isEmpty(); in hasScheduledTask()
64 fastForwardTo(mTaskList.getFirst().mExecuteTime); in fastForwardToNextTask()
70 mTaskList.clear(); in cancel()
76 Iterator<Task> iter = mTaskList.iterator(); in purge()
126 ListIterator<Task> iter = mTaskList.listIterator(0); in scheduleAtTime()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentsModel.java78 private final RecentTasksList mTaskList; field in RecentsModel
106 mTaskList = taskList; in RecentsModel()
149 return mTaskList.getTasks(false /* loadKeysOnly */, callback, in getTasks()
163 return mTaskList.getTasks(false /* loadKeysOnly */, callback, filter); in getTasks()
170 return mTaskList.isTaskListValid(changeId); in isTaskListValid()
178 return mTaskList.isLoadingTasksInBackground(); in isLoadingTasksInBackground()
190 mTaskList.onRecentTasksChanged(); in isTaskRemoved()
191 mTaskList.getTasks(true /* loadKeysOnly */, (taskGroups) -> { in isTaskRemoved()
219 mTaskList.getTaskKeys(mThumbnailCache.getCacheSize(), taskGroups -> { in onTaskStackChangedBackground()
299 mTaskList.dump(" ", writer); in dump()
[all …]
/packages/services/Mtp/src/com/android/mtp/
DDocumentLoader.java54 private final TaskList mTaskList = new TaskList(); field in DocumentLoader
74 LoaderTask task = mTaskList.findTask(parent); in queryChildDocuments()
90 mTaskList.remove(task); in queryChildDocuments()
93 mTaskList.addFirst(task); in queryChildDocuments()
120 for (final LoaderTask task : mTaskList) { in getNextTaskOrReleaseBackgroundThread()
128 final LoaderTask existingTask = mTaskList.findTask(identifier); in getNextTaskOrReleaseBackgroundThread()
131 mTaskList.remove(existingTask); in getNextTaskOrReleaseBackgroundThread()
136 mTaskList.addFirst(newTask); in getNextTaskOrReleaseBackgroundThread()
151 mTaskList.clear(); in close()
161 mTaskList.clearCompletedTasks(); in clearCompletedTasks()
[all …]