Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/tools/rootcanal/model/setup/
Dasync_manager.cc89 static inline AsyncTaskId NextAsyncTaskId(const AsyncTaskId id) { in NextAsyncTaskId()
293 AsyncTaskId ExecAsync(AsyncUserId user_id, std::chrono::milliseconds delay, in ExecAsync()
299 AsyncTaskId ExecAsyncPeriodically(AsyncUserId user_id, in ExecAsyncPeriodically()
307 bool CancelAsyncTask(AsyncTaskId async_task_id) { in CancelAsyncTask()
394 AsyncTaskId task_id;
406 bool cancel_task_with_lock_held(AsyncTaskId async_task_id) { in cancel_task_with_lock_held()
429 AsyncTaskId scheduleTask(const std::shared_ptr<Task>& task) { in scheduleTask()
457 bool isTaskIdInUse(const AsyncTaskId& task_id) const { in isTaskIdInUse()
533 AsyncTaskId lastTaskId_ = kInvalidTaskId;
535 std::map<AsyncTaskId, std::shared_ptr<Task>> tasks_by_id_;
[all …]
Dtest_model.h44 std::function<AsyncTaskId(AsyncUserId, std::chrono::milliseconds,
47 std::function<AsyncTaskId(AsyncUserId, std::chrono::milliseconds,
51 std::function<void(AsyncTaskId)> cancel,
132 std::function<AsyncTaskId(AsyncUserId, std::chrono::milliseconds,
135 std::function<AsyncTaskId(AsyncUserId, std::chrono::milliseconds,
138 std::function<void(AsyncTaskId)> cancel_task_;
144 AsyncTaskId timer_tick_task_{kInvalidTaskId};
Dasync_manager.h39 using AsyncTaskId = uint16_t; variable
84 AsyncTaskId ExecAsync(AsyncUserId user_id, std::chrono::milliseconds delay,
91 AsyncTaskId ExecAsyncPeriodically(AsyncUserId user_id,
101 bool CancelAsyncTask(AsyncTaskId async_task_id);
Dtest_model.cc37 std::function<AsyncTaskId(AsyncUserId, std::chrono::milliseconds, in TestModel()
41 std::function<AsyncTaskId(AsyncUserId, std::chrono::milliseconds, in TestModel()
46 std::function<void(AsyncTaskId)> cancel, in TestModel()
/packages/modules/Bluetooth/tools/rootcanal/test/
Dasync_manager_unittest.cc247 AsyncTaskId task_id = async_manager_.ExecAsyncPeriodically( in TEST_F()
421 AsyncTaskId task1_id = in TEST_F()
432 AsyncTaskId task1_id = in TEST_F()
437 AsyncTaskId task2_id = in TEST_F()
462 AsyncTaskId task1_id = in TEST_F()
465 AsyncTaskId task2_id = in TEST_F()
468 AsyncTaskId task3_id = in TEST_F()
471 AsyncTaskId task4_id = in TEST_F()
474 AsyncTaskId task5_id = in TEST_F()
/packages/modules/Bluetooth/tools/rootcanal/desktop/
Dtest_environment.h108 [this](rootcanal::AsyncTaskId task) {
Dtest_environment.cc50 using rootcanal::AsyncTaskId;
/packages/modules/Bluetooth/tools/rootcanal/hal/
Dbluetooth_hci.h122 [this](rootcanal::AsyncTaskId task) {
Dbluetooth_hci.cc40 using rootcanal::AsyncTaskId;