/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/model/ |
D | TaskStack.java | 115 ArrayList<Task> tasks = mStackTaskList.getTasks(); in removeAllTasks() local 116 for (int i = tasks.size() - 1; i >= 0; i--) { in removeAllTasks() 117 Task t = tasks.get(i); in removeAllTasks() 141 public void setTasks(List<Task> tasks, boolean notifyStackChanges) { in setTasks() argument 144 ArrayMap<TaskKey, Task> newTasksMap = createTaskKeyMapFromList(tasks); in setTasks() 166 taskCount = tasks.size(); in setTasks() 168 Task newTask = tasks.get(i); in setTasks() 225 ArrayList<Task> tasks = computeAllTasksList(); in getTaskKeys() local 226 int taskCount = tasks.size(); in getTaskKeys() 228 Task task = tasks.get(i); in getTaskKeys() [all …]
|
D | RecentsTaskLoadPlan.java | 174 ArrayList<Task> tasks = mStack.getTasks(); in executePlan() local 175 int taskCount = tasks.size(); in executePlan() 177 Task task = tasks.get(i); in executePlan()
|
D | FilteredTaskList.java | 53 void set(List<Task> tasks) { in set() argument 55 mTasks.addAll(tasks); in set()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AppButtonData.java | 30 public ArrayList<RecentTaskInfo> tasks; field in AppButtonData 38 return tasks == null ? 0 : tasks.size(); in getTaskCount() 49 if (tasks == null) { in addTask() 50 tasks = new ArrayList<RecentTaskInfo>(); in addTask() 52 tasks.add(task); in addTask() 56 if (tasks != null) { in clearTasks() 57 tasks.clear(); in clearTasks()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RunningTasksTest.java | 81 ArrayList<RunningTaskInfo> tasks = new ArrayList<>(); in testCollectTasksByLastActiveTime() local 82 mRunningTasks.getTasks(5, tasks, ACTIVITY_TYPE_UNDEFINED, WINDOWING_MODE_UNDEFINED, in testCollectTasksByLastActiveTime() 85 assertThat(tasks).hasSize(numFetchTasks); in testCollectTasksByLastActiveTime() 87 assertEquals(numTasks - i - 1, tasks.get(i).id); in testCollectTasksByLastActiveTime() 92 tasks.clear(); in testCollectTasksByLastActiveTime() 93 mRunningTasks.getTasks(100, tasks, ACTIVITY_TYPE_UNDEFINED, WINDOWING_MODE_UNDEFINED, in testCollectTasksByLastActiveTime() 96 assertThat(tasks).hasSize(numTasks); in testCollectTasksByLastActiveTime() 98 assertEquals(numTasks - i - 1, tasks.get(i).id); in testCollectTasksByLastActiveTime()
|
D | RecentTasksTest.java | 437 final ArrayList<TaskRecord> tasks = mRecentTasks.getRawTasks(); in testOrderedIteration() local 438 for (int i = 0; i < tasks.size(); i++) { in testOrderedIteration() 439 final TaskRecord task = tasks.get(i); in testOrderedIteration() 809 final ArrayList<TaskRecord> tasks = mRecentTasks.getRawTasks(); in testRemovePackageByName() local 810 for (int i = 0; i < tasks.size(); i++) { in testRemovePackageByName() 811 if (tasks.get(i).intent.getComponent().getPackageName().equals("com.android.pkg1")) { in testRemovePackageByName() 909 ArrayList<TaskRecord> tasks = mRecentTasks.getRawTasks(); in assertRecentTasksOrder() local 910 assertTrue(expectedTasks.length == tasks.size()); in assertRecentTasksOrder() 911 for (int i = 0; i < tasks.size(); i++) { in assertRecentTasksOrder() 912 assertTrue(expectedTasks[i] == tasks.get(i)); in assertRecentTasksOrder() [all …]
|
/frameworks/opt/setupwizard/tools/gradle/ |
D | dist-unit-tests.gradle | 17 def task = tasks.findByName('test' + variant.name.capitalize()) 21 task.ignoreFailures = taskGraph.hasTask(tasks.dist) 27 def zipTask = tasks.create("zipResultsOf${task.name.capitalize()}", Zip) { 36 tasks.dist.mustRunAfter zipTask 57 def coverageTask = tasks.findByName('coverage') ?: tasks.create('coverage') { 64 def testTask = tasks.findByName(testTaskName) 68 def jacocoTask = tasks.create("${testTaskName}Coverage", JacocoReport) { 92 def zipTask = tasks.create("zipResultsOf${jacocoTask.name.capitalize()}", Zip) { 101 tasks.dist.mustRunAfter jacocoTask 104 tasks.dist.mustRunAfter zipTask
|
D | docs.gradle | 3 * Include this file using `apply from` in the gradle build file. This will generate new tasks 17 def javadocTask = project.tasks.create(name: "javadoc${suffix}", type: Javadoc) {
|
/frameworks/base/core/java/android/app/ |
D | HomeVisibilityObserver.java | 75 List<ActivityManager.RunningTaskInfo> tasks = mActivityManager.getRunningTasks(1); in isHomeActivityVisible() local 76 if (tasks == null || tasks.isEmpty()) { in isHomeActivityVisible() 80 String top = tasks.get(0).topActivity.getPackageName(); in isHomeActivityVisible()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskStackView.java | 472 ArrayList<Task> tasks, float curStackScroll, float targetStackScroll, in computeVisibleTaskTransforms() argument 474 int taskCount = tasks.size(); in computeVisibleTaskTransforms() 481 matchTaskListSize(tasks, taskTransforms); in computeVisibleTaskTransforms() 489 Task task = tasks.get(i); in computeVisibleTaskTransforms() 545 ArrayList<Task> tasks = mStack.getTasks(); in bindVisibleTaskViews() local 546 int[] visibleTaskRange = computeVisibleTaskTransforms(mCurrentTaskTransforms, tasks, in bindVisibleTaskViews() 585 for (int i = tasks.size() - 1; i >= 0; i--) { in bindVisibleTaskViews() 586 Task task = tasks.get(i); in bindVisibleTaskViews() 621 updatePrefetchingTask(tasks, visibleTaskRange[0], visibleTaskRange[1]); in bindVisibleTaskViews() 707 public void getCurrentTaskTransforms(ArrayList<Task> tasks, in getCurrentTaskTransforms() argument [all …]
|
D | TaskStackLayoutAlgorithm.java | 160 public VisibilityReport(int tasks, int thumbnails) { in VisibilityReport() argument 161 numVisibleTasks = tasks; in VisibilityReport() 441 ArrayList<Task> tasks = stack.getTasks(); in update() local 442 if (tasks.isEmpty()) { in update() 451 for (int i = 0; i < tasks.size(); i++) { in update() 452 Task task = tasks.get(i); in update() 562 List<Task> tasks = stack.getTasks(); in setTaskOverridesForInitialState() local 563 int taskCount = tasks.size(); in setTaskOverridesForInitialState() 571 mTaskIndexOverrideMap.put(tasks.get(i).key.id, newTaskProgress); in setTaskOverridesForInitialState() 707 public VisibilityReport computeStackVisibilityReport(ArrayList<Task> tasks) { in computeStackVisibilityReport() argument [all …]
|
/frameworks/rs/tests/java_api/ |
D | Android.mk | 20 include $(BUILD_SYSTEM)/tasks/tools/package-modules.mk 37 include $(BUILD_SYSTEM)/tasks/tools/package-modules.mk 58 include $(BUILD_SYSTEM)/tasks/tools/package-modules.mk
|
/frameworks/base/core/proto/android/os/ |
D | cpuinfo.proto | 36 optional int32 total = 1; // total number of cpu tasks 37 optional int32 running = 2; // number of running tasks 38 optional int32 sleeping = 3; // number of sleeping tasks 39 optional int32 stopped = 4; // number of stopped tasks 40 optional int32 zombie = 5; // number of zombie tasks 107 repeated Task tasks = 5; field
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsWrapper.java | 63 List<ActivityManager.RunningTaskInfo> tasks = am.getRunningTasks(1); in getTopPkgName() local 64 if (!tasks.isEmpty()) { in getTopPkgName() 65 return tasks.get(0).topActivity.getPackageName(); in getTopPkgName()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskPersister.java | 259 private TaskRecord taskIdToTask(int taskId, ArrayList<TaskRecord> tasks) { in taskIdToTask() argument 263 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in taskIdToTask() 264 final TaskRecord task = tasks.get(taskNdx); in taskIdToTask() 274 final ArrayList<TaskRecord> tasks = new ArrayList<TaskRecord>(); in restoreTasksForUserLocked() local 282 return tasks; in restoreTasksForUserLocked() 345 tasks.add(task); in restoreTasksForUserLocked() 377 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in restoreTasksForUserLocked() 378 final TaskRecord task = tasks.get(taskNdx); in restoreTasksForUserLocked() 379 task.setPrevAffiliate(taskIdToTask(task.mPrevAffiliateTaskId, tasks)); in restoreTasksForUserLocked() 380 task.setNextAffiliate(taskIdToTask(task.mNextAffiliateTaskId, tasks)); in restoreTasksForUserLocked() [all …]
|
D | TaskSnapshotController.java | 167 void addSkipClosingAppSnapshotTasks(ArraySet<Task> tasks) { in addSkipClosingAppSnapshotTasks() argument 168 mSkipClosingAppSnapshotTasks.addAll(tasks); in addSkipClosingAppSnapshotTasks() 171 void snapshotTasks(ArraySet<Task> tasks) { in snapshotTasks() argument 172 for (int i = tasks.size() - 1; i >= 0; i--) { in snapshotTasks() 173 final Task task = tasks.valueAt(i); in snapshotTasks()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | RecentsImpl.java | 575 ArrayList<Task> tasks = focusedStack.getTasks(); 578 int taskCount = tasks.size(); 580 Task task = tasks.get(i); 582 toTask = tasks.get(i - 1); 588 toTask = tasks.get(i - 1); 631 ArrayList<Task> tasks = focusedStack.getTasks(); in showRelativeAffiliatedTask() 634 int taskCount = tasks.size(); in showRelativeAffiliatedTask() 636 Task task = tasks.get(i); in showRelativeAffiliatedTask() 640 toTask = tasks.get(i + 1); in showRelativeAffiliatedTask() 647 toTask = tasks.get(i - 1); in showRelativeAffiliatedTask()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | InstantAppNotifier.java | 362 final List<ActivityManager.RecentTaskInfo> tasks = in getTaskIntent() local 366 for (int i = 0; i < tasks.size(); i++) { in getTaskIntent() 367 if (tasks.get(i).id == taskId) { in getTaskIntent() 368 return tasks.get(i).baseIntent; in getTaskIntent()
|
/frameworks/native/services/vr/virtual_touchpad/ |
D | virtual_touchpad.rc | 5 writepid /dev/cpuset/system/tasks
|
/frameworks/av/services/mediadrm/ |
D | mediadrmserver.rc | 6 writepid /dev/cpuset/foreground/tasks
|
/frameworks/av/services/mediaextractor/ |
D | mediaextractor.rc | 6 writepid /dev/cpuset/foreground/tasks
|
/frameworks/av/drm/drmserver/ |
D | drmserver.rc | 5 writepid /dev/cpuset/foreground/tasks
|
/frameworks/native/services/vr/hardware_composer/ |
D | vr_hwc.rc | 6 writepid /dev/cpuset/system-background/tasks
|
/frameworks/av/services/mediacodec/ |
D | mediaswcodec.rc | 7 writepid /dev/cpuset/foreground/tasks
|
/frameworks/native/services/bufferhub/ |
D | android.frameworks.bufferhub@1.0-service.rc | 6 writepid /dev/cpuset/system-background/tasks
|