Home
last modified time | relevance | path

Searched refs:task_id (Results 1 – 6 of 6) 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()
184 uint8_t GKI_create_task(TASKPTR task_entry, uint8_t task_id, int8_t* taskname, in GKI_create_task() argument
196 task_entry, task_id, taskname, stack, stacksize); in GKI_create_task()
198 if (task_id >= GKI_MAX_TASKS) { in GKI_create_task()
204 gki_cb.com.OSRdyTbl[task_id] = TASK_READY; in GKI_create_task()
205 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.cc323 : time(time), periodic(true), period(period), callback(callback), task_id(kInvalidTaskId) {} in Task()
325 : time(time), periodic(false), callback(callback), task_id(kInvalidTaskId) {} in Task()
329 return std::make_pair(time, task_id) < std::make_pair(another.time, another.task_id); in operator <()
342 AsyncTaskId task_id; member in test_vendor_lib::AsyncManager::AsyncTaskManager::Task
356 AsyncTaskId task_id = kInvalidTaskId; in scheduleTask() local
365 task->task_id = lastTaskId_; in scheduleTask()
369 task_id = lastTaskId_; in scheduleTask()
380 return task_id; in scheduleTask()
383 bool isTaskIdInUse(const AsyncTaskId& task_id) const { in isTaskIdInUse()
384 return tasks_by_id.count(task_id) != 0; in isTaskIdInUse()
[all …]
/system/update_engine/common/
Dhttp_fetcher_unittest.cc717 MessageLoop::TaskId task_id = MessageLoop::kTaskIdNull; in TYPED_TEST() local
719 task_id = this->loop_.PostTask( in TYPED_TEST()
720 FROM_HERE, base::Bind(AbortingTimeoutCallback, &delegate, &task_id)); in TYPED_TEST()
726 this->loop_.CancelTask(task_id); in TYPED_TEST()