Home
last modified time | relevance | path

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

/system/nfc/src/gki/ulinux/
Dgki_ulinux.cc69 uint8_t task_id; /* GKI task id */ member
91 p_pthread_info->task_id, gki_cb.os.thread_id[p_pthread_info->task_id], in gki_task_entry()
94 gki_cb.os.thread_id[p_pthread_info->task_id] = thread_id; in gki_task_entry()
99 p_pthread_info->task_id); in gki_task_entry()
100 gki_cb.os.thread_id[p_pthread_info->task_id] = 0; in gki_task_entry()
182 uint8_t GKI_create_task(TASKPTR task_entry, uint8_t task_id, int8_t* taskname, in GKI_create_task() argument
194 task_entry, task_id, taskname, stack, stacksize); in GKI_create_task()
196 if (task_id >= GKI_MAX_TASKS) { in GKI_create_task()
202 gki_cb.com.OSRdyTbl[task_id] = TASK_READY; in GKI_create_task()
203 gki_cb.com.OSTName[task_id] = taskname; in GKI_create_task()
[all …]
/system/nfc/src/gki/common/
Dgki_time.cc188 uint8_t task_id = GKI_get_taskid(); in GKI_start_timer() local
233 gki_cb.com.OSTaskTmr0R[task_id] = reload; in GKI_start_timer()
234 gki_cb.com.OSTaskTmr0[task_id] = ticks; in GKI_start_timer()
240 gki_cb.com.OSTaskTmr1R[task_id] = reload; in GKI_start_timer()
241 gki_cb.com.OSTaskTmr1[task_id] = ticks; in GKI_start_timer()
247 gki_cb.com.OSTaskTmr2R[task_id] = reload; in GKI_start_timer()
248 gki_cb.com.OSTaskTmr2[task_id] = ticks; in GKI_start_timer()
254 gki_cb.com.OSTaskTmr3R[task_id] = reload; in GKI_start_timer()
255 gki_cb.com.OSTaskTmr3[task_id] = ticks; in GKI_start_timer()
286 uint8_t task_id = GKI_get_taskid(); in GKI_stop_timer() local
[all …]
Dgki_buffer.cc75 hdr->task_id = GKI_INVALID_TASK; in gki_init_free_queue()
308 p_hdr->task_id = GKI_get_taskid(); in GKI_getbuf()
369 p_hdr->task_id = GKI_get_taskid(); in GKI_getpoolbuf()
434 p_hdr->task_id = GKI_INVALID_TASK; in GKI_freebuf()
504 void GKI_send_msg(uint8_t task_id, uint8_t mbox, void* msg) { in GKI_send_msg() argument
509 if ((task_id >= GKI_MAX_TASKS) || (mbox >= NUM_TASK_MBOX) || in GKI_send_msg()
510 (p_cb->OSRdyTbl[task_id] == TASK_DEAD)) { in GKI_send_msg()
532 if (p_cb->OSTaskQFirst[task_id][mbox]) in GKI_send_msg()
533 p_cb->OSTaskQLast[task_id][mbox]->p_next = p_hdr; in GKI_send_msg()
535 p_cb->OSTaskQFirst[task_id][mbox] = p_hdr; in GKI_send_msg()
[all …]
Dgki_common.h54 uint8_t task_id; /* task which allocated the buffer*/ member
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc349 task_id(kInvalidTaskId), in Task()
356 task_id(kInvalidTaskId), in Task()
361 return std::make_pair(time, task_id) < std::make_pair(another.time, another.task_id); in operator <()
374 AsyncTaskId task_id; member in test_vendor_lib::AsyncManager::AsyncTaskManager::Task
394 task->task_id = lastTaskId_; in scheduleTask()
397 tasks_by_user_id_[task->user_id].insert(task->task_id); in scheduleTask()
409 return task->task_id; in scheduleTask()
412 bool isTaskIdInUse(const AsyncTaskId& task_id) const { in isTaskIdInUse()
413 return tasks_by_id_.count(task_id) != 0; in isTaskIdInUse()
450 tasks_by_user_id_[task_p->user_id].erase(task_p->task_id); in ThreadRoutine()
[all …]
/system/update_engine/common/
Dhttp_fetcher_unittest.cc718 MessageLoop::TaskId task_id = MessageLoop::kTaskIdNull; in TYPED_TEST() local
720 task_id = this->loop_.PostTask( in TYPED_TEST()
721 FROM_HERE, base::Bind(AbortingTimeoutCallback, &delegate, &task_id)); in TYPED_TEST()
727 this->loop_.CancelTask(task_id); in TYPED_TEST()
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dlink_layer_controller.cc1207 void LinkLayerController::CancelScheduledTask(AsyncTaskId task_id) { in CancelScheduledTask() argument
1209 cancel_task_(task_id); in CancelScheduledTask()