Searched refs:alarm_t (Results 1 – 10 of 10) sorted by relevance
/system/bt/osi/include/ |
D | alarm.h | 23 typedef struct alarm_t alarm_t; typedef 31 alarm_t *alarm_new(void); 36 void alarm_free(alarm_t *alarm); 43 void alarm_set(alarm_t *alarm, period_ms_t deadline, alarm_callback_t cb, void *data); 47 void alarm_set_periodic(alarm_t *alarm, period_ms_t period, alarm_callback_t cb, void *data); 53 void alarm_cancel(alarm_t *alarm); 58 period_ms_t alarm_get_remaining_ms(const alarm_t *alarm);
|
/system/bt/osi/src/ |
D | alarm.c | 45 struct alarm_t { struct 85 static void alarm_set_internal(alarm_t *alarm, period_ms_t deadline, alarm_callback_t cb, void *dat… 86 static void schedule_next_instance(alarm_t *alarm, bool force_reschedule); 91 alarm_t *alarm_new(void) { in alarm_new() 99 alarm_t *ret = osi_calloc(sizeof(alarm_t)); in alarm_new() 128 void alarm_free(alarm_t *alarm) { in alarm_free() 137 period_ms_t alarm_get_remaining_ms(const alarm_t *alarm) { in alarm_get_remaining_ms() 149 void alarm_set(alarm_t *alarm, period_ms_t deadline, alarm_callback_t cb, void *data) { in alarm_set() 153 void alarm_set_periodic(alarm_t *alarm, period_ms_t period, alarm_callback_t cb, void *data) { in alarm_set_periodic() 158 static void alarm_set_internal(alarm_t *alarm, period_ms_t period, alarm_callback_t cb, void *data,… in alarm_set_internal() [all …]
|
D | non_repeating_timer.c | 26 alarm_t *alarm;
|
/system/bt/osi/test/ |
D | alarm_test.cpp | 59 alarm_t *alarm = alarm_new(); in TEST_F() 69 alarm_t *alarm = alarm_new(); in TEST_F() 75 alarm_t *alarm = alarm_new(); in TEST_F() 87 alarm_t *alarm = alarm_new(); in TEST_F() 96 alarm_t *alarm = alarm_new(); in TEST_F() 111 alarm_t *alarm = alarm_new(); in TEST_F() 126 alarm_t *alarm[2] = { in TEST_F() 152 alarm_t *alarm[2] = { in TEST_F() 178 alarm_t *alarm[2] = { in TEST_F() 206 alarm_t *alarm = alarm_new(); in TEST_F()
|
/system/bt/stack/btu/ |
D | btu_task.c | 462 alarm_t *alarm = hash_map_get(btu_general_alarm_hash_map, p_tle); in btu_start_timer() 493 alarm_t *alarm = hash_map_get(btu_general_alarm_hash_map, p_tle); in btu_stop_timer() 542 alarm_t *alarm = hash_map_get(btu_l2cap_alarm_hash_map, p_tle); in btu_start_quick_timer() 573 alarm_t *alarm = hash_map_get(btu_l2cap_alarm_hash_map, p_tle); in btu_stop_quick_timer() 604 alarm_t *alarm = hash_map_get(btu_oneshot_alarm_hash_map, p_tle); in btu_start_timer_oneshot() 626 alarm_t *alarm = hash_map_get(btu_oneshot_alarm_hash_map, p_tle); in btu_stop_timer_oneshot()
|
/system/bt/bta/sys/ |
D | bta_sys_main.c | 635 alarm_t *alarm = hash_map_get(bta_alarm_hash_map, p_tle); in bta_sys_start_timer() 648 alarm_t *alarm = (alarm_t *)hash_map_entry->data; in hash_iter_ro_cb() 677 alarm_t *alarm = hash_map_get(bta_alarm_hash_map, p_tle); in bta_sys_stop_timer()
|
/system/bt/hci/src/ |
D | low_power_manager.c | 72 static alarm_t *idle_alarm;
|
/system/bt/doc/ |
D | style_guide.md | 212 typedef struct alarm_t alarm_t; 224 void template_use_alarm(alarm_t *alarm);
|
/system/bt/btif/src/ |
D | btif_config.c | 91 static alarm_t *alarm_timer;
|
D | btif_media_task.c | 244 alarm_t *media_alarm; 245 alarm_t *decode_alarm;
|