Searched refs:AsyncTaskId (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Bluetooth/tools/rootcanal/model/setup/ |
D | async_manager.cc | 89 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 …]
|
D | test_model.h | 44 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};
|
D | async_manager.h | 39 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);
|
D | test_model.cc | 37 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/ |
D | async_manager_unittest.cc | 247 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/ |
D | test_environment.h | 108 [this](rootcanal::AsyncTaskId task) {
|
D | test_environment.cc | 50 using rootcanal::AsyncTaskId;
|
/packages/modules/Bluetooth/tools/rootcanal/hal/ |
D | bluetooth_hci.h | 122 [this](rootcanal::AsyncTaskId task) {
|
D | bluetooth_hci.cc | 40 using rootcanal::AsyncTaskId;
|