Home
last modified time | relevance | path

Searched refs:task (Results 1 – 25 of 28) sorted by relevance

12

/hardware/interfaces/broadcastradio/common/utils/
DWorkerThread.cpp45 void WorkerThread::schedule(function<void()> task, milliseconds delay) { in schedule() argument
49 mTasks.push(Task({when, task})); in schedule()
66 auto task = mTasks.top(); in threadLoop() local
67 if (task.when > steady_clock::now()) { in threadLoop()
68 mCond.wait_until(lk, task.when); in threadLoop()
74 task.what(); in threadLoop()
/hardware/interfaces/broadcastradio/2.0/default/
DTunerSession.cpp111 auto task = [this, sel]() { in tune() local
115 mThread.schedule(task, delay::tune); in tune()
132 auto task = [this]() { in scan() local
137 mThread.schedule(task, delay::seek); in scan()
163 auto task = [this, tuneTo, directionUp]() { in scan() local
169 mThread.schedule(task, delay::seek); in scan()
202 auto task = [this, stepTo]() { in step() local
209 mThread.schedule(task, delay::step); in step()
244 auto task = [this, list]() { in startProgramListUpdates() local
254 mThread.schedule(task, delay::list); in startProgramListUpdates()
/hardware/interfaces/neuralnetworks/1.3/
DIPreparedModelCallback.hal24 * asynchronous task launched from IDevice::prepareModel.
32 * task holding this callback has finished preparing the model. If the model was
37 * task holding this callback fails to launch or if the model provided to
42 * preparation task; must be:
43 * - NONE if the asynchronous task successfully prepared the
46 * - GENERAL_FAILURE if the asynchronous task resulted in an
52 * - RESOURCE_EXHAUSTED_* if the task was aborted by the
DIExecutionCallback.hal32 * methods must be invoked immediately after the asynchronous task has
35 * task is not launched, one of the notify methods must be invoked with the
38 * @param status Error status returned from launching the asynchronous task
39 * (if the launch fails) or from the asynchronous task itself
43 * - GENERAL_FAILURE if the asynchronous task resulted in an
52 * - RESOURCE_EXHAUSTED_* if the task was aborted by the driver
DIPreparedModel.hal44 * launch an asynchronous task to perform the execution in the background,
45 * and immediately return with ErrorStatus::NONE. If the asynchronous task
50 * When the asynchronous task has finished its execution, it must
58 * asynchronous task has invoked the callback object. The asynchronous task
106 * - NONE if task is successfully launched
115 * - RESOURCE_EXHAUSTED_* if the task was aborted by the
187 * - RESOURCE_EXHAUSTED_* if the task was aborted by the
213 * are valid and there is no error, executeFenced must dispatch an asynchronous task
217 * status. If the task has finished before the call returns, an empty handle may be returned
221 * When the asynchronous task has finished its execution, it must
[all …]
DIDevice.hal109 * launch an asynchronous task to prepare the model in the background, and
111 * asynchronous task fails to launch, prepareModel must immediately invoke
115 * When the asynchronous task has finished preparing the model, it must
188 * @return status Error status of launching a task which prepares the model
190 * - NONE if preparation task is successfully launched
197 * - RESOURCE_EXHAUSTED_* if the task was aborted by the driver
232 * asynchronous task to prepare the model in the background, and immediately return
233 * from prepareModelFromCache_1_3 with ErrorStatus::NONE. If the asynchronous task
238 * When the asynchronous task has finished preparing the model, it must
283 * @return status Error status of launching a task which prepares the model
[all …]
DIFencedExecutionCallback.hal39 * - GENERAL_FAILURE if the asynchronous task resulted in an
43 * - RESOURCE_EXHAUSTED_* if the task was aborted by the
Dtypes.t581 * Failure because a deadline could not be met for a task, but future
582 * deadlines may still be met for the same task after a short delay.
587 * Failure because a deadline could not be met for a task, and future
588 * deadlines will likely also not be met for the same task even after a
595 * calls for the same task may still succeed after a short delay.
601 * calls for the same task will likely also fail even after a short
/hardware/interfaces/neuralnetworks/1.0/
DIPreparedModelCallback.hal23 * asynchronous task launched from IDevice::prepareModel.
28 * notify must be invoked immediately after the asynchronous task holding
33 * nullptr as the IPreparedModel. If the asynchronous task holding this
39 * preparation task; must be:
40 * - NONE if the asynchronous task successfully prepared the
43 * - GENERAL_FAILURE if the asynchronous task resulted in an
DIExecutionCallback.hal26 * notify must be invoked immediately after the asynchronous task has
28 * ErrorStatus resulting from the execution. If the asynchronous task
31 * @param status Error status returned from launching the asynchronous task
32 * (if the launch fails) or from the asynchronous task itself
36 * - GENERAL_FAILURE if the asynchronous task resulted in an
DIPreparedModel.hal34 * launch an asynchronous task to perform the execution in the background,
35 * and immediately return with ErrorStatus::NONE. If the asynchronous task
40 * When the asynchronous task has finished its execution, it must
48 * asynchronous task has invoked the callback object. The asynchronous task
71 * - NONE if task is successfully launched
DIDevice.hal75 * must launch an asynchronous task to prepare the model in the background,
77 * asynchronous task fails to launch, prepareModel must immediately invoke
81 * When the asynchronous task has finished preparing the model, it must
105 * @return status Error status of launching a task which prepares the model
107 * - NONE if preparation task is successfully launched
/hardware/interfaces/neuralnetworks/1.2/
DIPreparedModelCallback.hal25 * asynchronous task launched from IDevice::prepareModel.
31 * task holding this callback has finished preparing the model. If the model was
36 * task holding this callback fails to launch or if the model provided to
41 * preparation task; must be:
42 * - NONE if the asynchronous task successfully prepared the
45 * - GENERAL_FAILURE if the asynchronous task resulted in an
DIExecutionCallback.hal30 * task has finished performing the execution. Either notify_1_2 or notify must be
31 * provided with the ErrorStatus from the execution. If the asynchronous task is
35 * @param status Error status returned from launching the asynchronous task
36 * (if the launch fails) or from the asynchronous task itself
40 * - GENERAL_FAILURE if the asynchronous task resulted in an
DIPreparedModel.hal39 * launch an asynchronous task to perform the execution in the background,
40 * and immediately return with ErrorStatus::NONE. If the asynchronous task
45 * When the asynchronous task has finished its execution, it must
53 * asynchronous task has invoked the callback object. The asynchronous task
81 * - NONE if task is successfully launched
DIDevice.hal198 * there is no error, prepareModel must launch an asynchronous task
200 * prepareModel with ErrorStatus::NONE. If the asynchronous task fails to launch,
205 * When the asynchronous task has finished preparing the model, it must
258 * @return status Error status of launching a task which prepares the model
260 * - NONE if preparation task is successfully launched
298 * asynchronous task to prepare the model in the background, and immediately return
299 * from prepareModelFromCache with ErrorStatus::NONE. If the asynchronous task
304 * When the asynchronous task has finished preparing the model, it must
338 * @return status Error status of launching a task which prepares the model
340 * - NONE if preparation task is successfully launched
Dtypes.t460 * the beginning of some task to the end of that task, including time when that
461 * task is not active (for example, preempted by some other task, or
/hardware/interfaces/broadcastradio/1.1/default/
DTuner.cpp115 auto task = [this, config]() { in setConfiguration() local
120 mThread.schedule(task, gDefaultDelay.config); in setConfiguration()
185 auto task = [this, direction]() { in scan() local
194 mThread.schedule(task, gDefaultDelay.scan); in scan()
220 auto task = [this, tuneTo, direction]() { in scan() local
226 mThread.schedule(task, gDefaultDelay.scan); in scan()
249 auto task = [this, direction]() { in step() local
267 mThread.schedule(task, gDefaultDelay.step); in step()
310 auto task = [this, sel]() { in tuneByProgramSelector() local
314 mThread.schedule(task, gDefaultDelay.tune); in tuneByProgramSelector()
/hardware/libhardware/tests/input/evdev/
DTestHelpers.h34 decltype(auto) delay_async(Duration&& delay, Function&& task) in decltype()
36 return std::async(std::launch::async, [=]{ std::this_thread::sleep_for(delay); task(); }); in decltype()
/hardware/interfaces/neuralnetworks/1.1/
DIDevice.hal80 * must launch an asynchronous task to prepare the model in the background,
82 * asynchronous task fails to launch, prepareModel must immediately invoke
86 * When the asynchronous task has finished preparing the model, it must
112 * @return status Error status of launching a task which prepares the model
114 * - NONE if preparation task is successfully launched
/hardware/interfaces/broadcastradio/common/utils/include/broadcastradio-utils/
DWorkerThread.h30 void schedule(std::function<void()> task, std::chrono::milliseconds delay);
/hardware/interfaces/bluetooth/1.0/vts/functional/
DVtsHalBluetoothV1_0TargetTest.cpp119 ThroughputLogger(std::string task) in ThroughputLogger() argument
120 : task_(task), start_time_(std::chrono::steady_clock::now()) {} in ThroughputLogger()
/hardware/interfaces/bluetooth/1.1/vts/functional/
DVtsHalBluetoothV1_1TargetTest.cpp120 ThroughputLogger(std::string task) in ThroughputLogger() argument
121 : task_(task), start_time_(std::chrono::steady_clock::now()) {} in ThroughputLogger()
/hardware/libhardware/modules/camera/3_4/
DREADME.md106 metadata components and perform the requested task.
/hardware/interfaces/identity/support/include/cppbor/
DREADME.md119 accomplish the same task but output the encoded data in different

12