Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/hh/
Dbta_hh_main.cc196 tBTA_HH cback_data; in bta_hh_sm_execute() local
201 memset(&cback_data, 0, sizeof(tBTA_HH)); in bta_hh_sm_execute()
214 cback_data.conn.link_spec = ((tBTA_HH_API_CONN*)p_data)->link_spec; in bta_hh_sm_execute()
215 cback_data.conn.status = BTA_HH_ERR_DB_FULL; in bta_hh_sm_execute()
216 cback_data.conn.handle = BTA_HH_INVALID_HANDLE; in bta_hh_sm_execute()
223 cback_data.dev_info.link_spec = p_data->api_maintdev.link_spec; in bta_hh_sm_execute()
224 cback_data.dev_info.status = BTA_HH_ERR_DB_FULL; in bta_hh_sm_execute()
225 cback_data.dev_info.handle = BTA_HH_INVALID_HANDLE; in bta_hh_sm_execute()
227 cback_data.dev_info.status = BTA_HH_ERR_HDL; in bta_hh_sm_execute()
228 cback_data.dev_info.handle = in bta_hh_sm_execute()
[all …]
Dbta_hh_le.cc750 tBTA_HH_CBDATA cback_data; in bta_hh_le_service_parsed() local
752 cback_data.handle = p_dev_cb->hid_handle; in bta_hh_le_service_parsed()
753 cback_data.status = (status == GATT_SUCCESS) ? BTA_HH_OK : BTA_HH_ERR; in bta_hh_le_service_parsed()
759 (*bta_hh_cb.p_cback)(cb_evt, (tBTA_HH*)&cback_data); in bta_hh_le_service_parsed()
784 tBTA_HH_CBDATA cback_data; in bta_hh_le_set_protocol_mode() local
789 cback_data.handle = p_cb->hid_handle; in bta_hh_le_set_protocol_mode()
797 cback_data.status = BTA_HH_ERR; in bta_hh_le_set_protocol_mode()
802 cback_data.status = BTA_HH_OK; in bta_hh_le_set_protocol_mode()
806 (cback_data.status == BTA_HH_OK) ? BTA_HH_OK : BTA_HH_ERR_PROTO; in bta_hh_le_set_protocol_mode()
808 (*bta_hh_cb.p_cback)(BTA_HH_SET_PROTO_EVT, (tBTA_HH*)&cback_data); in bta_hh_le_set_protocol_mode()
[all …]
/packages/modules/Bluetooth/system/bta/hd/
Dbta_hd_act.cc295 tBTA_HD cback_data; in bta_hd_connect_act() local
311 cback_data.conn.bda = p_ctrl->addr; in bta_hd_connect_act()
312 cback_data.conn.status = BTHD_CONN_STATE_CONNECTING; in bta_hd_connect_act()
314 bta_hd_cb.p_cback(BTA_HD_CONN_STATE_EVT, &cback_data); in bta_hd_connect_act()
328 tBTA_HD cback_data; in bta_hd_disconnect_act() local
339 if (HID_DevGetDevice(&cback_data.conn.bda) == HID_SUCCESS) { in bta_hd_disconnect_act()
340 cback_data.conn.status = BTHD_CONN_STATE_DISCONNECTING; in bta_hd_disconnect_act()
341 bta_hd_cb.p_cback(BTA_HD_CONN_STATE_EVT, &cback_data); in bta_hd_disconnect_act()
467 tBTA_HD cback_data; in bta_hd_open_act() local
474 cback_data.conn.bda = p_cback->addr; in bta_hd_open_act()
[all …]