Lines Matching refs:Task
31 class Task;
44 * Returns true if this task manager can run tasks,
61 bool addTask(const sp<Task<T> >& task, const sp<TaskProcessor<T> >& processor) {
62 return addTaskBase(sp<TaskBase>(task), sp<TaskProcessorBase>(processor));
65 bool addTaskBase(const sp<TaskBase>& task, const sp<TaskProcessorBase>& processor);
70 TaskWrapper(const sp<TaskBase>& task, const sp<TaskProcessorBase>& processor):
71 mTask(task), mProcessor(processor) {
82 bool addTask(TaskWrapper task);
94 // task is available in the list