Home
last modified time | relevance | path

Searched refs:tasks (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/util/
DSplitSelectStateControllerTest.kt96 val tasks: ArrayList<GroupTask> = ArrayList() in activeTasks_noMatchingTasks() constant
97 tasks.add(groupTask1) in activeTasks_noMatchingTasks()
98 tasks.add(groupTask2) in activeTasks_noMatchingTasks()
116 consumer.accept(tasks) in activeTasks_noMatchingTasks()
135 val tasks: ArrayList<GroupTask> = ArrayList() in activeTasks_singleMatchingTask() constant
136 tasks.add(groupTask1) in activeTasks_singleMatchingTask()
137 tasks.add(groupTask2) in activeTasks_singleMatchingTask()
167 consumer.accept(tasks) in activeTasks_singleMatchingTask()
186 val tasks: ArrayList<GroupTask> = ArrayList() in activeTasks_skipTaskWithDifferentUser() constant
187 tasks.add(groupTask1) in activeTasks_skipTaskWithDifferentUser()
[all …]
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DImageBackend.java301 public boolean appendTasks(ImageToProcess img, Set<TaskImageContainer> tasks) { in appendTasks() argument
304 int countImageRefs = numPropagatedImageReferences(img, tasks); in appendTasks()
313 incrementTaskDone(tasks); in appendTasks()
315 scheduleTasks(tasks); in appendTasks()
327 Set<TaskImageContainer> tasks = new HashSet<TaskImageContainer>(1); in appendTasks() local
328 tasks.add(task); in appendTasks()
329 return appendTasks(img, tasks); in appendTasks()
424 public boolean receiveImage(ImageToProcess img, Set<TaskImageContainer> tasks, in receiveImage() argument
430 if (tasks == null || tasks.size() <= 0) { in receiveImage()
441 int countImageRefs = numPropagatedImageReferences(img, tasks); in receiveImage()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DDesktopTask.java33 public final ArrayList<Task> tasks; field in DesktopTask
35 public DesktopTask(@NonNull ArrayList<Task> tasks) { in DesktopTask() argument
36 super(tasks.get(0), null, null, TaskView.Type.DESKTOP); in DesktopTask()
37 this.tasks = tasks; in DesktopTask()
42 for (Task task : tasks) { in containsTask()
57 return new DesktopTask(tasks); in copy()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchFeatureProviderImpl.java63 final List<SearchQueryTask> tasks = new ArrayList<>(); in getSearchQueryTasks() local
65 tasks.add(DatabaseResultTask.newTask(context, getSiteMapManager(), cleanQuery)); in getSearchQueryTasks()
66 tasks.add(InstalledAppResultTask.newTask(context, getSiteMapManager(), cleanQuery)); in getSearchQueryTasks()
67 tasks.add(AccessibilityServiceResultTask.newTask(context, getSiteMapManager(), cleanQuery)); in getSearchQueryTasks()
68 tasks.add(InputDeviceResultTask.newTask(context, getSiteMapManager(), cleanQuery)); in getSearchQueryTasks()
69 return tasks; in getSearchQueryTasks()
DSearchResultAggregator.java54 final List<SearchQueryTask> tasks = in fetchResults() local
57 for (SearchQueryTask task : tasks) { in fetchResults()
64 for (SearchQueryTask task : tasks) { in fetchResults()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DMockTask.java70 public static void assertRanNever(String message, MockTask... tasks) { in assertRanNever() argument
71 for (MockTask task : tasks) { in assertRanNever()
76 public static void assertRanOnce(String message, MockTask... tasks) { in assertRanOnce() argument
77 for (MockTask task : tasks) { in assertRanOnce()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTopTaskTracker.java197 RunningTaskInfo[] tasks = TraceHelper.allowIpcs("getCachedTopTask.true", () -> in getCachedTopTask() local
199 return new CachedTaskInfo(Arrays.asList(tasks)); in getCachedTopTask()
203 RunningTaskInfo[] tasks = TraceHelper.allowIpcs("getCachedTopTask.false", () -> in getCachedTopTask() local
206 Collections.addAll(mOrderedTaskList, tasks); in getCachedTopTask()
210 ArrayList<RunningTaskInfo> tasks = new ArrayList<>(mOrderedTaskList); in getCachedTopTask() local
211 tasks.removeIf(t -> t.taskId == mPinnedTaskId); in getCachedTopTask()
212 return new CachedTaskInfo(tasks); in getCachedTopTask()
DRecentTasksList.java120 ArrayList<GroupTask> tasks = loadTasksInBackground(numTasks, -1, in getTaskKeys() local
122 mMainThreadExecutor.execute(() -> callback.accept(tasks)); in getTaskKeys()
304 ArrayList<Task> tasks = new ArrayList<>(recentTaskInfo.getTaskInfoList().size()); in createDesktopTask() local
312 tasks.add(task); in createDesktopTask()
314 return new DesktopTask(tasks); in createDesktopTask()
326 private ArrayList<GroupTask> copyOf(ArrayList<GroupTask> tasks) { in copyOf() argument
328 for (int i = 0; i < tasks.size(); i++) { in copyOf()
329 newTasks.add(tasks.get(i).copy()); in copyOf()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/testing/
DFakeExecutor.kt34 private val tasks = Channel<Runnable>(UNLIMITED) constant in android.safetycenter.cts.testing.FakeExecutor
37 runBlockingWithTimeout { tasks.send(task) } in execute()
50 fun getNextTask(timeout: Duration = TIMEOUT_LONG) = runBlockingWithTimeout { tasks.receive() } in <lambda>()
/packages/modules/Virtualization/microdroid/
Dinit.rc50 chown system system /dev/cpuset/tasks
51 chown system system /dev/cpuset/foreground/tasks
52 chown system system /dev/cpuset/background/tasks
53 chown system system /dev/cpuset/system-background/tasks
55 chmod 0664 /dev/cpuset/tasks
56 chmod 0664 /dev/cpuset/foreground/tasks
57 chmod 0664 /dev/cpuset/background/tasks
58 chmod 0664 /dev/cpuset/system-background/tasks
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DLauncherActivity.java87 List<AppTask> tasks = activities.getAppTasks(); in findTask() local
88 for (AppTask task : tasks) { in findTask()
130 List<AppTask> tasks = activities.getAppTasks(); in clearTask() local
131 for (AppTask task : tasks) { in clearTask()
/packages/apps/Car/SettingsIntelligence/src/com/android/settings/intelligence/search/car/
DCarSearchFeatureProviderImpl.java64 List<SearchQueryTask> tasks = new ArrayList<>(); in getSearchQueryTasks() local
66 tasks.add(DatabaseResultTask.newTask(context, getSiteMapManager(), cleanQuery)); in getSearchQueryTasks()
67 tasks.add(InstalledAppResultTask.newTask(context, getSiteMapManager(), cleanQuery)); in getSearchQueryTasks()
68 return tasks; in getSearchQueryTasks()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DKeyboardQuickSwitchController.java110 mTaskListChangeId = mModel.getTasks((tasks) -> { in openQuickSwitchView()
112 Collections.reverse(tasks); in openQuickSwitchView()
113 mTasks = tasks.stream().limit(MAX_TASKS).collect(Collectors.toList()); in openQuickSwitchView()
114 mNumHiddenTasks = Math.max(0, tasks.size() - MAX_TASKS); in openQuickSwitchView()
DDesktopTaskbarRecentAppsController.java115 ArrayList<ActivityManager.RunningTaskInfo> tasks = in getRunningAppsFromTasks() local
124 for (ActivityManager.RunningTaskInfo taskInfo : tasks) { in getRunningAppsFromTasks()
DKeyboardQuickSwitchViewController.java71 @NonNull List<GroupTask> tasks, in openQuickSwitchView()
81 tasks, in openQuickSwitchView()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestScheduledExecutorService.java91 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll() argument
97 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll() argument
103 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny() argument
109 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny() argument
/packages/services/Telephony/tests/src/com/android/
DTestExecutorService.java182 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) { in invokeAll() argument
187 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll() argument
193 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) { in invokeAny() argument
198 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) { in invokeAny() argument
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DTaskExecutor.java135 private final TaskQueue tasks = new TaskQueue(); field in TaskExecutor
183 tasks.clear(); in run()
293 return tasks;
394 tasks.fromBundles(appContext, pendingTasks);
/packages/apps/Launcher3/src/com/android/launcher3/util/
DViewOnDrawExecutor.java46 public ViewOnDrawExecutor(RunnableList tasks) { in ViewOnDrawExecutor() argument
50 mTasks = tasks; in ViewOnDrawExecutor()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/
DOtaControllerTest.java254 private void assertTaskList(Pair<Integer, Class>... tasks) { in assertTaskList() argument
255 assertEquals(tasks.length, mTasks.size()); in assertTaskList()
257 for (Pair<Integer, Class> task : tasks) { in assertTaskList()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DDesktopTaskView.java149 public void bind(List<Task> tasks, RecentsOrientedState orientedState) { in bind() argument
152 sb.append("bind tasks=").append(tasks.size()).append("\n"); in bind()
153 for (Task task : tasks) { in bind()
160 mTasks = new ArrayList<>(tasks); in bind()
/packages/apps/Car/DebuggingRestrictionController/libs/
DAndroid.bp40 name: "drc-lib-play-services-tasks-17.0.0",
41 aars: ["play-services-tasks-17.0.0.aar"],
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DAbstractProvisioningController.java96 protected synchronized void addTasks(AbstractProvisioningTask... tasks) { in addTasks() argument
97 for (AbstractProvisioningTask task : tasks) { in addTasks()
/packages/modules/Virtualization/apex/
Dsign_virt_apex.py55 tasks = [] variable
66 tasks.append(task)
483 AwaitAll(tasks)
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DBackground.java114 List<UiObject2> tasks = mLauncher.getDevice().findObjects( in goToOverviewUnchecked() local
119 tasks.stream() in goToOverviewUnchecked()

12