HomeSort by relevance Sort by last modified time
    Searched defs:Task (Results 1 - 25 of 245) sorted by null

1 2 3 4 5 6 7 8 910

  /external/libchrome/base/task_scheduler/
task.cc 5 #include "base/task_scheduler/task.h"
10 Task::Task(const tracked_objects::Location& posted_from,
11 const Closure& task,
15 task,
20 Task::~Task() = default;
task.h 22 // A task is a unit of work inside the task scheduler. Support for tracing and
24 struct BASE_EXPORT Task : public PendingTask {
25 // |posted_from| is the site the task was posted from. |task| is the closure
26 // to run. |traits| is metadata about the task. |delay| is a delay that must
27 // expire before the Task runs.
28 Task(const tracked_objects::Location& posted_from,
29 const Closure& task,
32 ~Task();
    [all...]
  /packages/apps/Camera2/src/com/android/camera/util/
Task.java 22 public interface Task<T> {
  /frameworks/base/libs/hwui/thread/
Task.h 35 class Task: public TaskBase {
37 Task(): mFuture(new Future<T>()) { }
38 virtual ~Task() { }
  /external/v8/src/heap/
incremental-marking-job.h 8 #include "src/cancelable-task.h"
17 // marking steps. The job posts a foreground task that makes a small (~1ms)
18 // step and posts another task until the marking is completed.
21 class Task : public CancelableTask {
23 explicit Task(Isolate* isolate, IncrementalMarkingJob* job)
  /frameworks/base/services/core/jni/BroadcastRadio/
NativeCallbackThread.h 29 typedef std::function<void(JNIEnv*)> Task;
32 std::queue<Task> mQueue;
47 void enqueue(const Task &task);
  /external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
ThreadEnvironment.h 16 struct Task {
32 Task CreateTask(std::function<void()> f) { return Task{std::move(f)}; }
33 void ExecuteTask(const Task& t) { t.f(); }
SimpleThreadPool.h 19 // task submission and execution.
45 w->task.f = nullptr;
59 Task t = env_.CreateTask(std::move(fn));
67 w->task = std::move(t);
92 Task t;
101 t = w.task;
102 w.task.f = nullptr;
121 typedef typename Environment::Task Task;
126 Task task member in struct:Eigen::SimpleThreadPoolTempl::Waiter
    [all...]
  /external/ims/rcs/rcsservice/src/com/android/service/ims/
Task.java 41 * Task
43 public class Task{
89 public Task(int taskId, int cmdId, IRcsPresenceListener listener){
96 return "Task: mTaskId=" + mTaskId +
  /external/llvm/include/llvm/Support/
ThreadPool.h 75 /// Asynchronous submission of a task to the pool. The returned future can be
76 /// used to wait for the task to finish and is *non-blocking* on destruction.
79 auto Task =
82 return asyncImpl(std::move(Task));
86 return asyncImpl([Task](VoidTy) mutable -> VoidTy {
87 Task();
93 /// Asynchronous submission of a task to the pool. The returned future can be
94 /// used to wait for the task to finish and is *non-blocking* on destruction.
109 /// Asynchronous submission of a task to the pool. The returned future can be
110 /// used to wait for the task to finish and is *non-blocking* on destruction
    [all...]
  /hardware/interfaces/broadcastradio/1.1/utils/include/broadcastradio-utils/
WorkerThread.h 30 void schedule(std::function<void()> task, std::chrono::milliseconds delay);
34 struct Task {
38 friend bool operator<(const Task& lhs, const Task& rhs);
44 std::priority_queue<Task> mTasks;
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 60 /// Asynchronous submission of a task to the pool. The returned future can be
61 /// used to wait for the task to finish and is *non-blocking* on destruction.
64 auto Task =
67 return asyncImpl(std::move(Task));
71 return asyncImpl([Task](VoidTy) mutable -> VoidTy {
72 Task();
78 /// Asynchronous submission of a task to the pool. The returned future can be
79 /// used to wait for the task to finish and is *non-blocking* on destruction.
94 /// Asynchronous submission of a task to the pool. The returned future can be
95 /// used to wait for the task to finish and is *non-blocking* on destruction
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 60 /// Asynchronous submission of a task to the pool. The returned future can be
61 /// used to wait for the task to finish and is *non-blocking* on destruction.
64 auto Task =
67 return asyncImpl(std::move(Task));
71 return asyncImpl([Task](VoidTy) mutable -> VoidTy {
72 Task();
78 /// Asynchronous submission of a task to the pool. The returned future can be
79 /// used to wait for the task to finish and is *non-blocking* on destruction.
94 /// Asynchronous submission of a task to the pool. The returned future can be
95 /// used to wait for the task to finish and is *non-blocking* on destruction
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 60 /// Asynchronous submission of a task to the pool. The returned future can be
61 /// used to wait for the task to finish and is *non-blocking* on destruction.
64 auto Task =
67 return asyncImpl(std::move(Task));
71 return asyncImpl([Task](VoidTy) mutable -> VoidTy {
72 Task();
78 /// Asynchronous submission of a task to the pool. The returned future can be
79 /// used to wait for the task to finish and is *non-blocking* on destruction.
94 /// Asynchronous submission of a task to the pool. The returned future can be
95 /// used to wait for the task to finish and is *non-blocking* on destruction
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 60 /// Asynchronous submission of a task to the pool. The returned future can be
61 /// used to wait for the task to finish and is *non-blocking* on destruction.
64 auto Task =
67 return asyncImpl(std::move(Task));
71 return asyncImpl([Task](VoidTy) mutable -> VoidTy {
72 Task();
78 /// Asynchronous submission of a task to the pool. The returned future can be
79 /// used to wait for the task to finish and is *non-blocking* on destruction.
94 /// Asynchronous submission of a task to the pool. The returned future can be
95 /// used to wait for the task to finish and is *non-blocking* on destruction
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 60 /// Asynchronous submission of a task to the pool. The returned future can be
61 /// used to wait for the task to finish and is *non-blocking* on destruction.
64 auto Task =
67 return asyncImpl(std::move(Task));
71 return asyncImpl([Task](VoidTy) mutable -> VoidTy {
72 Task();
78 /// Asynchronous submission of a task to the pool. The returned future can be
79 /// used to wait for the task to finish and is *non-blocking* on destruction.
94 /// Asynchronous submission of a task to the pool. The returned future can be
95 /// used to wait for the task to finish and is *non-blocking* on destruction
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 60 /// Asynchronous submission of a task to the pool. The returned future can be
61 /// used to wait for the task to finish and is *non-blocking* on destruction.
64 auto Task =
67 return asyncImpl(std::move(Task));
71 return asyncImpl([Task](VoidTy) mutable -> VoidTy {
72 Task();
78 /// Asynchronous submission of a task to the pool. The returned future can be
79 /// used to wait for the task to finish and is *non-blocking* on destruction.
94 /// Asynchronous submission of a task to the pool. The returned future can be
95 /// used to wait for the task to finish and is *non-blocking* on destruction
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 60 /// Asynchronous submission of a task to the pool. The returned future can be
61 /// used to wait for the task to finish and is *non-blocking* on destruction.
64 auto Task =
67 return asyncImpl(std::move(Task));
71 return asyncImpl([Task](VoidTy) mutable -> VoidTy {
72 Task();
78 /// Asynchronous submission of a task to the pool. The returned future can be
79 /// used to wait for the task to finish and is *non-blocking* on destruction.
94 /// Asynchronous submission of a task to the pool. The returned future can be
95 /// used to wait for the task to finish and is *non-blocking* on destruction
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/
ThreadPool.h 60 /// Asynchronous submission of a task to the pool. The returned future can be
61 /// used to wait for the task to finish and is *non-blocking* on destruction.
64 auto Task =
67 return asyncImpl(std::move(Task));
71 return asyncImpl([Task](VoidTy) mutable -> VoidTy {
72 Task();
78 /// Asynchronous submission of a task to the pool. The returned future can be
79 /// used to wait for the task to finish and is *non-blocking* on destruction.
94 /// Asynchronous submission of a task to the pool. The returned future can be
95 /// used to wait for the task to finish and is *non-blocking* on destruction
    [all...]
  /toolchain/binutils/binutils-2.25/gold/
workqueue.h 42 // specific task class will inherit from this one.
44 class Task
47 Task()
50 virtual ~Task()
53 // Check whether the Task can be run now. This method is only
54 // called with the workqueue lock held. If the Task can run, this
56 // must be released before the Task can run.
60 // Lock all the resources required by the Task, and store the locks
67 // Run the task.
71 // Return whether this task should run soon
    [all...]
  /external/vogar/src/vogar/tasks/
Task.java 26 * A task necessary to accomplish the user's requested actions. Tasks have
27 * prerequisites; a task must not be run until it reports that it is runnable.
28 * Tasks may be run at most once; running a task produces a result.
30 public abstract class Task {
32 final List<Task> tasksThatMustFinishFirst = new ArrayList<Task>();
33 final List<Task> tasksThatMustFinishSuccessfullyFirst = new ArrayList<Task>();
37 protected Task(String name) {
42 * Returns true if this task is an action task. The queue imposes limit
    [all...]
  /frameworks/native/services/vr/performanced/
task.cpp 1 #include "task.h"
44 Task::Task(pid_t task_id)
53 "Task::Task: Failed to open task directory for task_id=%d: %s",
59 "Task::Task: task_id=%d name=%s tgid=%d ppid=%d cpu_mask=%x",
65 base::unique_fd Task::OpenTaskFile(const std::string& name) const {
71 UniqueFile Task::OpenTaskFilePointer(const std::string& name) const
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/shortcuts/
ShortcutRefresher.java 53 EXECUTOR.submit(Task.ID, new Task(context), new ArrayList<>(contacts));
56 private static final class Task extends FallibleAsyncTask<List<ContactEntry>, Void, Void> {
57 private static final String ID = "ShortcutRefresher.Task";
61 Task(Context context) {
75 LogUtil.enterBlock("ShortcutRefresher.Task.doInBackground");
  /prebuilts/tools/common/m2/repository/com/parse/bolts/bolts-tasks/1.4.0/
bolts-tasks-1.4.0.jar 
  /external/v8/include/
v8-platform.h 18 * A Task represents a unit of work.
20 class Task {
22 virtual ~Task() = default;
31 * The idle task is expected to complete by this deadline.
64 * This enum is used to indicate whether a task is potentially long running,
66 * whether to execute the task on a dedicated thread.
85 * Schedules a task to be invoked on a background thread. |expected_runtime|
86 * indicates that the task will run a long time. The Platform implementation
87 * takes ownership of |task|. There is no guarantee about order of execution
89 * thread the task will be run on
    [all...]

Completed in 957 milliseconds

1 2 3 4 5 6 7 8 910