Searched refs:bta_hd_cb (Results 1 – 3 of 3) sorted by relevance
97 memset(&bta_hd_cb, 0, sizeof(tBTA_HD_CB)); in bta_hd_api_enable()100 bta_hd_cb.p_cback = p_data->api_enable.p_cback; in bta_hd_api_enable()112 (*bta_hd_cb.p_cback)(BTA_HD_ENABLE_EVT, &bta_hd); in bta_hd_api_enable()131 if (bta_hd_cb.p_cback == NULL) return; in bta_hd_api_disable()134 if (bta_hd_cb.sdp_handle != 0) { in bta_hd_api_disable()136 bta_hd_cb.sdp_handle)) { in bta_hd_api_disable()137 log::warn("Unable to delete SDP record handle:{}", bta_hd_cb.sdp_handle); in bta_hd_api_disable()152 (*bta_hd_cb.p_cback)(BTA_HD_DISABLE_EVT, &bta_hd); in bta_hd_api_disable()154 memset(&bta_hd_cb, 0, sizeof(tBTA_HD_CB)); in bta_hd_api_disable()183 (*bta_hd_cb.p_cback)(BTA_HD_REGISTER_APP_EVT, &ret); in bta_hd_register_act()[all …]
55 tBTA_HD_CB bta_hd_cb; variable57 static tBTA_HD_STATE get_state() { return bta_hd_cb.state; } in get_state()59 static void set_state(tBTA_HD_STATE state) { bta_hd_cb.state = state; } in set_state()192 if (bta_hd_cb.state == BTA_HD_CONN_ST) { in bta_hd_hdl_event()196 bta_hd_cb.disable_w4_close = TRUE; in bta_hd_hdl_event()
148 extern tBTA_HD_CB bta_hd_cb;