Home
last modified time | relevance | path

Searched refs:bta_hd_cb (Results 1 – 3 of 3) sorted by relevance

/system/bt/bta/hd/
Dbta_hd_act.cc90 memset(&bta_hd_cb, 0, sizeof(tBTA_HD_CB)); in bta_hd_api_enable()
93 bta_hd_cb.p_cback = p_data->api_enable.p_cback; in bta_hd_api_enable()
105 (*bta_hd_cb.p_cback)(BTA_HD_ENABLE_EVT, &bta_hd); in bta_hd_api_enable()
124 if (bta_hd_cb.p_cback == NULL) return; in bta_hd_api_disable()
127 if (bta_hd_cb.sdp_handle != 0) { in bta_hd_api_disable()
128 SDP_DeleteRecord(bta_hd_cb.sdp_handle); in bta_hd_api_disable()
142 (*bta_hd_cb.p_cback)(BTA_HD_DISABLE_EVT, &bta_hd); in bta_hd_api_disable()
144 memset(&bta_hd_cb, 0, sizeof(tBTA_HD_CB)); in bta_hd_api_disable()
173 (*bta_hd_cb.p_cback)(BTA_HD_REGISTER_APP_EVT, &ret); in bta_hd_register_act()
180 if (bta_hd_cb.sdp_handle != 0) { in bta_hd_register_act()
[all …]
Dbta_hd_main.cc51 tBTA_HD_CB bta_hd_cb; variable
53 static tBTA_HD_STATE get_state() { return bta_hd_cb.state; } in get_state()
55 static void set_state(tBTA_HD_STATE state) { bta_hd_cb.state = state; } in set_state()
188 if (bta_hd_cb.state == BTA_HD_CONN_ST) { in bta_hd_hdl_event()
193 bta_hd_cb.disable_w4_close = TRUE; in bta_hd_hdl_event()
Dbta_hd_int.h148 extern tBTA_HD_CB bta_hd_cb;