Searched refs:cback_data (Results 1 – 6 of 6) sorted by relevance
/system/bt/bta/hh/ |
D | bta_hh_main.cc | 234 tBTA_HH cback_data; in bta_hh_sm_execute() local 241 memset(&cback_data, 0, sizeof(tBTA_HH)); in bta_hh_sm_execute() 252 cback_data.conn.bda = ((tBTA_HH_API_CONN*)p_data)->bd_addr; in bta_hh_sm_execute() 253 cback_data.conn.status = BTA_HH_ERR_DB_FULL; in bta_hh_sm_execute() 254 cback_data.conn.handle = BTA_HH_INVALID_HANDLE; in bta_hh_sm_execute() 261 cback_data.dev_info.bda = p_data->api_maintdev.bda; in bta_hh_sm_execute() 262 cback_data.dev_info.status = BTA_HH_ERR_DB_FULL; in bta_hh_sm_execute() 263 cback_data.dev_info.handle = BTA_HH_INVALID_HANDLE; in bta_hh_sm_execute() 265 cback_data.dev_info.status = BTA_HH_ERR_HDL; in bta_hh_sm_execute() 266 cback_data.dev_info.handle = in bta_hh_sm_execute() [all …]
|
D | bta_hh_le.cc | 897 tBTA_HH_CBDATA cback_data; in write_proto_mode_cb() local 899 cback_data.handle = p_dev_cb->hid_handle; in write_proto_mode_cb() 900 cback_data.status = (status == BTA_GATT_OK) ? BTA_HH_OK : BTA_HH_ERR; in write_proto_mode_cb() 906 (*bta_hh_cb.p_cback)(cb_evt, (tBTA_HH*)&cback_data); in write_proto_mode_cb() 924 tBTA_HH_CBDATA cback_data; in bta_hh_le_set_protocol_mode() local 929 cback_data.handle = p_cb->hid_handle; in bta_hh_le_set_protocol_mode() 936 cback_data.status = BTA_HH_ERR; in bta_hh_le_set_protocol_mode() 941 cback_data.status = BTA_HH_OK; in bta_hh_le_set_protocol_mode() 945 (cback_data.status == BTA_HH_OK) ? BTA_HH_OK : BTA_HH_ERR_PROTO; in bta_hh_le_set_protocol_mode() 947 (*bta_hh_cb.p_cback)(BTA_HH_SET_PROTO_EVT, (tBTA_HH*)&cback_data); in bta_hh_le_set_protocol_mode() [all …]
|
D | bta_hh_act.cc | 626 tBTA_HH_CBDATA cback_data; in bta_hh_handsk_act() local 636 memset(&cback_data, 0, sizeof(tBTA_HH_CBDATA)); in bta_hh_handsk_act() 658 cback_data.handle = p_cb->hid_handle; in bta_hh_handsk_act() 659 cback_data.status = bta_hh_get_trans_status(p_data->hid_cback.data); in bta_hh_handsk_act() 660 (*bta_hh_cb.p_cback)(p_cb->w4_evt, (tBTA_HH*)&cback_data); in bta_hh_handsk_act()
|
/system/bt/bta/hd/ |
D | bta_hd_act.cc | 273 tBTA_HD cback_data; in bta_hd_connect_act() local 289 cback_data.conn.bda = p_ctrl->addr; in bta_hd_connect_act() 290 cback_data.conn.status = BTHD_CONN_STATE_CONNECTING; in bta_hd_connect_act() 292 bta_hd_cb.p_cback(BTA_HD_CONN_STATE_EVT, &cback_data); in bta_hd_connect_act() 306 tBTA_HD cback_data; in bta_hd_disconnect_act() local 317 if (HID_DevGetDevice(&cback_data.conn.bda) == HID_SUCCESS) { in bta_hd_disconnect_act() 318 cback_data.conn.status = BTHD_CONN_STATE_DISCONNECTING; in bta_hd_disconnect_act() 319 bta_hd_cb.p_cback(BTA_HD_CONN_STATE_EVT, &cback_data); in bta_hd_disconnect_act() 446 tBTA_HD cback_data; in bta_hd_open_act() local 453 cback_data.conn.bda = p_cback->addr; in bta_hd_open_act() [all …]
|
D | bta_hd_main.cc | 242 tBTA_HD cback_data; in bta_hd_sm_execute() local 250 memset(&cback_data, 0, sizeof(tBTA_HD)); in bta_hd_sm_execute()
|
/system/nfc/src/nfc/llcp/ |
D | llcp_dlc.c | 1080 tLLCP_SAP_CBACK_DATA cback_data; in llcp_dlc_proc_rr_rnr_pdu() local 1132 cback_data.congest.event = LLCP_SAP_EVT_CONGEST; in llcp_dlc_proc_rr_rnr_pdu() 1133 cback_data.congest.local_sap = p_dlcb->local_sap; in llcp_dlc_proc_rr_rnr_pdu() 1134 cback_data.congest.remote_sap = p_dlcb->remote_sap; in llcp_dlc_proc_rr_rnr_pdu() 1135 cback_data.congest.is_congested = true; in llcp_dlc_proc_rr_rnr_pdu() 1136 cback_data.congest.link_type = LLCP_LINK_TYPE_DATA_LINK_CONNECTION; in llcp_dlc_proc_rr_rnr_pdu() 1138 (*p_dlcb->p_app_cb->p_app_cback)(&cback_data); in llcp_dlc_proc_rr_rnr_pdu() 1150 cback_data.congest.event = LLCP_SAP_EVT_CONGEST; in llcp_dlc_proc_rr_rnr_pdu() 1151 cback_data.congest.local_sap = p_dlcb->local_sap; in llcp_dlc_proc_rr_rnr_pdu() 1152 cback_data.congest.remote_sap = p_dlcb->remote_sap; in llcp_dlc_proc_rr_rnr_pdu() [all …]
|