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

12345678

/external/jmdns/src/javax/jmdns/impl/tasks/
H A Dpackage-info.java1 package javax.jmdns.impl.tasks;
/external/jmdns/src/javax/jmdns/impl/tasks/resolver/
H A Dpackage-info.java1 package javax.jmdns.impl.tasks.resolver;
/external/jmdns/src/javax/jmdns/impl/tasks/state/
H A Dpackage-info.java1 package javax.jmdns.impl.tasks.state;
/external/autotest/server/cros/clique_lib/
H A Dclique_dut_log_collector.py45 tasks = []
52 tasks.append(task)
54 for task in tasks:
56 for task in tasks:
/external/autotest/site_utils/suite_scheduler/
H A Dsanity.py12 def CheckControlFileExistance(tasks):
20 @param tasks The list of tasks to check.
26 for task in tasks:
H A Dbase_event_unittest.py38 mox.IgnoreArg()).InAnyOrder('tasks').AndReturn(True)
59 @var _TASKS: Specs for several tasks to run.
80 """Tests that tasks are de-duped at BaseEvent creation."""
81 tasks = [FakeTask(*task, pymox=self.mox) for task in self._TASKS]
82 tasks.append(FakeTask(*self._TASKS[0], pymox=self.mox))
86 event.tasks = tasks
87 self.assertEquals(len(event.tasks), len(self._TASKS))
91 """Tests that tasks are all run on Handle()."""
92 tasks
[all...]
H A Dbase_event.py102 def tasks(self): member in class:BaseEvent
106 @tasks.setter
107 def tasks(self, iterable_of_tasks): member in class:BaseEvent
108 """Set the tasks property with an iterable.
125 self.tasks = to_merge.tasks
166 """Filter the tasks to only return tasks should run now.
169 this function in Nightly class will only return the tasks set to run in
172 @return: A list of tasks ca
[all...]
/external/libchrome/base/
H A Dtracked_objects_unittest.cc80 ASSERT_EQ(1u, process_data_phase.tasks.size());
82 EXPECT_EQ(kFile, process_data_phase.tasks[0].birth.location.file_name);
84 process_data_phase.tasks[0].birth.location.function_name);
86 process_data_phase.tasks[0].birth.location.line_number);
88 EXPECT_EQ(birth_thread, process_data_phase.tasks[0].birth.thread_name);
90 EXPECT_EQ(count, process_data_phase.tasks[0].death_data.count);
92 process_data_phase.tasks[0].death_data.run_duration_sum);
93 EXPECT_EQ(run_ms, process_data_phase.tasks[0].death_data.run_duration_max);
95 process_data_phase.tasks[0].death_data.run_duration_sample);
97 process_data_phase.tasks[
[all...]
/external/guava/guava-tests/test/com/google/common/eventbus/
H A DAsyncEventBusTest.java56 List<Runnable> tasks = executor.getTasks();
57 assertEquals("One event dispatch task should be queued.", 1, tasks.size());
59 tasks.get(0).run();
66 * An {@link Executor} wanna-be that simply records the tasks it's given.
73 List<Runnable> tasks = Lists.newArrayList(); field in class:AsyncEventBusTest.FakeExecutor
77 tasks.add(task);
81 return tasks;
/external/autotest/scheduler/
H A Dmonitor_db_cleanup_test.py43 tasks = models.SpecialTask.objects.all()
44 self.assertEquals(len(tasks), 1)
45 self.assertEquals(tasks[0].host.id, 1)
46 self.assertEquals(tasks[0].task, models.SpecialTask.Task.VERIFY)
69 tasks = models.SpecialTask.objects.all()
71 self.assertEquals(len(tasks), 2)
72 self.assertTrue(tasks[0].host.id in (1, 4, 5, 6))
73 self.assertTrue(tasks[1].host.id in (1, 4, 5, 6))
74 self.assertEquals(tasks[0].task, models.SpecialTask.Task.VERIFY)
75 self.assertEquals(tasks[
[all...]
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowActivityManager.java17 private List<ActivityManager.RunningTaskInfo> tasks = field in class:ShadowActivityManager
28 return tasks;
49 * Non-Android accessor to set the list of running tasks.
50 * @param tasks
52 public void setTasks(List<ActivityManager.RunningTaskInfo> tasks) { argument
53 this.tasks = tasks;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/46/1/.cp/lib/
H A Drepository-tools-ant.jar ... internal/repository/tools/ org/eclipse/equinox/p2/internal/repository/tools/tasks/ org/eclipse/equinox/p2/internal/repository/tools/tasks/AbstractRepositoryTask.
/external/guava/guava/src/com/google/common/util/concurrent/
H A DForwardingExecutorService.java55 Collection<? extends Callable<T>> tasks) throws InterruptedException {
56 return delegate().invokeAll(tasks);
61 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
63 return delegate().invokeAll(tasks, timeout, unit);
67 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) argument
69 return delegate().invokeAny(tasks);
74 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
76 return delegate().invokeAny(tasks, timeout, unit);
54 invokeAll( Collection<? extends Callable<T>> tasks) argument
60 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
73 invokeAny( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
H A DWrappingExecutorService.java36 * {@linkplain #wrapTask(Callable) wrap} tasks before they are submitted
79 * Wraps a collection of tasks.
81 * @throws NullPointerException if any element of {@code tasks} is null
84 Collection<? extends Callable<T>> tasks) {
86 for (Callable<T> task : tasks) {
115 Collection<? extends Callable<T>> tasks) throws InterruptedException {
116 return delegate.invokeAll(wrapTasks(tasks));
121 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
123 return delegate.invokeAll(wrapTasks(tasks), timeout, unit);
127 public final <T> T invokeAny(Collection<? extends Callable<T>> tasks) argument
83 wrapTasks( Collection<? extends Callable<T>> tasks) argument
114 invokeAll( Collection<? extends Callable<T>> tasks) argument
120 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
133 invokeAny( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
[all...]
H A DListeningExecutorService.java64 * {@code List<ListenableFuture<T>> futures = (List) executor.invokeAll(tasks);}
67 * @return A list of {@code ListenableFuture} instances representing the tasks, in the same
74 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) argument
84 * {@code List<ListenableFuture<T>> futures = (List) executor.invokeAll(tasks, timeout, unit);}
87 * @return a list of {@code ListenableFuture} instances representing the tasks, in the same
90 * tasks will not have completed.
96 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
95 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
/external/guice/extensions/service/src/com/google/inject/service/
H A DCompositeService.java81 final List<Future<State>> tasks = Lists.newArrayList();
83 tasks.add(injector.getInstance(service).start());
86 return futureGet(tasks, State.STARTED);
90 final List<Future<State>> tasks = Lists.newArrayList();
92 tasks.add(injector.getInstance(service).stop());
95 return futureGet(tasks, State.STOPPED);
104 private FutureTask<Service.State> futureGet(final List<Future<Service.State>> tasks, argument
109 for (Future<Service.State> task : tasks) {
/external/guava/guava-bootstrap/src/java/util/concurrent/
H A DAbstractExecutorService.java38 private <T> T doInvokeAny(Collection<? extends Callable<T>> tasks, argument
41 if (tasks == null)
43 int ntasks = tasks.size();
53 Iterator<? extends Callable<T>> it = tasks.iterator();
104 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) argument
107 return doInvokeAny(tasks, false, 0);
114 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, argument
117 return doInvokeAny(tasks, true, unit.toNanos(timeout));
120 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) argument
122 if (tasks
150 invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
[all...]
H A DExecutorService.java34 <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) argument
38 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
41 <T> T invokeAny(Collection<? extends Callable<T>> tasks) argument
45 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
37 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
44 invokeAny( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
/external/vogar/src/vogar/android/
H A DUninstallApkTask.java20 import vogar.tasks.Task;
/external/vogar/src/vogar/tasks/
H A DTaskQueue.java17 package vogar.tasks;
31 * A set of tasks to execute.
39 private final LinkedList<Task> tasks = new LinkedList<Task>(); field in class:TaskQueue
53 tasks.add(task);
56 public void enqueueAll(Collection<Task> tasks) { argument
57 this.tasks.addAll(tasks);
61 return new ArrayList<Task>(tasks);
91 for (Task task : tasks) {
120 for (Task task : tasks) {
[all...]
H A DMkdirTask.java17 package vogar.tasks;
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DWrappingExecutorServiceTest.java96 List<Callable<String>> tasks = createTasks(3);
100 List<Future<String>> futures = testExecutor.invokeAll(tasks);
109 List<Future<String>> futures = testExecutor.invokeAll(tasks, timeout, unit);
116 List<Callable<String>> tasks = createTasks(3);
120 String s = testExecutor.invokeAny(tasks);
129 String s = testExecutor.invokeAny(tasks, timeout, unit);
213 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) argument
216 assertTaskWrapped(tasks);
217 return inline.invokeAll(tasks);
222 Collection<? extends Callable<T>> tasks, lon
221 invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
232 invokeAny(Collection<? extends Callable<T>> tasks) argument
240 invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument
299 assertTaskWrapped( Collection<? extends Callable<T>> tasks) argument
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/121/1/.cp/lib/
H A Dapitooling-ant.jar ... pde/api/tools/internal/ org/eclipse/pde/api/tools/internal/tasks/ org/eclipse/pde/api/tools/internal/tasks/APIDeprecationReportConversionTask$1 ...
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/com/badlogic/gdx/utils/
H A DTimer.java23 /** Executes tasks in the future on the main loop thread.
41 private final Array<Task> tasks = new Array(false, 8); field in class:Timer
68 synchronized (tasks) {
69 tasks.add(task);
75 /** Stops the timer, tasks will not be executed and time that passes will not be applied to the task delays. */
92 /** Cancels all tasks. */
94 synchronized (tasks) {
95 for (int i = 0, n = tasks.size; i < n; i++)
96 tasks.get(i).cancel();
97 tasks
[all...]
/external/libmtp/examples/
H A Devolution-sync.sh65 cat $HOME/.evolution/tasks/local/system/tasks.ics \

Completed in 1544 milliseconds

12345678