Home
last modified time | relevance | path

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

/system/bt/bta/hh/
Dbta_hh_main.cc189 tBTA_HH cback_data; in bta_hh_sm_execute() local
194 memset(&cback_data, 0, sizeof(tBTA_HH)); in bta_hh_sm_execute()
205 cback_data.conn.bda = ((tBTA_HH_API_CONN*)p_data)->bd_addr; in bta_hh_sm_execute()
206 cback_data.conn.status = BTA_HH_ERR_DB_FULL; in bta_hh_sm_execute()
207 cback_data.conn.handle = BTA_HH_INVALID_HANDLE; in bta_hh_sm_execute()
214 cback_data.dev_info.bda = p_data->api_maintdev.bda; in bta_hh_sm_execute()
215 cback_data.dev_info.status = BTA_HH_ERR_DB_FULL; in bta_hh_sm_execute()
216 cback_data.dev_info.handle = BTA_HH_INVALID_HANDLE; in bta_hh_sm_execute()
218 cback_data.dev_info.status = BTA_HH_ERR_HDL; in bta_hh_sm_execute()
219 cback_data.dev_info.handle = in bta_hh_sm_execute()
[all …]
Dbta_hh_le.cc737 tBTA_HH_CBDATA cback_data; in write_proto_mode_cb() local
739 cback_data.handle = p_dev_cb->hid_handle; in write_proto_mode_cb()
740 cback_data.status = (status == GATT_SUCCESS) ? BTA_HH_OK : BTA_HH_ERR; in write_proto_mode_cb()
746 (*bta_hh_cb.p_cback)(cb_evt, (tBTA_HH*)&cback_data); in write_proto_mode_cb()
764 tBTA_HH_CBDATA cback_data; in bta_hh_le_set_protocol_mode() local
769 cback_data.handle = p_cb->hid_handle; in bta_hh_le_set_protocol_mode()
776 cback_data.status = BTA_HH_ERR; in bta_hh_le_set_protocol_mode()
781 cback_data.status = BTA_HH_OK; in bta_hh_le_set_protocol_mode()
785 (cback_data.status == BTA_HH_OK) ? BTA_HH_OK : BTA_HH_ERR_PROTO; in bta_hh_le_set_protocol_mode()
787 (*bta_hh_cb.p_cback)(BTA_HH_SET_PROTO_EVT, (tBTA_HH*)&cback_data); in bta_hh_le_set_protocol_mode()
[all …]
/system/bt/bta/hd/
Dbta_hd_act.cc275 tBTA_HD cback_data; in bta_hd_connect_act() local
291 cback_data.conn.bda = p_ctrl->addr; in bta_hd_connect_act()
292 cback_data.conn.status = BTHD_CONN_STATE_CONNECTING; in bta_hd_connect_act()
294 bta_hd_cb.p_cback(BTA_HD_CONN_STATE_EVT, &cback_data); in bta_hd_connect_act()
308 tBTA_HD cback_data; in bta_hd_disconnect_act() local
319 if (HID_DevGetDevice(&cback_data.conn.bda) == HID_SUCCESS) { in bta_hd_disconnect_act()
320 cback_data.conn.status = BTHD_CONN_STATE_DISCONNECTING; in bta_hd_disconnect_act()
321 bta_hd_cb.p_cback(BTA_HD_CONN_STATE_EVT, &cback_data); in bta_hd_disconnect_act()
448 tBTA_HD cback_data; in bta_hd_open_act() local
455 cback_data.conn.bda = p_cback->addr; in bta_hd_open_act()
[all …]
/system/nfc/src/nfc/llcp/
Dllcp_dlc.cc1065 tLLCP_SAP_CBACK_DATA cback_data; in llcp_dlc_proc_rr_rnr_pdu() local
1116 cback_data.congest.event = LLCP_SAP_EVT_CONGEST; in llcp_dlc_proc_rr_rnr_pdu()
1117 cback_data.congest.local_sap = p_dlcb->local_sap; in llcp_dlc_proc_rr_rnr_pdu()
1118 cback_data.congest.remote_sap = p_dlcb->remote_sap; in llcp_dlc_proc_rr_rnr_pdu()
1119 cback_data.congest.is_congested = true; in llcp_dlc_proc_rr_rnr_pdu()
1120 cback_data.congest.link_type = LLCP_LINK_TYPE_DATA_LINK_CONNECTION; in llcp_dlc_proc_rr_rnr_pdu()
1122 (*p_dlcb->p_app_cb->p_app_cback)(&cback_data); in llcp_dlc_proc_rr_rnr_pdu()
1134 cback_data.congest.event = LLCP_SAP_EVT_CONGEST; in llcp_dlc_proc_rr_rnr_pdu()
1135 cback_data.congest.local_sap = p_dlcb->local_sap; in llcp_dlc_proc_rr_rnr_pdu()
1136 cback_data.congest.remote_sap = p_dlcb->remote_sap; in llcp_dlc_proc_rr_rnr_pdu()
[all …]