/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentTasksTest.java | 118 private ArrayList<Task> mTasks; field in RecentTasksTest 142 mTasks = new ArrayList<>(); in setUp() 143 mTasks.add(createTaskBuilder(".Task1").build()); in setUp() 144 mTasks.add(createTaskBuilder(".Task2").build()); in setUp() 145 mTasks.add(createTaskBuilder(".Task3").build()); in setUp() 146 mTasks.add(createTaskBuilder(".Task4").build()); in setUp() 147 mTasks.add(createTaskBuilder(".Task5").build()); in setUp() 157 mRecentTasks.add(mTasks.get(0)); in testCallbacks() 158 mRecentTasks.add(mTasks.get(1)); in testCallbacks() 159 assertThat(mCallbacksRecorder.mAdded).contains(mTasks.get(0)); in testCallbacks() [all …]
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | ContiguousFIFOAggregator.java | 59 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/libs/WindowManager/Shell/src/com/android/wm/shell/util/ |
D | GroupedRecentTaskInfo.java | 48 private final ActivityManager.RecentTaskInfo[] mTasks; field in GroupedRecentTaskInfo 82 mTasks = tasks; in GroupedRecentTaskInfo() 88 mTasks = parcel.createTypedArray(ActivityManager.RecentTaskInfo.CREATOR); in GroupedRecentTaskInfo() 98 return mTasks[0]; in getTaskInfo1() 108 if (mTasks.length > 1) { in getTaskInfo2() 109 return mTasks[1]; in getTaskInfo2() 119 return Arrays.asList(mTasks); in getTaskInfoList() 141 for (int i = 0; i < mTasks.length; i++) { in toString() 147 taskString.append(i + 1).append(": ").append(getTaskInfo(mTasks[i])); in toString() 181 parcel.writeTypedArray(mTasks, flags); in writeToParcel()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentTasks.java | 179 private final ArrayList<Task> mTasks = new ArrayList<>(); field in RecentTasks 319 mTasks.remove(topTask); in resetFreezeTaskListReordering() 320 mTasks.add(0, topTask); in resetFreezeTaskListReordering() 492 for (final Task task : mTasks) { in loadUserRecentsLocked() 500 mTasks.addAll(tasks); in loadUserRecentsLocked() 557 for (int i = mTasks.size() - 1; i >= 0; i--) { in syncPersistentTaskIdsLocked() 558 final Task task = mTasks.get(i); in syncPersistentTaskIdsLocked() 579 mTasks.clear(); in onSystemReadyLocked() 641 for (int i = mTasks.size() - 1; i >= 0; --i) { in removeTasksForUserLocked() 642 Task task = mTasks.get(i); in removeTasksForUserLocked() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | InitController.java | 35 private final ArrayList<Runnable> mTasks = new ArrayList<>(); field in InitController 49 mTasks.add(runnable); in addPostInitTask() 56 while (!mTasks.isEmpty()) { in executePostInitTasks() 57 mTasks.remove(0).run(); in executePostInitTasks()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/ |
D | ShellTaskOrganizer.java | 152 private final SparseArray<TaskAppearedInfo> mTasks = new SparseArray<>(); field in ShellTaskOrganizer 303 final TaskAppearedInfo info = mTasks.get(taskId); in addListenerForTaskId() 330 for (int i = mTasks.size() - 1; i >= 0; --i) { in addListenerForType() 331 final TaskAppearedInfo data = mTasks.valueAt(i); in addListenerForType() 353 for (int i = mTasks.size() - 1; i >= 0; --i) { in removeListener() 354 final TaskAppearedInfo data = mTasks.valueAt(i); in removeListener() 473 mTasks.put(taskId, info); in onTaskAppeared() 493 final TaskAppearedInfo info = mTasks.get(taskInfo.taskId); in screenshotTask() 510 final TaskAppearedInfo data = mTasks.get(taskInfo.taskId); in onTaskInfoChanged() 513 mTasks.put(taskInfo.taskId, new TaskAppearedInfo(taskInfo, data.getLeash())); in onTaskInfoChanged() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/ |
D | FreeformTaskListener.java | 49 private final SparseArray<State> mTasks = new SparseArray<>(); field in FreeformTaskListener 78 if (mTasks.get(taskInfo.taskId) != null) { in onTaskAppeared() 86 mTasks.put(taskInfo.taskId, state); in onTaskAppeared() 111 mTasks.remove(taskInfo.taskId); in onTaskVanished() 131 final State state = mTasks.get(taskInfo.taskId); in onTaskInfoChanged() 174 if (!mTasks.contains(taskId)) { in findTaskSurface() 177 return mTasks.get(taskId).mLeash; in findTaskSurface() 184 pw.println(innerPrefix + mTasks.size() + " tasks"); in dump()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/fullscreen/ |
D | FullscreenTaskListener.java | 51 private final SparseArray<State> mTasks = new SparseArray<>(); field in FullscreenTaskListener 89 if (mTasks.get(taskInfo.taskId) != null) { in onTaskAppeared() 98 mTasks.put(taskInfo.taskId, state); in onTaskAppeared() 130 final State state = mTasks.get(taskInfo.taskId); in onTaskInfoChanged() 156 mTasks.remove(taskInfo.taskId); in onTaskVanished() 185 if (!mTasks.contains(taskId)) { in findTaskSurface() 188 return mTasks.get(taskId).mLeash; in findTaskSurface() 195 pw.println(innerPrefix + mTasks.size() + " Tasks"); in dump()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | GapWorker.java | 58 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/tests/benchmarks/internal/src/com/android/internal/ |
D | LambdaPerfTest.java | 71 private final ArrayList<Task> mTasks = new ArrayList<>(); field in LambdaPerfTest 85 mTasks.clear(); 88 mTasks.add(t); 184 for (int i = mTasks.size() - 1; i >= 0; i--) { in forAllTask() 185 callback.accept(mTasks.get(i)); in forAllTask() 190 for (int i = mTasks.size() - 1; i >= 0; i--) { in handleTask() 191 final Task task = mTasks.get(i); in handleTask()
|
/frameworks/base/core/java/android/os/ |
D | AsyncTask.java | 298 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/ |
D | NotificationTestList.java | 1172 mTasks = tasks; in StateStress() 1175 Runnable[] mTasks; field in NotificationTestList.StateStress 1181 mTasks[mNext].run(); 1183 if (mNext >= mTasks.length) {
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 34637 Landroid/os/AsyncTask$SerialExecutor;->mTasks:Ljava/util/ArrayDeque;
|