Home
last modified time | relevance | path

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

12

/system/bt/osi/include/
Dalarm.h24 typedef struct alarm_t alarm_t; typedef
39 alarm_t *alarm_new(const char *name);
48 alarm_t *alarm_new_periodic(const char *name);
54 void alarm_free(alarm_t *alarm);
74 void alarm_set(alarm_t *alarm, period_ms_t interval_ms,
84 void alarm_set_on_queue(alarm_t *alarm, period_ms_t interval_ms,
93 void alarm_cancel(alarm_t *alarm);
97 bool alarm_is_scheduled(const alarm_t *alarm);
111 period_ms_t alarm_get_remaining_ms(const alarm_t *alarm);
/system/bt/osi/src/
Dalarm.c72 struct alarm_t { struct
123 static alarm_t *alarm_new_internal(const char *name, bool is_periodic);
126 static void alarm_set_internal(alarm_t *alarm, period_ms_t period,
129 static void alarm_cancel_internal(alarm_t *alarm);
130 static void remove_pending_alarm(alarm_t *alarm);
131 static void schedule_next_instance(alarm_t *alarm);
150 alarm_t *alarm_new(const char *name) { in alarm_new()
154 alarm_t *alarm_new_periodic(const char *name) { in alarm_new_periodic()
158 static alarm_t *alarm_new_internal(const char *name, bool is_periodic) { in alarm_new_internal()
168 alarm_t *ret = osi_calloc(sizeof(alarm_t)); in alarm_new_internal()
[all …]
/system/bt/osi/test/
Dalarm_test.cpp71 alarm_t *alarm = alarm_new("alarm_test.test_new_free_simple"); in TEST_F()
81 alarm_t *alarm = alarm_new("alarm_test.test_simple_cancel"); in TEST_F()
87 alarm_t *alarm = alarm_new("alarm_test.test_cancel"); in TEST_F()
99 alarm_t *alarm = alarm_new("alarm_test.test_cancel_idempotent"); in TEST_F()
108 alarm_t *alarm = alarm_new("alarm_test.test_set_short"); in TEST_F()
124 alarm_t *alarm = alarm_new_periodic("alarm_test.test_set_short_periodic"); in TEST_F()
144 alarm_t *alarm = alarm_new_periodic("alarm_test.test_set_zero_periodic"); in TEST_F()
163 alarm_t *alarm = alarm_new("alarm_test.test_set_long"); in TEST_F()
178 alarm_t *alarm[2] = { in TEST_F()
204 alarm_t *alarm[2] = { in TEST_F()
[all …]
/system/bt/bta/hf_client/
Dbta_hf_client_at.h99 alarm_t *resp_timer; /* AT response timer */
100 alarm_t *hold_timer; /* AT hold timer */
Dbta_hf_client_int.h163 alarm_t *collision_timer; /* Collision timer */
/system/bt/stack/hid/
Dhid_conn.h60 alarm_t *process_repage_timer;
/system/bt/stack/btm/
Dbtm_int.h135 alarm_t *read_local_name_timer; /* Read local name timer */
138 alarm_t *read_rssi_timer; /* Read RSSI timer */
141 alarm_t *read_link_quality_timer;
145 alarm_t *read_inq_tx_power_timer;
149 alarm_t *qos_setup_timer; /* QoS setup timer */
157 alarm_t *read_tx_power_timer; /* Read tx power timer */
248 alarm_t *remote_name_timer;
850 alarm_t *sec_collision_timer;
866 alarm_t *pairing_timer; /* Timer for pairing process */
Dbtm_ble_int.h153 alarm_t *fast_adv_timer;
164 alarm_t *inquiry_timer;
185 alarm_t *refresh_raddr_timer;
310 alarm_t *observer_timer;
/system/bt/stack/rfcomm/
Dport_int.h95 alarm_t *mcb_timer; /* MCB timer */
138 alarm_t *port_timer;
/system/bt/stack/l2cap/
Dl2c_int.h189 alarm_t *ack_timer; /* Timer delaying RR */
190 alarm_t *mon_retrans_timer; /* Timer Monitor or Retransmission */
289 alarm_t *l2c_ccb_timer; /* CCB Timer Entry */
382 alarm_t *l2c_lcb_timer; /* Timer entry for timeout evt */
388 alarm_t *info_resp_timer; /* Timer entry for info resp timeout evt */
481 alarm_t *receive_hold_timer; /* Timer entry for rcv hold */
/system/bt/btif/include/
Dbtif_hh.h70 alarm_t *vup_timer;
Dbtif_gatt_multi_adv_util.h59 alarm_t *multi_adv_timer;
Dbtif_hl.h218 alarm_t *cch_timer;
/system/bt/bta/ag/
Dbta_ag_int.h289 alarm_t *collision_timer;
290 alarm_t *ring_timer;
292 alarm_t *codec_negotiation_timer;
/system/bt/bta/dm/
Dbta_dm_int.h836 alarm_t * timer[BTA_DM_PM_MODE_TIMER_MAX];
866 alarm_t *disable_timer;
901 alarm_t *switch_delay_timer;
919 alarm_t * search_timer;
941 alarm_t * gatt_close_timer; /* GATT channel close delay timer */
/system/bt/stack/avdt/
Davdt_int.h431 alarm_t *idle_ccb_timer; /* Idle CCB timer entry */
432 alarm_t *ret_ccb_timer; /* Ret CCB timer entry */
433 alarm_t *rsp_ccb_timer; /* Rsp CCB timer entry */
491 alarm_t *transport_channel_timer; /* transport channel connect timer */
/system/bt/hci/src/
Dlow_power_manager.c73 static alarm_t *idle_alarm;
Dhci_layer.c124 static alarm_t *epilog_timer;
125 static alarm_t *startup_timer;
133 static alarm_t *command_response_timer;
/system/bt/bta/av/
Dbta_av_int.h489 alarm_t *avrc_ct_timer; /* delay timer for AVRC CT */
578 alarm_t *link_signalling_timer;
579 alarm_t *accept_signalling_timer; /* timer to monitor signalling when accepting */
/system/bt/stack/gatt/
Dgatt_int.h371 alarm_t *conf_timer; /* peer confirm to indication timer */
377 alarm_t *ind_ack_timer; /* local app confirm to indication timer */
413 alarm_t *gatt_rsp_timer_ent; /* peer response timer */
/system/bt/stack/bnep/
Dbnep_int.h136 alarm_t *conn_timer;
/system/bt/bta/sys/
Dbta_sys.h231 extern void bta_sys_start_timer(alarm_t *alarm, period_ms_t interval,
/system/bt/stack/sdp/
Dsdpint.h180 alarm_t *sdp_conn_timer;
/system/bt/doc/
Dstyle_guide.md212 typedef struct alarm_t alarm_t;
224 void template_use_alarm(alarm_t *alarm);
/system/bt/stack/mcap/
Dmca_int.h208 alarm_t *mca_ccb_timer; /* MCA CCB timer entry */

12