Searched defs:timer (Results 1 - 8 of 8) sorted by relevance

/system/bt/osi/src/
H A Dnon_repeating_timer.c51 void non_repeating_timer_free(non_repeating_timer_t *timer) { argument
52 if (!timer)
55 alarm_free(timer->alarm);
56 osi_free(timer);
59 void non_repeating_timer_restart(non_repeating_timer_t *timer) { argument
60 non_repeating_timer_restart_if(timer, true);
63 void non_repeating_timer_restart_if(non_repeating_timer_t *timer, bool condition) { argument
64 assert(timer != NULL);
66 alarm_set(timer->alarm, timer
71 non_repeating_timer_cancel(non_repeating_timer_t *timer) argument
[all...]
H A Dalarm.c39 // related timer tasks as well as re-transmissions etc. Since we at this point
75 static timer_t timer; variable
211 timer_delete(&timer);
233 if (timer_create(CLOCK_ID, &sigevent, &timer) == -1) {
234 LOG_ERROR("%s unable to create timer: %s", __func__, strerror(errno));
281 // Add it into the timer list sorted by deadline (earliest deadline first).
303 // If used in a zeroed state, disarms the timer
334 if (timer_settime(timer, TIMER_ABSTIME, &wakeup_time, NULL) == -1)
335 LOG_ERROR("%s unable to set timer: %s", __func__, strerror(errno));
337 // If next expiration was in the past (e.g. short timer tha
[all...]
/system/bt/osi/test/
H A DAlarmTestHarness.cpp30 static timer_t timer; variable
51 timer_create(CLOCK_BOOTTIME, &sigevent, &timer);
56 timer_delete(timer);
68 timer_settime(timer, 0, &wakeup_time, NULL);
/system/bt/test/suite/support/
H A Dhal.c85 timer_t *timer = hash_map_get(timers, cb); local
86 if (!timer) {
87 timer = malloc(sizeof(timer_t));
88 hash_map_set(timers, cb, timer);
95 timer_create(CLOCK_MONOTONIC, &sigevent, timer);
103 timer_settime(*timer, 0, &new_value, NULL);
/system/bt/test/bluedroidtest/
H A Dbluedroidtest.c506 static timer_t timer; local
515 timer_create(CLOCK_MONOTONIC, &sigevent, &timer);
524 timer_settime(timer, 0, &new_value, NULL);
/system/bt/bta/hf_client/
H A Dbta_hf_client_at.c36 /* timeout for AT hold timer */
247 TIMER_LIST_ENT *timer = &bta_hf_client_cb.scb.at_cb.hold_timer; local
253 bta_sys_stop_timer (timer);
256 timer->p_cback = (TIMER_CBACK*)&bta_hf_client_at_hold_timer_cback;
257 bta_sys_start_timer(timer, 0, BTA_HF_CLIENT_AT_HOLD_TIMEOUT);
/system/bt/bta/av/
H A Dbta_av_int.h456 #define BTA_AV_WAIT_CHECK_RC 0x40 /* set when the timer is used by role switch */
463 #define BTA_AV_COLL_API_CALLED 0x02 /* API open was called while incoming timer is running */
477 TIMER_LIST_ENT timer; /* delay timer for AVRC CT */ member in struct:__anon62
564 TIMER_LIST_ENT sig_tmr; /* link timer */
565 TIMER_LIST_ENT acp_sig_tmr; /* timer to monitor signalling when accepting */
/system/bt/bta/dm/
H A Dbta_dm_int.h838 TIMER_LIST_ENT timer[BTA_DM_PM_MODE_TIMER_MAX]; member in struct:__anon135
842 UINT8 active; /* number of active timer */
948 TIMER_LIST_ENT gatt_close_timer; /* GATT channel close delay timer */

Completed in 2683 milliseconds