Searched defs:tasks (Results 1 - 10 of 10) sorted by relevance

/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/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/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/
H A DOtaControllerTest.java106 // THEN the task list should contain these tasks.
144 // THEN the task list should contain these tasks.
168 // THEN the task list should contain these tasks.
217 private void assertTaskList(Pair<Integer, Class>... tasks) { argument
218 assertEquals(tasks.length, mTasks.size());
220 for (Pair<Integer, Class> task : tasks) {
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
H A DTaskExecutor.java46 * <p>All tasks are ran in the background with a wakelock being held by the {@link
50 * the process is killed the queued tasks will be restored. If a new task is added, a new {@link
58 * <p>If there are still tasks in the queue but none are executable immediately, the service will
62 * there are no more tasks in the queue or when the executor is put to sleep.
109 * When there are no more tasks to be run the service should be stopped. But when all tasks has
110 * finished there might still be more tasks in the message queue waiting to be processed,
119 // The thread to run tasks on
135 private final TaskQueue tasks = new TaskQueue(); field in class:TaskExecutor
183 tasks
[all...]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestScheduledExecutorService.java91 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) argument
97 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, argument
103 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) argument
109 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
H A DAbstractProvisioningController.java39 * Controller that manages the provisioning process. It controls the order of provisioning tasks,
58 // Provisioning tasks are being run
60 // Provisioning tasks have completed
93 protected synchronized void addTasks(AbstractProvisioningTask... tasks) { argument
94 for (AbstractProvisioningTask task : tasks) {
106 * Start the provisioning process. The tasks loaded in {@link #setUpTasks()} ()} will be
204 * Handler that runs the provisioning tasks.
206 * <p>We're using a {@link HandlerThread} for all the provisioning tasks in order to not
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DBasicCallTests.java603 private void rapidFire(Runnable... tasks) { argument
604 final CyclicBarrier barrier = new CyclicBarrier(tasks.length);
605 final CountDownLatch latch = new CountDownLatch(tasks.length);
606 for (int i = 0; i < tasks.length; i++) {
607 final Runnable task = tasks[i];
/packages/apps/TV/src/com/android/tv/data/
H A DProgramDataManager.java773 private void clearTask(LongSparseArray<UpdateCurrentProgramForChannelTask> tasks) { argument
774 for (int i = 0; i < tasks.size(); i++) {
775 tasks.valueAt(i).cancel(true);
777 tasks.clear();
/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 1278 milliseconds