Searched refs:mTasks (Results 1 – 7 of 7) sorted by relevance
113 private ArrayList<Task> mTasks; field in RecentTasksTest139 mTasks = new ArrayList<>(); in setUp()140 mTasks.add(createTaskBuilder(".Task1").build()); in setUp()141 mTasks.add(createTaskBuilder(".Task2").build()); in setUp()142 mTasks.add(createTaskBuilder(".Task3").build()); in setUp()143 mTasks.add(createTaskBuilder(".Task4").build()); in setUp()144 mTasks.add(createTaskBuilder(".Task5").build()); in setUp()154 mRecentTasks.add(mTasks.get(0)); in testCallbacks()155 mRecentTasks.add(mTasks.get(1)); in testCallbacks()156 assertThat(mCallbacksRecorder.mAdded).contains(mTasks.get(0)); in testCallbacks()[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 …]
176 private final ArrayList<Task> mTasks = new ArrayList<>(); field in RecentTasks307 mTasks.remove(topTask); in resetFreezeTaskListReordering()308 mTasks.add(0, topTask); in resetFreezeTaskListReordering()476 for (final Task task : mTasks) { in loadUserRecentsLocked()484 mTasks.addAll(tasks); in loadUserRecentsLocked()541 for (int i = mTasks.size() - 1; i >= 0; i--) { in syncPersistentTaskIdsLocked()542 final Task task = mTasks.get(i); in syncPersistentTaskIdsLocked()563 mTasks.clear(); in onSystemReadyLocked()625 for (int i = mTasks.size() - 1; i >= 0; --i) { in removeTasksForUserLocked()626 Task task = mTasks.get(i); in removeTasksForUserLocked()[all …]
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) {