Searched refs:tasks (Results 1 - 9 of 9) sorted by relevance

/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
H A DMockTask.java70 public static void assertRanNever(String message, MockTask... tasks) { argument
71 for (MockTask task : tasks) {
76 public static void assertRanOnce(String message, MockTask... tasks) { argument
77 for (MockTask task : tasks) {
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
H A DImageTaskManager.java30 * Spawns dependent tasks from internal implementation of set of tasks. If a
37 * @param tasks The set of tasks to be run
38 * @return whether tasks are successfully submitted.
40 public boolean appendTasks(ImageToProcess img, Set<TaskImageContainer> tasks); argument
46 * @return whether tasks are successfully submitted.
54 * and/or unblocking the caller. Should ONLY be called by the tasks running
H A DImageBackend.java45 * keep track of tasks that use Android Images. Android.media.images are
64 * <li>A set of tasks that require ImageData must only happen on the first
66 * <li>However, the submitted tasks may spawn new tasks via the appendTask with
80 * tasks have no implementation, but emulate the processing delay by blocking
81 * until all tasks submitted and spawned by a particular receiveImage call have
86 * ImageShadowTasks that are associated with ImageBackend tasks that have
238 * Signals the ImageBackend that a tasks has released a reference to the
241 * unblocking the caller. Should ONLY be called by the tasks running on this
282 // Image is still being held by other tasks
301 appendTasks(ImageToProcess img, Set<TaskImageContainer> tasks) argument
424 receiveImage(ImageToProcess img, Set<TaskImageContainer> tasks, boolean blockUntilImageRelease, boolean closeOnImageRelease, Optional<Runnable> runnableWhenDone) argument
586 initializeTaskDone(Set<TaskImageContainer> tasks, Optional<Runnable> runnableWhenDone) argument
623 incrementTaskDone(Set<TaskImageContainer> tasks) argument
666 scheduleTasks(Set<TaskImageContainer> tasks) argument
783 numPropagatedImageReferences(ImageToProcess img, Set<TaskImageContainer> tasks) argument
[all...]
/packages/apps/Dialer/tests/src/com/android/dialer/util/
H A DFakeAsyncTaskExecutor.java43 * list of submitted tasks, where they can be examined. They can also be run on-demand using the run
53 /** The maximum length of time in ms to wait for tasks to execute during tests. */
149 * Removes the matching task from the list of submitted tasks, then runs it. The executor used
157 List<SubmittedTask> tasks = getSubmittedTasksByIdentifier(identifier, true);
158 Assert.assertEquals("Expected one task " + identifier + ", got " + tasks, 1, tasks.size());
159 runTask(tasks.get(0));
163 * Runs all tasks whose identifier matches the given identifier.
165 * Removes all matching tasks from the list of submitted tasks, an
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DUtils.java341 List<ActivityManager.RunningTaskInfo> tasks = am.getRunningTasks(1);
342 return !tasks.isEmpty() && pkgName.equals(tasks.get(0).topActivity.getPackageName());
/packages/apps/TV/src/com/android/tv/data/
H A DProgramDataManager.java733 private void clearTask(LongSparseArray<UpdateCurrentProgramForChannelTask> tasks) { argument
734 for (int i = 0; i < tasks.size(); i++) {
735 tasks.valueAt(i).cancel(true);
737 tasks.clear();
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DBasicCallTests.java518 private void rapidFire(Runnable... tasks) { argument
519 final CyclicBarrier barrier = new CyclicBarrier(tasks.length);
520 final CountDownLatch latch = new CountDownLatch(tasks.length);
521 for (int i = 0; i < tasks.length; i++) {
522 final Runnable task = tasks[i];
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
H A DInCallActivity.java929 List<ActivityManager.AppTask> tasks = am.getAppTasks();
931 for (int i = 0; i < tasks.size(); i++) {
932 ActivityManager.AppTask task = tasks.get(i);
/packages/services/Telecomm/libs/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ...

Completed in 291 milliseconds