Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/bta/sys/
Dptim.c43 GKI_init_timer_list(&p_cb->timer_queue); in ptim_init()
83 GKI_update_timer_list(&p_cb->timer_queue, GKI_TICKS_TO_MS(period_in_ticks)); in ptim_timer_update()
88 while((p_cb->timer_queue.p_first) && (p_cb->timer_queue.p_first->ticks <= 0)) in ptim_timer_update()
91 p_tle = p_cb->timer_queue.p_first; in ptim_timer_update()
92 GKI_remove_from_timer_list(&p_cb->timer_queue, p_tle); in ptim_timer_update()
111 if (p_cb->timer_queue.p_first == NULL) in ptim_timer_update()
130 if (p_cb->timer_queue.p_first == NULL) in ptim_start_timer()
136 GKI_remove_from_timer_list(&p_cb->timer_queue, p_tle); in ptim_start_timer()
141 GKI_add_to_timer_list(&p_cb->timer_queue, p_tle); in ptim_start_timer()
155 GKI_remove_from_timer_list (&p_cb->timer_queue, p_tle); in ptim_stop_timer()
[all …]
/external/libnfc-nci/src/nfa/sys/
Dnfa_sys_ptim.c44 GKI_init_timer_list (&p_cb->timer_queue); in nfa_sys_ptim_init()
84 GKI_update_timer_list (&p_cb->timer_queue, GKI_TICKS_TO_MS (period_in_ticks)); in nfa_sys_ptim_timer_update()
89 while ((p_cb->timer_queue.p_first) && (p_cb->timer_queue.p_first->ticks <= 0)) in nfa_sys_ptim_timer_update()
92 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()
113 if (p_cb->timer_queue.p_first == NULL) in nfa_sys_ptim_timer_update()
135 if (p_cb->timer_queue.p_first == NULL) in nfa_sys_ptim_start_timer()
142 GKI_remove_from_timer_list (&p_cb->timer_queue, p_tle); in nfa_sys_ptim_start_timer()
147 GKI_add_to_timer_list (&p_cb->timer_queue, p_tle); in nfa_sys_ptim_start_timer()
163 GKI_remove_from_timer_list (&p_cb->timer_queue, p_tle); in nfa_sys_ptim_stop_timer()
[all …]
/external/libnfc-nci/src/nfc/nfc/
Dnfc_task.c63 if (nfc_cb.timer_queue.p_first == NULL) in nfc_start_timer()
82 GKI_remove_from_timer_list (&nfc_cb.timer_queue, p_tle); in nfc_start_timer()
87 GKI_add_to_timer_list (&nfc_cb.timer_queue, p_tle); in nfc_start_timer()
101 return (GKI_get_remaining_ticks (&nfc_cb.timer_queue, p_tle)); in nfc_remaining_time()
117 GKI_update_timer_list (&nfc_cb.timer_queue, 1); in nfc_process_timer_evt()
119 while ((nfc_cb.timer_queue.p_first) && (!nfc_cb.timer_queue.p_first->ticks)) in nfc_process_timer_evt()
121 p_tle = nfc_cb.timer_queue.p_first; in nfc_process_timer_evt()
122 GKI_remove_from_timer_list (&nfc_cb.timer_queue, p_tle); in nfc_process_timer_evt()
141 if (nfc_cb.timer_queue.p_first == NULL) in nfc_process_timer_evt()
158 GKI_remove_from_timer_list (&nfc_cb.timer_queue, p_tle); in nfc_stop_timer()
[all …]
/external/bluetooth/bluedroid/stack/btu/
Dbtu_task.c345 GKI_update_timer_list (&btu_cb.timer_queue, 1); in btu_task()
347 while ((btu_cb.timer_queue.p_first) && (!btu_cb.timer_queue.p_first->ticks)) in btu_task()
349 p_tle = btu_cb.timer_queue.p_first; in btu_task()
350 GKI_remove_from_timer_list (&btu_cb.timer_queue, p_tle); in btu_task()
493 if (btu_cb.timer_queue.p_first == NULL) in btu_task()
553 if (btu_cb.timer_queue.p_first == NULL) in btu_start_timer()
572 GKI_remove_from_timer_list (&btu_cb.timer_queue, p_tle); in btu_start_timer()
577 GKI_add_to_timer_list (&btu_cb.timer_queue, p_tle); in btu_start_timer()
591 return(GKI_get_remaining_ticks (&btu_cb.timer_queue, p_tle)); in btu_remaining_time()
605 GKI_remove_from_timer_list (&btu_cb.timer_queue, p_tle); in btu_stop_timer()
[all …]
/external/libnfc-nci/src/nfa/int/
Dnfa_sys_ptim.h35 TIMER_LIST_Q timer_queue; /* GKI timer queue */ member
/external/bluetooth/bluedroid/bta/include/
Dptim.h35 TIMER_LIST_Q timer_queue; /* GKI timer queue */ member
/external/bluetooth/bluedroid/stack/include/
Dbtu.h226 TIMER_LIST_Q timer_queue; /* Timer queue for normal BTU task (1 second) */ member
/external/libnfc-nci/src/nfc/int/
Dnfc_int.h171 TIMER_LIST_Q timer_queue; /* 1-sec timer event queue */ member