Searched defs:timer (Results 1 - 8 of 8) sorted by relevance
/system/bt/osi/src/ |
H A D | non_repeating_timer.c | 51 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 D | alarm.c | 68 static timer_t timer; variable 204 timer_delete(&timer); 226 if (timer_create(CLOCK_ID, &sigevent, &timer) == -1) { 227 LOG_ERROR("%s unable to create timer: %s", __func__, strerror(errno)); 273 // Add it into the timer list sorted by deadline (earliest deadline first). 295 // If used in a zeroed state, disarms the timer 326 if (timer_settime(timer, TIMER_ABSTIME, &wakeup_time, NULL) == -1) 327 LOG_ERROR("%s unable to set timer: %s", __func__, strerror(errno)); 329 // If next expiration was in the past (e.g. short timer that got context switched) 330 // then the timer migh [all...] |
/system/bt/osi/test/ |
H A D | AlarmTestHarness.cpp | 30 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 D | hal.c | 85 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 D | bluedroidtest.c | 506 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 D | bta_hf_client_at.c | 36 /* 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 D | bta_av_int.h | 456 #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 D | bta_dm_int.h | 838 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 500 milliseconds