Home
last modified time | relevance | path

Searched refs:alarm_t (Results 1 – 10 of 10) sorted by relevance

/system/bt/osi/include/
Dalarm.h23 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/
Dalarm.c45 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 …]
Dnon_repeating_timer.c26 alarm_t *alarm;
/system/bt/osi/test/
Dalarm_test.cpp59 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/
Dbtu_task.c462 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/
Dbta_sys_main.c635 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/
Dlow_power_manager.c72 static alarm_t *idle_alarm;
/system/bt/doc/
Dstyle_guide.md212 typedef struct alarm_t alarm_t;
224 void template_use_alarm(alarm_t *alarm);
/system/bt/btif/src/
Dbtif_config.c91 static alarm_t *alarm_timer;
Dbtif_media_task.c244 alarm_t *media_alarm;
245 alarm_t *decode_alarm;