/hardware/interfaces/broadcastradio/common/utils/ |
D | WorkerThread.cpp | 45 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/ |
D | TunerSession.cpp | 111 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.0/ |
D | IPreparedModelCallback.hal | 23 * 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
|
D | IExecutionCallback.hal | 26 * 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
|
D | IPreparedModel.hal | 34 * 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 61 * - NONE if task is successfully launched
|
D | IDevice.hal | 75 * 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/ |
D | IPreparedModelCallback.hal | 25 * 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
|
D | IExecutionCallback.hal | 30 * 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
|
D | IDevice.hal | 198 * 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
|
D | IPreparedModel.hal | 39 * 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 71 * - NONE if task is successfully launched
|
D | types.hal | 5089 * the beginning of some task to the end of that task, including time when that 5090 * task is not active (for example, preempted by some other task, or
|
/hardware/interfaces/broadcastradio/1.1/default/ |
D | Tuner.cpp | 115 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/ |
D | TestHelpers.h | 34 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/ |
D | IDevice.hal | 80 * 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/ |
D | WorkerThread.h | 30 void schedule(std::function<void()> task, std::chrono::milliseconds delay);
|
/hardware/interfaces/bluetooth/1.0/vts/functional/ |
D | VtsHalBluetoothV1_0TargetTest.cpp | 118 ThroughputLogger(std::string task) in ThroughputLogger() argument 119 : task_(task), start_time_(std::chrono::steady_clock::now()) {} in ThroughputLogger()
|
/hardware/libhardware/modules/camera/3_4/ |
D | README.md | 106 metadata components and perform the requested task.
|
/hardware/interfaces/graphics/common/1.0/ |
D | types.hal | 134 * BLOB is used to carry task-specific data which does not have a standard
|