Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentTasksTest.java113 private ArrayList<Task> mTasks; field in RecentTasksTest
139 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 …]
/frameworks/opt/bitmap/src/com/android/bitmap/
DContiguousFIFOAggregator.java59 private final SparseArray<Value> mTasks; field in ContiguousFIFOAggregator
78 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 …]
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java176 private final ArrayList<Task> mTasks = new ArrayList<>(); field in RecentTasks
307 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DInitController.java34 private final ArrayList<Runnable> mTasks = new ArrayList<>(); field in InitController
48 mTasks.add(runnable); in addPostInitTask()
55 while (!mTasks.isEmpty()) { in executePostInitTasks()
56 mTasks.remove(0).run(); in executePostInitTasks()
/frameworks/base/core/java/com/android/internal/widget/
DGapWorker.java58 private ArrayList<Task> mTasks = new ArrayList<>(); field in GapWorker
219 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()
/frameworks/base/core/java/android/os/
DAsyncTask.java298 final ArrayDeque<Runnable> mTasks = new ArrayDeque<Runnable>(); field in AsyncTask.SerialExecutor
302 mTasks.offer(new Runnable() { in execute()
317 if ((mActive = mTasks.poll()) != null) { in scheduleNext()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java1176 mTasks = tasks; in StateStress()
1179 Runnable[] mTasks; field in NotificationTestList.StateStress
1185 mTasks[mNext].run();
1187 if (mNext >= mTasks.length) {