Searched refs:mTasks (Results 1 – 9 of 9) sorted by relevance
109 private ArrayList<TaskRecord> mTasks; field in RecentTasksTest129 mTasks = new ArrayList<>(); in setUp()130 mTasks.add(createTaskBuilder(".Task1").build()); in setUp()131 mTasks.add(createTaskBuilder(".Task2").build()); in setUp()132 mTasks.add(createTaskBuilder(".Task3").build()); in setUp()133 mTasks.add(createTaskBuilder(".Task4").build()); in setUp()134 mTasks.add(createTaskBuilder(".Task5").build()); in setUp()144 mRecentTasks.add(mTasks.get(0)); in testCallbacks()145 mRecentTasks.add(mTasks.get(1)); in testCallbacks()146 assertThat(mCallbacksRecorder.mAdded).contains(mTasks.get(0)); in testCallbacks()[all …]
173 private final ArrayList<TaskRecord> mTasks = new ArrayList<>(); field in RecentTasks294 mTasks.remove(topTask); in resetFreezeTaskListReordering()295 mTasks.add(0, topTask); in resetFreezeTaskListReordering()455 for (final TaskRecord task : mTasks) { in loadUserRecentsLocked()463 mTasks.addAll(tasks); in loadUserRecentsLocked()520 for (int i = mTasks.size() - 1; i >= 0; i--) { in syncPersistentTaskIdsLocked()521 final TaskRecord task = mTasks.get(i); in syncPersistentTaskIdsLocked()542 mTasks.clear(); in onSystemReadyLocked()604 for (int i = mTasks.size() - 1; i >= 0; --i) { in removeTasksForUserLocked()605 TaskRecord tr = mTasks.get(i); in removeTasksForUserLocked()[all …]
59 private final SparseArray<Value> mTasks; field in ContiguousFIFOAggregator78 mTasks = new SparseArray<Value>(); in ContiguousFIFOAggregator()103 mTasks.remove(hash); in expect()107 mTasks.put(hash, new Value(callback, null)); in expect()138 mTasks.delete(key.hashCode()); in forget()168 final Value value = mTasks.get(hash); in execute()202 final Value value = mTasks.get(hash); in maybeExecuteNow()209 mTasks.delete(hash); in maybeExecuteNow()225 final Value value = mTasks.get(hash); in onFirstExpectedChanged()240 return mTasks.get(key.hashCode()) != null; in contains()[all …]
33 private final ArrayList<Task> mTasks = new ArrayList<>(); field in FilteredTaskList48 mTasks.add(t); in add()54 mTasks.clear(); in set()55 mTasks.addAll(tasks); in set()62 boolean removed = mTasks.remove(t); in remove()93 int taskCount = mTasks.size(); in updateFilteredTasks()95 Task t = mTasks.get(i); in updateFilteredTasks()100 Task t = mTasks.get(i); in updateFilteredTasks()106 mFilteredTasks.addAll(mTasks); in updateFilteredTasks()
34 private final ArrayList<Runnable> mTasks = new ArrayList<>(); field in InitController48 mTasks.add(runnable); in addPostInitTask()55 while (!mTasks.isEmpty()) { in executePostInitTasks()56 mTasks.remove(0).run(); in executePostInitTasks()
58 private ArrayList<Task> mTasks = new ArrayList<>(); field in GapWorker219 mTasks.ensureCapacity(totalTaskCount); in buildTaskList()228 if (totalTaskIndex >= mTasks.size()) { in buildTaskList()230 mTasks.add(task); in buildTaskList()232 task = mTasks.get(totalTaskIndex); in buildTaskList()247 Collections.sort(mTasks, sTaskComparator); in buildTaskList()333 for (int i = 0; i < mTasks.size(); i++) { in flushTasksWithDeadline()334 final Task task = mTasks.get(i); in flushTasksWithDeadline()
298 final ArrayDeque<Runnable> mTasks = new ArrayDeque<Runnable>(); field in AsyncTask.SerialExecutor302 mTasks.offer(new Runnable() { in execute()317 if ((mActive = mTasks.poll()) != null) { in scheduleNext()
1176 mTasks = tasks; in StateStress()1179 Runnable[] mTasks; field in NotificationTestList.StateStress1185 mTasks[mNext].run();1187 if (mNext >= mTasks.length) {
48476 Landroid/os/AsyncTask$SerialExecutor;->mTasks:Ljava/util/ArrayDeque;