/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/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 | FilteredTaskList.java | 53 void set(List<Task> tasks) { in set() argument 55 mTasks.addAll(tasks); in set()
|
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()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RunningTasksTest.java | 78 ArrayList<RunningTaskInfo> tasks = new ArrayList<>(); in testCollectTasksByLastActiveTime() local 79 mRunningTasks.getTasks(5, tasks, ACTIVITY_TYPE_UNDEFINED, WINDOWING_MODE_UNDEFINED, in testCollectTasksByLastActiveTime() 81 assertThat(tasks).hasSize(numFetchTasks); in testCollectTasksByLastActiveTime() 83 assertEquals(numTasks - i - 1, tasks.get(i).id); in testCollectTasksByLastActiveTime() 88 tasks.clear(); in testCollectTasksByLastActiveTime() 89 mRunningTasks.getTasks(100, tasks, ACTIVITY_TYPE_UNDEFINED, WINDOWING_MODE_UNDEFINED, in testCollectTasksByLastActiveTime() 91 assertThat(tasks).hasSize(numTasks); in testCollectTasksByLastActiveTime() 93 assertEquals(numTasks - i - 1, tasks.get(i).id); in testCollectTasksByLastActiveTime()
|
D | RecentTasksTest.java | 436 final ArrayList<TaskRecord> tasks = mRecentTasks.getRawTasks(); in testOrderedIteration() local 437 for (int i = 0; i < tasks.size(); i++) { in testOrderedIteration() 438 final TaskRecord task = tasks.get(i); in testOrderedIteration() 808 final ArrayList<TaskRecord> tasks = mRecentTasks.getRawTasks(); in testRemovePackageByName() local 809 for (int i = 0; i < tasks.size(); i++) { in testRemovePackageByName() 810 if (tasks.get(i).intent.getComponent().getPackageName().equals("com.android.pkg1")) { in testRemovePackageByName() 908 ArrayList<TaskRecord> tasks = mRecentTasks.getRawTasks(); in assertRecentTasksOrder() local 909 assertTrue(expectedTasks.length == tasks.size()); in assertRecentTasksOrder() 910 for (int i = 0; i < tasks.size(); i++) { in assertRecentTasksOrder() 911 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/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 54 include $(BUILD_SYSTEM)/tasks/tools/package-modules.mk
|
/frameworks/av/services/mediaanalytics/ |
D | mediametrics.rc | 6 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
|
/frameworks/av/camera/cameraserver/ |
D | cameraserver.rc | 6 writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks
|
/frameworks/av/media/mediaserver/ |
D | mediaserver.rc | 6 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
|
/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/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskStackView.java | 469 ArrayList<Task> tasks, float curStackScroll, float targetStackScroll, in computeVisibleTaskTransforms() argument 471 int taskCount = tasks.size(); in computeVisibleTaskTransforms() 478 matchTaskListSize(tasks, taskTransforms); in computeVisibleTaskTransforms() 486 Task task = tasks.get(i); in computeVisibleTaskTransforms() 542 ArrayList<Task> tasks = mStack.getTasks(); in bindVisibleTaskViews() local 543 int[] visibleTaskRange = computeVisibleTaskTransforms(mCurrentTaskTransforms, tasks, in bindVisibleTaskViews() 582 for (int i = tasks.size() - 1; i >= 0; i--) { in bindVisibleTaskViews() 583 Task task = tasks.get(i); in bindVisibleTaskViews() 618 updatePrefetchingTask(tasks, visibleTaskRange[0], visibleTaskRange[1]); in bindVisibleTaskViews() 704 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/opt/gamesdk/third_party/protobuf-3.0.0/ruby/ |
D | Gemfile.lock | 14 rubygems-tasks (0.2.4) 26 rubygems-tasks
|
/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 …]
|
/frameworks/av/media/audioserver/ |
D | audioserver.rc | 8 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
|
/frameworks/native/services/vr/virtual_touchpad/ |
D | virtual_touchpad.rc | 5 writepid /dev/cpuset/system/tasks
|
/frameworks/av/services/mediaextractor/ |
D | mediaextractor.rc | 6 writepid /dev/cpuset/foreground/tasks
|
/frameworks/av/services/mediadrm/ |
D | mediadrmserver.rc | 6 writepid /dev/cpuset/foreground/tasks
|
/frameworks/av/drm/drmserver/ |
D | drmserver.rc | 5 writepid /dev/cpuset/foreground/tasks
|
/frameworks/base/cmds/bootanimation/ |
D | bootanim.rc | 7 writepid /dev/stune/top-app/tasks
|
/frameworks/native/cmds/servicemanager/ |
D | vndservicemanager.rc | 5 writepid /dev/cpuset/system-background/tasks
|