Home
last modified time | relevance | path

Searched refs:AsyncTaskId (Results 1 – 5 of 5) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/include/
Dasync_manager.h22 using AsyncTaskId = uint16_t; variable
62 AsyncTaskId ExecAsync(std::chrono::milliseconds delay,
69 AsyncTaskId ExecAsyncPeriodically(std::chrono::milliseconds delay,
78 bool CancelAsyncTask(AsyncTaskId async_task_id);
Ddual_mode_controller.h69 std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback&)>
73 std::function<AsyncTaskId(std::chrono::milliseconds,
77 void RegisterTaskCancel(std::function<void(AsyncTaskId)> cancel);
410 std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback&)>
412 std::function<AsyncTaskId(std::chrono::milliseconds,
416 std::function<void(AsyncTaskId)> cancel_task_;
472 std::vector<AsyncTaskId> controller_events_;
476 AsyncTaskId timer_tick_task_;
/system/bt/vendor_libs/test_vendor_lib/src/
Dasync_manager.cc81 static inline AsyncTaskId NextAsyncTaskId(const AsyncTaskId id) { in NextAsyncTaskId()
280 AsyncTaskId ExecAsync(std::chrono::milliseconds delay, in ExecAsync()
286 AsyncTaskId ExecAsyncPeriodically(std::chrono::milliseconds delay, in ExecAsyncPeriodically()
293 bool CancelAsyncTask(AsyncTaskId async_task_id) { in CancelAsyncTask()
362 AsyncTaskId task_id;
376 AsyncTaskId scheduleTask(const std::shared_ptr<Task>& task) { in scheduleTask()
377 AsyncTaskId task_id = kInvalidTaskId; in scheduleTask()
404 bool isTaskIdInUse(const AsyncTaskId& task_id) const { in isTaskIdInUse()
470 AsyncTaskId lastTaskId_ = kInvalidTaskId;
471 std::map<AsyncTaskId, std::shared_ptr<Task> > tasks_by_id;
[all …]
Ddual_mode_controller.cc177 std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback&)> in RegisterTaskScheduler()
183 std::function<AsyncTaskId(std::chrono::milliseconds, in RegisterPeriodicTaskScheduler()
190 std::function<void(AsyncTaskId)> task_cancel) { in RegisterTaskCancel()
/system/bt/test/rootcanal/
Dbluetooth_hci.cc39 using test_vendor_lib::AsyncTaskId;
131 [this](AsyncTaskId task) { async_manager_.CancelAsyncTask(task); }); in initialize()