/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 | 82 ArrayList<RunningTaskInfo> tasks = new ArrayList<>(); in testCollectTasksByLastActiveTime() local 83 mRunningTasks.getTasks(5, tasks, false /* filterOnlyVisibleRecents */, mRootWindowContainer, 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, false /* filterOnlyVisibleRecents */, in testCollectTasksByLastActiveTime() 96 assertThat(tasks).hasSize(numTasks); in testCollectTasksByLastActiveTime() 98 assertEquals(numTasks - i - 1, tasks.get(i).id); in testCollectTasksByLastActiveTime() 118 final ArrayList<RunningTaskInfo> tasks = new ArrayList<>(); in testTaskInfo_expectNoExtras() local 119 mRunningTasks.getTasks(numFetchTasks, tasks, false /* filterOnlyVisibleRecents */, in testTaskInfo_expectNoExtras() [all …]
|
D | RecentTasksTest.java | 548 final ArrayList<Task> tasks = mRecentTasks.getRawTasks(); in testOrderedIteration() local 549 for (int i = 0; i < tasks.size(); i++) { in testOrderedIteration() 550 final Task task = tasks.get(i); in testOrderedIteration() 917 final ArrayList<Task> tasks = mRecentTasks.getRawTasks(); in testRemovePackageByName() local 918 for (int i = 0; i < tasks.size(); i++) { in testRemovePackageByName() 919 if (tasks.get(i).intent.getComponent().getPackageName().equals("com.android.pkg1")) { in testRemovePackageByName() 1077 ArrayList<Task> tasks = mRecentTasks.getRawTasks(); in assertRecentTasksOrder() local 1078 assertTrue(expectedTasks.length == tasks.size()); in assertRecentTasksOrder() 1079 for (int i = 0; i < tasks.size(); i++) { in assertRecentTasksOrder() 1080 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/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/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/base/services/core/java/com/android/server/wm/ |
D | TaskPersister.java | 258 private Task taskIdToTask(int taskId, ArrayList<Task> tasks) { in taskIdToTask() argument 262 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in taskIdToTask() 263 final Task task = tasks.get(taskNdx); in taskIdToTask() 273 final ArrayList<Task> tasks = new ArrayList<Task>(); in restoreTasksForUserLocked() local 281 return tasks; in restoreTasksForUserLocked() 344 tasks.add(task); in restoreTasksForUserLocked() 376 for (int taskNdx = tasks.size() - 1; taskNdx >= 0; --taskNdx) { in restoreTasksForUserLocked() 377 final Task task = tasks.get(taskNdx); in restoreTasksForUserLocked() 378 task.setPrevAffiliate(taskIdToTask(task.mPrevAffiliateTaskId, tasks)); in restoreTasksForUserLocked() 379 task.setNextAffiliate(taskIdToTask(task.mNextAffiliateTaskId, tasks)); in restoreTasksForUserLocked() [all …]
|
D | TaskSnapshotController.java | 173 void addSkipClosingAppSnapshotTasks(ArraySet<Task> tasks) { in addSkipClosingAppSnapshotTasks() argument 174 mSkipClosingAppSnapshotTasks.addAll(tasks); in addSkipClosingAppSnapshotTasks() 177 void snapshotTasks(ArraySet<Task> tasks) { in snapshotTasks() argument 178 snapshotTasks(tasks, false /* allowSnapshotHome */); in snapshotTasks() 181 private void snapshotTasks(ArraySet<Task> tasks, boolean allowSnapshotHome) { in snapshotTasks() argument 182 for (int i = tasks.size() - 1; i >= 0; i--) { in snapshotTasks() 183 final Task task = tasks.valueAt(i); in snapshotTasks()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | MockScheduledExecutorService.java | 159 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll() argument 165 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll() argument 171 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny() argument 177 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny() argument
|
/frameworks/base/packages/BackupEncryption/test/robolectric-integration/src/com/android/server/backup/encryption/ |
D | RoundTripTest.java | 35 import com.android.server.backup.encryption.tasks.EncryptedFullBackupTask; 36 import com.android.server.backup.encryption.tasks.EncryptedFullRestoreTask; 37 import com.android.server.backup.encryption.tasks.EncryptedKvBackupTask; 38 import com.android.server.backup.encryption.tasks.EncryptedKvRestoreTask;
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/ |
D | NonIncrementalBackupRequiredException.java | 18 package com.android.server.backup.encryption.tasks;
|
D | SizeQuotaExceededException.java | 17 package com.android.server.backup.encryption.tasks;
|
D | MessageDigestMismatchException.java | 17 package com.android.server.backup.encryption.tasks;
|
D | MalformedEncryptedFileException.java | 17 package com.android.server.backup.encryption.tasks;
|
D | NoActiveSecondaryKeyException.java | 17 package com.android.server.backup.encryption.tasks;
|
D | UnsupportedEncryptedFileException.java | 17 package com.android.server.backup.encryption.tasks;
|
D | ActiveSecondaryNotInKeychainException.java | 17 package com.android.server.backup.encryption.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/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/native/cmds/servicemanager/ |
D | vndservicemanager.rc | 5 writepid /dev/cpuset/system-background/tasks
|
/frameworks/av/services/mediacodec/ |
D | mediaswcodec.rc | 7 writepid /dev/cpuset/foreground/tasks
|