Searched refs:timer (Results 1 - 25 of 35) sorted by relevance

12

/system/core/liblog/tests/
H A Dlog_wrap_test.cpp73 android::base::Timer timer; local
117 EXPECT_GT(timer.duration(), std::chrono::seconds(40));
/system/nfc/src/nfa/int/
H A Dnfa_sys.h80 uint8_t timer; /* GKI timer id */ member in struct:__anon2323
H A Dnfa_snep_int.h177 TIMER_LIST_ENT timer; /* timer for client */ member in struct:__anon2317
H A Dnfa_ee_int.h416 TIMER_LIST_ENT timer; /* timer to send info to NFCC */ member in struct:__anon2236
417 TIMER_LIST_ENT discv_timer; /* timer to end NFCEE discovery */
/system/bt/osi/src/
H A Dalarm.cc56 // Callback and timer threads should run at RT priority in order to ensure they
57 // meet audio deadlines. Use this priority for all audio/timer related thread.
129 static timer_t timer; variable
155 static bool timer_create_internal(const clockid_t clock_id, timer_t* timer);
303 timer_delete(timer);
315 // the |timer| variable is valid ourselves.
327 if (!timer_create_internal(CLOCK_ID, &timer)) goto error;
382 if (timer_initialized) timer_delete(timer);
434 // Add it into the timer list sorted by deadline (earliest deadline first).
466 // If used in a zeroed state, disarms the timer
659 timer_create_internal(const clockid_t clock_id, timer_t* timer) argument
[all...]
/system/nfc/src/nfa/hci/
H A Dnfa_hci_main.c119 nfa_sys_stop_timer(&nfa_hci_cb.timer);
124 nfa_sys_start_timer(&nfa_hci_cb.timer, NFA_HCI_RSP_TIMEOUT_EVT,
149 nfa_sys_stop_timer(&nfa_hci_cb.timer);
433 nfa_sys_stop_timer(&nfa_hci_cb.timer);
454 nfa_sys_start_timer(&nfa_hci_cb.timer, NFA_HCI_RSP_TIMEOUT_EVT,
460 nfa_sys_start_timer(&nfa_hci_cb.timer, NFA_HCI_RSP_TIMEOUT_EVT,
468 nfa_sys_start_timer(&nfa_hci_cb.timer, NFA_HCI_RSP_TIMEOUT_EVT,
490 nfa_sys_stop_timer(&nfa_hci_cb.timer);
551 nfa_sys_start_timer(&nfa_hci_cb.timer, NFA_HCI_RSP_TIMEOUT_EVT,
587 nfa_sys_start_timer(&nfa_hci_cb.timer, NFA_HCI_RSP_TIMEOUT_EV
[all...]
H A Dnfa_hci_act.c334 nfa_sys_stop_timer(&nfa_hci_cb.timer);
515 nfa_sys_stop_timer(&nfa_hci_cb.timer);
997 nfa_sys_start_timer(&nfa_hci_cb.timer, NFA_HCI_RSP_TIMEOUT_EVT,
1000 nfa_sys_start_timer(&nfa_hci_cb.timer, NFA_HCI_RSP_TIMEOUT_EVT,
1006 nfa_sys_start_timer(&nfa_hci_cb.timer, NFA_HCI_RSP_TIMEOUT_EVT,
1626 nfa_sys_stop_timer(&nfa_hci_cb.timer);
1629 nfa_sys_start_timer(&nfa_hci_cb.timer, NFA_HCI_RSP_TIMEOUT_EVT,
/system/nfc/src/nfa/sys/
H A Dnfa_sys_main.c31 /* protocol timer update period, in milliseconds */
55 p_nfa_sys_cfg->timer);
94 ** Description Update the BTA timer list and handle expired timers.
185 /* DM (the final sub-system) is deregistering. Clear pending timer events in
188 p_nfa_sys_cfg->timer);
329 ** Description Start a protocol timer for the specified amount
344 ** Description Stop a BTA timer.
357 ** Description Disable sys timer event handling
/system/nfc/src/nfc/int/
H A Dce_int.h93 TIMER_LIST_ENT timer; /* timeout for update file */ member in struct:__anon2412
H A Drw_int.h193 TIMER_LIST_ENT timer; /* timer to set timelimit for the response to command */ member in struct:__anon2435
523 TIMER_LIST_ENT timer; /* timeout for waiting for response */ member in struct:__anon2441
583 TIMER_LIST_ENT timer; /* timeout for each API call */ member in struct:__anon2444
669 TIMER_LIST_ENT timer; /* timeout for each sent command */ member in struct:__anon2447
H A Dllcp_int.h78 TIMER_LIST_ENT timer; /* link timer for LTO and SYMM response */ member in struct:__anon2416
84 TIMER_LIST_ENT inact_timer; /* inactivity timer */
173 TIMER_LIST_ENT timer; /* timer for connection complete */ member in struct:__anon2420
/system/nfc/halimpl/bcm2079x/hal/hal/
H A Dnfc_hal_prm.c668 /* Stop the command-timeout timer */
669 nfc_hal_main_stop_quick_timer(&nfc_hal_cb.prm.timer);
700 &nfc_hal_cb.prm.timer, 0x00,
749 &nfc_hal_cb.prm.timer, 0x00,
789 &nfc_hal_cb.prm.timer, 0x00,
887 nfc_hal_main_stop_quick_timer(&nfc_hal_cb.prm.timer);
899 nfc_hal_main_stop_quick_timer(&nfc_hal_cb.prm.timer);
930 ** Description Process timer expireation for patch download
1022 nfc_hal_cb.prm.timer.p_cback = nfc_hal_prm_process_timeout;
H A Dnfc_hal_main.c84 nfc_hal_cb.timer.p_cback = nfc_hal_main_timeout_cback;
123 &nfc_hal_cb.timer, NFC_HAL_TTYPE_NFCC_ENABLE,
308 "nfc_hal_main_timeout_cback: unhandled timer event (0x%04x)",
357 ** Description Start a timer for the specified amount of time.
370 /* if timer list is currently empty, start periodic GKI timer */
372 /* if timer starts on other than NCIT task (script wrapper) */
374 /* post event to start timer in NCIT task */
390 p_tle->ticks = timeout; /* Save the number of ticks for the timer */
399 ** Description Stop a timer
[all...]
H A Dnfc_hal_dm.c629 nfc_hal_main_stop_quick_timer(&nfc_hal_cb.timer);
654 /* start timer in case that NFCC doesn't send RESET NTF after loading
659 &nfc_hal_cb.timer, NFC_HAL_TTYPE_NFCC_ENABLE,
869 /* start NFC command-timeout timer */
918 /* start NFC command-timeout timer */
1022 ** Deassert NFC_WAKE when idle timer expires
1037 /* if idle timer is not running */
1042 /* start or extend idle timer */
1136 nfc_hal_main_stop_quick_timer(&nfc_hal_cb.prm.timer);
1141 nfc_hal_main_stop_quick_timer(&nfc_hal_cb.timer);
[all...]
/system/nfc/src/nfc/llcp/
H A Dllcp_main.c131 nfc_stop_quick_timer(&llcp_cb.lcb.timer);
H A Dllcp_link.c91 ** Description This function start LLCP link inactivity timer.
112 ** Description This function stop LLCP link inactivity timer.
129 ** Description This function starts LLCP link timer (LTO or delay response)
138 &llcp_cb.lcb.timer, NFC_TTYPE_LLCP_LINK_MANAGER,
144 &llcp_cb.lcb.timer, NFC_TTYPE_LLCP_LINK_MANAGER,
153 ** Description This function stop LLCP link timer (LTO or delay response).
159 nfc_stop_quick_timer(&llcp_cb.lcb.timer);
279 nfc_start_quick_timer(&llcp_cb.lcb.timer, NFC_TTYPE_LLCP_DELAY_FIRST_PDU,
334 /* stop inactivity timer */
363 /* start inactivity timer */
[all...]
H A Dllcp_dlc.c134 nfc_start_quick_timer(&p_dlcb->timer, NFC_TTYPE_LLCP_DATA_LINK,
170 nfc_start_quick_timer(&p_dlcb->timer, NFC_TTYPE_LLCP_DATA_LINK,
209 nfc_stop_quick_timer(&p_dlcb->timer);
253 /* stop timer, flush any pending data in queue and deallocate control
304 nfc_stop_quick_timer(&p_dlcb->timer);
342 /* stop timer, flush any pending data in queue and deallocate control
403 nfc_start_quick_timer(&p_dlcb->timer, NFC_TTYPE_LLCP_DATA_LINK,
H A Dllcp_util.c340 p_dlcb->timer.param = (uintptr_t)p_dlcb;
342 /* this is for inactivity timer and congestion control. */
369 nfc_stop_quick_timer(&p_dlcb->timer);
/system/nfc/src/nfc/tags/
H A Drw_t1t.c144 /* Stop timer as some response to current command is received */
145 nfc_stop_quick_timer(&p_t1t->timer);
161 /* Stop timer as response to current command is received */
162 nfc_stop_quick_timer(&p_t1t->timer);
252 /* Stop t1t timer (if started) */
253 nfc_stop_quick_timer(&p_t1t->timer);
296 nfc_stop_quick_timer(&p_t1t->timer);
363 &p_t1t->timer, NFC_TTYPE_RW_T1T_RESPONSE,
428 &p_t1t->timer, NFC_TTYPE_RW_T1T_RESPONSE,
609 /* Start timer fo
[all...]
H A Drw_t3t.c270 /* Start timer for waiting for response */
271 nfc_start_quick_timer(&p_cb->timer, NFC_TTYPE_RW_T3T_RESPONSE,
316 ** Description Start the timer for T3T POLL Command
341 /* stop timer for poll response */
344 /* Stop t3t timer (if started) */
478 /* Check which timer timed out */
479 if (p_tle == &p_cb->timer) {
614 ** Description Send command to tag, and start timer for response
635 /* Start timer for waiting for response */
636 nfc_start_quick_timer(&p_cb->timer, NFC_TTYPE_RW_T3T_RESPONS
[all...]
/system/nfc/src/hal/int/
H A Dnfc_hal_int.h322 TIMER_LIST_ENT timer; /* Timer for patch download */ member in struct:__anon2040
395 TIMER_LIST_ENT lp_timer; /* timer for low power mode */
433 TIMER_LIST_Q quick_timer_queue; /* timer list queue */
434 TIMER_LIST_ENT timer; /* timer for NCI transport task */ member in struct:__anon2046
/system/nfc/src/nfa/ee/
H A Dnfa_ee_main.c253 nfa_sys_stop_timer(&nfa_ee_cb.timer);
480 nfa_sys_stop_timer(&nfa_ee_cb.timer);
/system/bt/bta/dm/
H A Dbta_dm_pm.cc92 /* Need to initialize all PM timer service IDs */
149 * Description stop a PM timer
164 * TODO: For now, stopping the timer does not reset
183 * Description convert power mode into timer index for each connected
187 * Returns index of the power mode delay timer
206 * Description stop a PM timer
239 * Description stop all timer started by the service ID.
242 * Returns index of the power mode delay timer
265 * Description start a PM timer
286 alarm_set_on_mloop(p_timer->timer[timer_id
[all...]
/system/core/init/
H A Dproperty_service.cpp354 Timer timer; local
356 uint64_t millis = timer.duration().count();
/system/bt/tools/mcap_tool/
H A Dmcap_tool.cc509 static timer_t timer; local
518 timer_create(CLOCK_MONOTONIC, &sigevent, &timer);
527 timer_settime(timer, 0, &new_value, nullptr);

Completed in 358 milliseconds

12