/system/nfc/src/nfc/nfc/ |
D | nfc_task.cc | 60 void nfc_start_timer(TIMER_LIST_ENT* p_tle, uint16_t type, uint32_t timeout) { in nfc_start_timer() argument 79 GKI_remove_from_timer_list(&nfc_cb.timer_queue, p_tle); in nfc_start_timer() 81 p_tle->event = type; in nfc_start_timer() 82 p_tle->ticks = timeout; /* Save the number of seconds for the timer */ in nfc_start_timer() 84 GKI_add_to_timer_list(&nfc_cb.timer_queue, p_tle); in nfc_start_timer() 96 uint32_t nfc_remaining_time(TIMER_LIST_ENT* p_tle) { in nfc_remaining_time() argument 97 return (GKI_get_remaining_ticks(&nfc_cb.timer_queue, p_tle)); in nfc_remaining_time() 110 TIMER_LIST_ENT* p_tle; in nfc_process_timer_evt() local 115 p_tle = nfc_cb.timer_queue.p_first; in nfc_process_timer_evt() 116 GKI_remove_from_timer_list(&nfc_cb.timer_queue, p_tle); in nfc_process_timer_evt() [all …]
|
/system/nfc/src/gki/common/ |
D | gki_time.cc | 608 void GKI_init_timer_list_entry(TIMER_LIST_ENT* p_tle) { in GKI_init_timer_list_entry() argument 609 p_tle->p_next = nullptr; in GKI_init_timer_list_entry() 610 p_tle->p_prev = nullptr; in GKI_init_timer_list_entry() 611 p_tle->ticks = GKI_UNUSED_LIST_ENTRY; in GKI_init_timer_list_entry() 612 p_tle->in_use = false; in GKI_init_timer_list_entry() 638 TIMER_LIST_ENT* p_tle; in GKI_update_timer_list() local 643 p_tle = p_timer_listq->p_first; in GKI_update_timer_list() 647 while ((p_tle) && (p_tle->ticks <= 0)) { in GKI_update_timer_list() 649 p_tle = p_tle->p_next; in GKI_update_timer_list() 656 while ((p_tle != nullptr) && (rem_ticks > 0)) { in GKI_update_timer_list() [all …]
|
D | gki.h | 298 typedef void(TIMER_CBACK)(TIMER_LIST_ENT* p_tle);
|
/system/nfc/src/nfa/sys/ |
D | nfa_sys_ptim.cc | 63 TIMER_LIST_ENT* p_tle; in nfa_sys_ptim_timer_update() local 91 p_tle = p_cb->timer_queue.p_first; in nfa_sys_ptim_timer_update() 93 << StringPrintf("nfa_sys_ptim_timer_update expired: %p", p_tle); in nfa_sys_ptim_timer_update() 94 GKI_remove_from_timer_list(&p_cb->timer_queue, p_tle); in nfa_sys_ptim_timer_update() 97 if (p_tle->p_cback) { in nfa_sys_ptim_timer_update() 98 (*p_tle->p_cback)(p_tle); in nfa_sys_ptim_timer_update() 99 } else if (p_tle->event) { in nfa_sys_ptim_timer_update() 102 p_msg->event = p_tle->event; in nfa_sys_ptim_timer_update() 126 void nfa_sys_ptim_start_timer(tPTIM_CB* p_cb, TIMER_LIST_ENT* p_tle, in nfa_sys_ptim_start_timer() argument 129 << StringPrintf("nfa_sys_ptim_start_timer %p", p_tle); in nfa_sys_ptim_start_timer() [all …]
|
D | nfa_sys_main.cc | 343 void nfa_sys_start_timer(TIMER_LIST_ENT* p_tle, uint16_t type, in nfa_sys_start_timer() argument 345 nfa_sys_ptim_start_timer(&nfa_sys_cb.ptim_cb, p_tle, type, timeout); in nfa_sys_start_timer() 357 void nfa_sys_stop_timer(TIMER_LIST_ENT* p_tle) { in nfa_sys_stop_timer() argument 358 nfa_sys_ptim_stop_timer(&nfa_sys_cb.ptim_cb, p_tle); in nfa_sys_stop_timer()
|
/system/nfc/src/nfc/llcp/ |
D | llcp_main.cc | 148 void llcp_process_timeout(TIMER_LIST_ENT* p_tle) { in llcp_process_timeout() argument 152 << StringPrintf("llcp_process_timeout: event=%d", p_tle->event); in llcp_process_timeout() 154 switch (p_tle->event) { in llcp_process_timeout() 167 llcp_dlsm_execute((tLLCP_DLCB*)(p_tle->param), LLCP_DLC_EVENT_TIMEOUT, in llcp_process_timeout()
|
/system/nfc/src/nfa/include/ |
D | nfa_sys_ptim.h | 77 extern void nfa_sys_ptim_start_timer(tPTIM_CB* p_cb, TIMER_LIST_ENT* p_tle, 89 extern void nfa_sys_ptim_stop_timer(tPTIM_CB* p_cb, TIMER_LIST_ENT* p_tle);
|
D | nfa_sys.h | 111 extern void nfa_sys_start_timer(TIMER_LIST_ENT* p_tle, uint16_t type, 113 extern void nfa_sys_stop_timer(TIMER_LIST_ENT* p_tle);
|
/system/nfc/src/nfc/include/ |
D | nfc_int.h | 313 void nfc_start_timer(TIMER_LIST_ENT* p_tle, uint16_t type, uint32_t timeout); 314 uint32_t nfc_remaining_time(TIMER_LIST_ENT* p_tle); 315 void nfc_stop_timer(TIMER_LIST_ENT* p_tle); 317 void nfc_start_quick_timer(TIMER_LIST_ENT* p_tle, uint16_t type, 319 void nfc_stop_quick_timer(TIMER_LIST_ENT* p_tle);
|
D | rw_int.h | 778 extern void rw_t1t_process_timeout(TIMER_LIST_ENT* p_tle); 796 extern void rw_t3t_process_timeout(TIMER_LIST_ENT* p_tle); 804 extern void rw_t4t_process_timeout(TIMER_LIST_ENT* p_tle); 807 extern void rw_i93_process_timeout(TIMER_LIST_ENT* p_tle); 811 extern void rw_mfc_process_timeout(TIMER_LIST_ENT* p_tle);
|
D | ce_int.h | 166 extern void ce_t4t_process_timeout(TIMER_LIST_ENT* p_tle);
|
D | llcp_int.h | 296 void llcp_process_timeout(TIMER_LIST_ENT* p_tle);
|
/system/nfc/src/nfc/tags/ |
D | ce_t4t.cc | 519 void ce_t4t_process_timeout(TIMER_LIST_ENT* p_tle) { in ce_t4t_process_timeout() argument 523 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("event=%d", p_tle->event); in ce_t4t_process_timeout() 525 if (p_tle->event == NFC_TTYPE_CE_T4T_UPDATE) { in ce_t4t_process_timeout() 535 LOG(ERROR) << StringPrintf("unknown event=%d", p_tle->event); in ce_t4t_process_timeout()
|
D | rw_mfc.cc | 613 void rw_mfc_process_timeout(TIMER_LIST_ENT* p_tle) { in rw_mfc_process_timeout() argument 614 DLOG_IF(INFO, nfc_debug_enabled) << __func__ << " event=" << p_tle->event; in rw_mfc_process_timeout() 616 if (p_tle->event == NFC_TTYPE_RW_MFC_RESPONSE) { in rw_mfc_process_timeout() 619 LOG(ERROR) << __func__ << " unknown event=" << p_tle->event; in rw_mfc_process_timeout()
|
D | rw_t4t.cc | 1711 void rw_t4t_process_timeout(TIMER_LIST_ENT* p_tle) { in rw_t4t_process_timeout() argument 1712 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("event=%d", p_tle->event); in rw_t4t_process_timeout() 1714 if (p_tle->event == NFC_TTYPE_RW_T4T_RESPONSE) { in rw_t4t_process_timeout() 1717 LOG(ERROR) << StringPrintf("unknown event=%d", p_tle->event); in rw_t4t_process_timeout()
|
D | rw_i93.cc | 3001 void rw_i93_process_timeout(TIMER_LIST_ENT* p_tle) { in rw_i93_process_timeout() argument 3004 DLOG_IF(INFO, nfc_debug_enabled) << StringPrintf("event=%d", p_tle->event); in rw_i93_process_timeout() 3006 if (p_tle->event == NFC_TTYPE_RW_I93_RESPONSE) { in rw_i93_process_timeout() 3029 LOG(ERROR) << StringPrintf("unknown event=%d", p_tle->event); in rw_i93_process_timeout()
|
D | rw_t1t.cc | 528 void rw_t1t_process_timeout(__attribute__((unused)) TIMER_LIST_ENT* p_tle) { in rw_t1t_process_timeout() argument
|
D | rw_t3t.cc | 471 void rw_t3t_process_timeout(TIMER_LIST_ENT* p_tle) { in rw_t3t_process_timeout() argument 476 if (p_tle == &p_cb->timer) { in rw_t3t_process_timeout()
|
/system/nfc/src/nfa/p2p/ |
D | nfa_p2p_main.cc | 170 TIMER_LIST_ENT* p_tle) { in nfa_p2p_update_active_listen_timeout_cback() argument
|
/system/nfc/src/nfa/dm/ |
D | nfa_dm_discover.cc | 64 static void nfa_dm_disc_kovio_timeout_cback(TIMER_LIST_ENT* p_tle); 820 TIMER_LIST_ENT* p_tle) { in nfa_dm_disc_deact_ntf_timeout_cback() argument 1560 TIMER_LIST_ENT* p_tle) { in nfa_dm_disc_kovio_timeout_cback() argument
|