Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentTasksTest.java108 private ArrayList<TaskRecord> mTasks; field in RecentTasksTest
128 mTasks = new ArrayList<>(); in setUp()
129 mTasks.add(createTaskBuilder(".Task1").build()); in setUp()
130 mTasks.add(createTaskBuilder(".Task2").build()); in setUp()
131 mTasks.add(createTaskBuilder(".Task3").build()); in setUp()
132 mTasks.add(createTaskBuilder(".Task4").build()); in setUp()
133 mTasks.add(createTaskBuilder(".Task5").build()); in setUp()
143 mRecentTasks.add(mTasks.get(0)); in testCallbacks()
144 mRecentTasks.add(mTasks.get(1)); in testCallbacks()
145 assertThat(mCallbacksRecorder.mAdded).contains(mTasks.get(0)); in testCallbacks()
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/
DFilteredTaskList.java33 private final ArrayList<Task> mTasks = new ArrayList<>(); field in FilteredTaskList
48 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()
/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.java173 private final ArrayList<TaskRecord> mTasks = new ArrayList<>(); field in RecentTasks
294 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 …]
/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.java282 final ArrayDeque<Runnable> mTasks = new ArrayDeque<Runnable>(); field in AsyncTask.SerialExecutor
286 mTasks.offer(new Runnable() { in execute()
301 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) {
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt51972 Landroid/os/AsyncTask$SerialExecutor;->mTasks:Ljava/util/ArrayDeque;