Searched refs:bta_hd_cb (Results 1 – 3 of 3) sorted by relevance
/system/bt/bta/hd/ |
D | bta_hd_act.cc | 92 memset(&bta_hd_cb, 0, sizeof(tBTA_HD_CB)); in bta_hd_api_enable() 97 bta_hd_cb.p_cback = p_data->api_enable.p_cback; in bta_hd_api_enable() 109 (*bta_hd_cb.p_cback)(BTA_HD_ENABLE_EVT, &bta_hd); in bta_hd_api_enable() 128 if (bta_hd_cb.p_cback == NULL) return; in bta_hd_api_disable() 131 if (bta_hd_cb.sdp_handle != 0) { in bta_hd_api_disable() 132 SDP_DeleteRecord(bta_hd_cb.sdp_handle); in bta_hd_api_disable() 146 (*bta_hd_cb.p_cback)(BTA_HD_DISABLE_EVT, &bta_hd); in bta_hd_api_disable() 148 memset(&bta_hd_cb, 0, sizeof(tBTA_HD_CB)); in bta_hd_api_disable() 177 (*bta_hd_cb.p_cback)(BTA_HD_REGISTER_APP_EVT, &ret); in bta_hd_register_act() 184 if (bta_hd_cb.sdp_handle != 0) { in bta_hd_register_act() [all …]
|
D | bta_hd_main.cc | 222 tBTA_HD_CB bta_hd_cb; variable 243 bta_hd_state_code(bta_hd_cb.state), bta_hd_cb.state, in bta_hd_sm_execute() 246 prev_state = bta_hd_cb.state; in bta_hd_sm_execute() 250 state_table = bta_hd_st_tbl[bta_hd_cb.state]; in bta_hd_sm_execute() 259 bta_hd_cb.state = state_table[event][BTA_HD_NEXT_STATE]; in bta_hd_sm_execute() 261 if (bta_hd_cb.state != prev_state) { in bta_hd_sm_execute() 263 bta_hd_state_code(bta_hd_cb.state), bta_hd_cb.state); in bta_hd_sm_execute() 287 if (bta_hd_cb.state == BTA_HD_CONN_ST) { in bta_hd_hdl_event() 292 bta_hd_cb.disable_w4_close = TRUE; in bta_hd_hdl_event()
|
D | bta_hd_int.h | 144 extern tBTA_HD_CB bta_hd_cb;
|