Home
last modified time | relevance | path

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

/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc315 tasks_by_id_.clear(); in stopThread()
380 if (tasks_by_id_.count(async_task_id) == 0) { in cancel_task_with_lock_held()
383 task_queue_.erase(tasks_by_id_[async_task_id]); in cancel_task_with_lock_held()
384 tasks_by_id_.erase(async_task_id); in cancel_task_with_lock_held()
392 if (tasks_by_id_.size() == kMaxTaskId) // TODO potentially type unsafe in scheduleTask()
399 tasks_by_id_[lastTaskId_] = task; in scheduleTask()
416 return tasks_by_id_.count(task_id) != 0; in isTaskIdInUse()
454 tasks_by_id_.erase(task_p->task_id); in ThreadRoutine()
488 std::map<AsyncTaskId, std::shared_ptr<Task> > tasks_by_id_; member in test_vendor_lib::AsyncManager::AsyncTaskManager