Searched refs:AsyncTaskId (Results 1 – 13 of 13) sorted by relevance
/system/bt/vendor_libs/test_vendor_lib/model/setup/ |
D | test_model.h | 37 std::function<AsyncTaskId(AsyncUserId, std::chrono::milliseconds, 40 std::function<AsyncTaskId(AsyncUserId, std::chrono::milliseconds, 44 std::function<void(AsyncTaskId)> cancel, 104 std::function<AsyncTaskId(AsyncUserId, std::chrono::milliseconds, 107 std::function<AsyncTaskId(AsyncUserId, std::chrono::milliseconds, 110 std::function<void(AsyncTaskId)> cancel_task_; 115 AsyncTaskId timer_tick_task_{kInvalidTaskId};
|
D | async_manager.h | 22 using AsyncTaskId = uint16_t; variable 66 AsyncTaskId ExecAsync(AsyncUserId user_id, std::chrono::milliseconds delay, 73 AsyncTaskId ExecAsyncPeriodically(AsyncUserId user_id, 83 bool CancelAsyncTask(AsyncTaskId async_task_id);
|
D | async_manager.cc | 78 static inline AsyncTaskId NextAsyncTaskId(const AsyncTaskId id) { in NextAsyncTaskId() 273 AsyncTaskId ExecAsync(AsyncUserId user_id, std::chrono::milliseconds delay, in ExecAsync() 279 AsyncTaskId ExecAsyncPeriodically(AsyncUserId user_id, in ExecAsyncPeriodically() 287 bool CancelAsyncTask(AsyncTaskId async_task_id) { in CancelAsyncTask() 374 AsyncTaskId task_id; 385 AsyncTaskId scheduleTask(const std::shared_ptr<Task>& task) { in scheduleTask() 412 bool isTaskIdInUse(const AsyncTaskId& task_id) const { in isTaskIdInUse() 478 AsyncTaskId lastTaskId_ = kInvalidTaskId; 480 std::map<AsyncTaskId, std::shared_ptr<Task> > tasks_by_id_; 481 std::map<AsyncUserId, std::set<AsyncTaskId>> tasks_by_user_id_; [all …]
|
D | test_model.cc | 53 std::function<AsyncTaskId(AsyncUserId, std::chrono::milliseconds, in TestModel() 57 std::function<AsyncTaskId(AsyncUserId, std::chrono::milliseconds, in TestModel() 62 std::function<void(AsyncTaskId)> cancel, in TestModel()
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
D | async_manager_unittest.cc | 182 AsyncTaskId task1_id = in TEST_F() 193 AsyncTaskId task1_id = in TEST_F() 198 AsyncTaskId task2_id = in TEST_F() 223 AsyncTaskId task1_id = in TEST_F() 226 AsyncTaskId task2_id = in TEST_F() 229 AsyncTaskId task3_id = in TEST_F() 232 AsyncTaskId task4_id = in TEST_F() 235 AsyncTaskId task5_id = in TEST_F()
|
/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | link_layer_controller.h | 94 AsyncTaskId ScheduleTask(std::chrono::milliseconds delay_ms, const TaskCallback& task); 96 void CancelScheduledTask(AsyncTaskId task); 120 std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback&)> event_scheduler); 123 …std::function<AsyncTaskId(std::chrono::milliseconds, std::chrono::milliseconds, const TaskCallback… 126 void RegisterTaskCancel(std::function<void(AsyncTaskId)> cancel); 333 std::vector<AsyncTaskId> controller_events_; 334 AsyncTaskId timer_tick_task_{}; 338 std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback&)> schedule_task_; 339 …std::function<AsyncTaskId(std::chrono::milliseconds, std::chrono::milliseconds, const TaskCallback… 341 std::function<void(AsyncTaskId)> cancel_task_; [all …]
|
D | dual_mode_controller.h | 79 …void RegisterTaskScheduler(std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback… 82 …std::function<AsyncTaskId(std::chrono::milliseconds, std::chrono::milliseconds, const TaskCallback… 85 void RegisterTaskCancel(std::function<void(AsyncTaskId)> cancel);
|
D | link_layer_controller.cc | 1186 std::function<AsyncTaskId(milliseconds, const TaskCallback&)> in RegisterTaskScheduler() 1191 AsyncTaskId LinkLayerController::ScheduleTask(milliseconds delay_ms, in ScheduleTask() 1202 std::function<AsyncTaskId(milliseconds, milliseconds, const TaskCallback&)> in RegisterPeriodicTaskScheduler() 1207 void LinkLayerController::CancelScheduledTask(AsyncTaskId task_id) { in CancelScheduledTask() 1214 std::function<void(AsyncTaskId)> task_cancel) { in RegisterTaskCancel()
|
D | dual_mode_controller.cc | 264 std::function<AsyncTaskId(std::chrono::milliseconds, const TaskCallback&)> oneshot_scheduler) { in RegisterTaskScheduler() 269 …std::function<AsyncTaskId(std::chrono::milliseconds, std::chrono::milliseconds, const TaskCallback… in RegisterPeriodicTaskScheduler() 274 void DualModeController::RegisterTaskCancel(std::function<void(AsyncTaskId)> task_cancel) { in RegisterTaskCancel()
|
/system/bt/vendor_libs/test_vendor_lib/desktop/ |
D | test_environment.h | 74 [this](test_vendor_lib::AsyncTaskId task) {
|
D | test_environment.cc | 32 using test_vendor_lib::AsyncTaskId;
|
/system/bt/test/rootcanal/ |
D | bluetooth_hci.h | 109 [this](test_vendor_lib::AsyncTaskId task) {
|
D | bluetooth_hci.cc | 36 using test_vendor_lib::AsyncTaskId; 165 [this](AsyncTaskId task) { async_manager_.CancelAsyncTask(task); }); in initialize_impl()
|