Home
last modified time | relevance | path

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

/system/nfc/src/nfa/sys/
Dnfa_sys_ptim.cc46 GKI_init_timer_list(&p_cb->timer_queue); in nfa_sys_ptim_init()
83 GKI_update_timer_list(&p_cb->timer_queue, GKI_TICKS_TO_MS(period_in_ticks)); in nfa_sys_ptim_timer_update()
88 while ((p_cb->timer_queue.p_first) && in nfa_sys_ptim_timer_update()
89 (p_cb->timer_queue.p_first->ticks <= 0)) { in nfa_sys_ptim_timer_update()
91 p_tle = p_cb->timer_queue.p_first; in nfa_sys_ptim_timer_update()
94 GKI_remove_from_timer_list(&p_cb->timer_queue, p_tle); in nfa_sys_ptim_timer_update()
110 if (p_cb->timer_queue.p_first == nullptr) { in nfa_sys_ptim_timer_update()
132 if (p_cb->timer_queue.p_first == nullptr) { in nfa_sys_ptim_start_timer()
138 GKI_remove_from_timer_list(&p_cb->timer_queue, p_tle); in nfa_sys_ptim_start_timer()
143 GKI_add_to_timer_list(&p_cb->timer_queue, p_tle); in nfa_sys_ptim_start_timer()
[all …]
/system/nfc/src/nfc/nfc/
Dnfc_task.cc64 if (nfc_cb.timer_queue.p_first == nullptr) { in nfc_start_timer()
79 GKI_remove_from_timer_list(&nfc_cb.timer_queue, p_tle); in nfc_start_timer()
84 GKI_add_to_timer_list(&nfc_cb.timer_queue, p_tle); in nfc_start_timer()
97 return (GKI_get_remaining_ticks(&nfc_cb.timer_queue, p_tle)); in nfc_remaining_time()
112 GKI_update_timer_list(&nfc_cb.timer_queue, 1); in nfc_process_timer_evt()
114 while ((nfc_cb.timer_queue.p_first) && (!nfc_cb.timer_queue.p_first->ticks)) { in nfc_process_timer_evt()
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()
140 if (nfc_cb.timer_queue.p_first == nullptr) { in nfc_process_timer_evt()
155 GKI_remove_from_timer_list(&nfc_cb.timer_queue, p_tle); in nfc_stop_timer()
[all …]
/system/nfc/src/nfa/include/
Dnfa_sys_ptim.h34 TIMER_LIST_Q timer_queue; /* GKI timer queue */ member
/system/nfc/src/nfc/include/
Dnfc_int.h193 TIMER_LIST_Q timer_queue; /* 1-sec timer event queue */ member