Home
last modified time | relevance | path

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

12

/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 …]
DImageTaskManager.java40 public boolean appendTasks(ImageToProcess img, Set<TaskImageContainer> tasks); in appendTasks() argument
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/fallback/
DFallbackRecentsView.java121 protected void applyLoadPlan(ArrayList<Task> tasks) { in applyLoadPlan() argument
125 if (mHomeTaskInfo != null && mHomeTaskInfo.taskId == mRunningTaskId && !tasks.isEmpty()) { in applyLoadPlan()
128 for (Task t : tasks) { in applyLoadPlan()
135 ArrayList<Task> newList = new ArrayList<>(tasks.size() + 1); in applyLoadPlan()
136 newList.addAll(tasks); in applyLoadPlan()
138 tasks = newList; in applyLoadPlan()
141 super.applyLoadPlan(tasks); in applyLoadPlan()
/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/
DRecentTasksList.java73 ArrayList<Task> tasks = loadTasksInBackground(numTasks, -1, true /* loadKeysOnly */); in getTaskKeys() local
74 mMainThreadExecutor.execute(() -> callback.accept(tasks)); in getTaskKeys()
200 private ArrayList<Task> copyOf(ArrayList<Task> tasks) { in copyOf() argument
202 for (int i = 0; i < tasks.size(); i++) { in copyOf()
203 Task t = tasks.get(i); in copyOf()
DRecentsModel.java118 mTaskList.getTasks(true /* loadKeysOnly */, (tasks) -> { in findTaskWithId()
119 for (Task task : tasks) { in findTaskWithId()
144 mTaskList.getTaskKeys(mThumbnailCache.getCacheSize(), tasks -> { in onTaskStackChangedBackground()
145 for (Task task : tasks) { in onTaskStackChangedBackground()
/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/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/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/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/Car/libs/car-ui-lib/tests/paintbooth/src/com/android/car/ui/paintbooth/currentactivity/
DCurrentActivityService.java191 List<ActivityManager.RunningTaskInfo> tasks = in showCurrentTask() local
193 if (!tasks.isEmpty()) { in showCurrentTask()
194 updateComponentName(tasks.get(0).topActivity); in showCurrentTask()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/
DOtaControllerTest.java289 private void assertTaskList(Pair<Integer, Class>... tasks) { in assertTaskList() argument
290 assertEquals(tasks.length, mTasks.size()); in assertTaskList()
292 for (Pair<Integer, Class> task : tasks) { in assertTaskList()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DAbstractProvisioningController.java92 protected synchronized void addTasks(AbstractProvisioningTask... tasks) { in addTasks() argument
93 for (AbstractProvisioningTask task : tasks) { in addTasks()
/packages/apps/TV/src/com/android/tv/data/
DProgramDataManager.java999 private void clearTask(LongSparseArray<UpdateCurrentProgramForChannelTask> tasks) { in clearTask() argument
1000 for (int i = 0; i < tasks.size(); i++) { in clearTask()
1001 tasks.valueAt(i).cancel(true); in clearTask()
1003 tasks.clear(); in clearTask()
/packages/services/Car/service/src/com/android/car/
DSystemActivityMonitoringService.java189 LinkedList<TopTaskInfoContainer> tasks = new LinkedList<>(); in getTopTasks() local
198 tasks.add(topTask); in getTopTasks()
201 return tasks; in getTopTasks()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBasicCallTests.java635 private void rapidFire(Runnable... tasks) { in rapidFire() argument
636 final CyclicBarrier barrier = new CyclicBarrier(tasks.length); in rapidFire()
637 final CountDownLatch latch = new CountDownLatch(tasks.length); in rapidFire()
638 for (int i = 0; i < tasks.length; i++) { in rapidFire()
639 final Runnable task = tasks[i]; in rapidFire()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java800 List<RunningTaskInfo> tasks = am.getRunningTasks(1); in isScreenIdle() local
801 if (tasks == null || tasks.isEmpty()) { in isScreenIdle()
805 String top = tasks.get(0).topActivity.getPackageName(); in isScreenIdle()
1028 List<RunningTaskInfo> tasks = mActivityManager.getRunningTasks(1); in isTopOfStack() local
1029 if (tasks == null || tasks.get(0).topActivity == null) { in isTopOfStack()
1032 currentPackageName = tasks.get(0).topActivity.getPackageName(); in isTopOfStack()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java1435 ArrayList<Runnable> tasks = null; in onUserUnlocked() local
1441 tasks = new ArrayList<>(mUser0UnlockTasks); in onUserUnlocked()
1465 if (tasks != null && tasks.size() > 0) { in onUserUnlocked()
1466 Log.d(TAG_USER, "User0 unlocked, run queued tasks:" + tasks.size()); in onUserUnlocked()
1467 for (Runnable r : tasks) { in onUserUnlocked()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java711 protected void applyLoadPlan(ArrayList<Task> tasks) { in applyLoadPlan() argument
713 mPendingAnimation.addEndListener((endState) -> applyLoadPlan(tasks)); in applyLoadPlan()
717 if (tasks == null || tasks.isEmpty()) { in applyLoadPlan()
729 final int requiredTaskCount = tasks.size(); in applyLoadPlan()
748 final Task task = tasks.get(i); in applyLoadPlan()
/packages/apps/Car/libs/car-ui-lib/
Dbuild.gradle39 tasks.withType(JavaCompile) {
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLauncherInstrumentation.java1329 ArrayList<ComponentName> tasks = new ArrayList<>(); in getRecentTasks() local
1333 tasks.add(ComponentName.unflattenFromString(s)); in getRecentTasks()
1335 return tasks; in getRecentTasks()
/packages/apps/Dialer/java/com/android/incallui/
DInCallActivity.java1064 List<AppTask> tasks = getSystemService(ActivityManager.class).getAppTasks(); in setExcludeFromRecents() local
1065 for (AppTask task : tasks) { in setExcludeFromRecents()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...

12