/system/nfc/src/nfc/nfc/ |
D | nfc_vs.cc | 93 tNFC_STATUS NFC_SendRawVsCommand(NFC_HDR* p_data, tNFC_VS_CBACK* p_cback) { in NFC_SendRawVsCommand() argument 95 if (p_data == nullptr || (p_data->len > NCI_MAX_VSC_SIZE)) { in NFC_SendRawVsCommand() 98 if (p_data) GKI_freebuf(p_data); in NFC_SendRawVsCommand() 102 p_data->event = BT_EVT_TO_NFC_NCI; in NFC_SendRawVsCommand() 103 p_data->layer_specific = NFC_WAIT_RSP_RAW_VS; in NFC_SendRawVsCommand() 105 ((tNFC_NCI_VS_MSG*)p_data)->p_cback = p_cback; in NFC_SendRawVsCommand() 107 nfc_ncif_check_cmd_queue(p_data); in NFC_SendRawVsCommand() 125 tNFC_STATUS NFC_SendVsCommand(uint8_t oid, NFC_HDR* p_data, in NFC_SendVsCommand() argument 131 if (p_data == nullptr) { in NFC_SendVsCommand() 132 p_data = NCI_GET_CMD_BUF(0); in NFC_SendVsCommand() [all …]
|
/system/bt/stack/avrc/ |
D | avrc_bld_ct.cc | 40 uint8_t *p_data, *p_start; in avrc_bld_next_cmd() local 46 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_next_cmd() 49 UINT16_TO_BE_STREAM(p_data, 1); in avrc_bld_next_cmd() 50 UINT8_TO_BE_STREAM(p_data, p_cmd->target_pdu); in avrc_bld_next_cmd() 51 p_pkt->len = (p_data - p_start); in avrc_bld_next_cmd() 73 uint8_t *p_data, *p_start; in avrc_bld_set_abs_volume_cmd() local 78 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_set_abs_volume_cmd() 80 UINT16_TO_BE_STREAM(p_data, 1); in avrc_bld_set_abs_volume_cmd() 81 UINT8_TO_BE_STREAM(p_data, (AVRC_MAX_VOLUME & p_cmd->volume)); in avrc_bld_set_abs_volume_cmd() 82 p_pkt->len = (p_data - p_start); in avrc_bld_set_abs_volume_cmd() [all …]
|
D | avrc_bld_tg.cc | 53 uint8_t *p_data, *p_start, *p_len, *p_count; in avrc_bld_get_capability_rsp() local 69 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_capability_rsp() 71 BE_STREAM_TO_UINT16(len, p_data); in avrc_bld_get_capability_rsp() 72 UINT8_TO_BE_STREAM(p_data, p_rsp->capability_id); in avrc_bld_get_capability_rsp() 73 p_count = p_data; in avrc_bld_get_capability_rsp() 77 p_data++; in avrc_bld_get_capability_rsp() 80 p_data = p_start + p_pkt->len; in avrc_bld_get_capability_rsp() 87 UINT24_TO_BE_STREAM(p_data, p_company_id[xx]); in avrc_bld_get_capability_rsp() 96 UINT8_TO_BE_STREAM(p_data, p_event_id[xx]); in avrc_bld_get_capability_rsp() 102 p_pkt->len = (p_data - p_start); in avrc_bld_get_capability_rsp() [all …]
|
D | avrc_opt.cc | 49 uint8_t* p_data; in avrc_vendor_msg() local 57 p_data = (uint8_t*)(p_cmd + 1) + p_cmd->offset; in avrc_vendor_msg() 58 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK); in avrc_vendor_msg() 59 *p_data++ = in avrc_vendor_msg() 61 *p_data++ = AVRC_OP_VENDOR; in avrc_vendor_msg() 62 AVRC_CO_ID_TO_BE_STREAM(p_data, p_msg->company_id); in avrc_vendor_msg() 64 memcpy(p_data, p_msg->p_vendor_data, p_msg->vendor_len); in avrc_vendor_msg() 65 p_cmd->len = (uint16_t)(p_data + p_msg->vendor_len - (uint8_t*)(p_cmd + 1) - in avrc_vendor_msg() 95 uint8_t* p_data; in AVRC_UnitCmd() local 98 p_data = (uint8_t*)(p_cmd + 1) + p_cmd->offset; in AVRC_UnitCmd() [all …]
|
D | avrc_api.cc | 245 uint8_t* p_data = avrc_get_data_ptr(p_pkt); in avrc_copy_packet() local 247 memcpy(p_data_copy, p_data, p_pkt->len); in avrc_copy_packet() 264 uint8_t *p_data, *p_orig_data; in avrc_prep_end_frag() local 282 p_data = (uint8_t*)(p_pkt_new + 1) + p_pkt_new->offset; in avrc_prep_end_frag() 283 *p_data++ = rsp_type; in avrc_prep_end_frag() 284 *p_data++ = (AVRC_SUB_PANEL << AVRC_SUBTYPE_SHIFT); in avrc_prep_end_frag() 285 *p_data++ = AVRC_OP_VENDOR; in avrc_prep_end_frag() 286 AVRC_CO_ID_TO_BE_STREAM(p_data, AVRC_CO_METADATA); in avrc_prep_end_frag() 287 *p_data++ = p_fcb->frag_pdu; in avrc_prep_end_frag() 288 *p_data++ = AVRC_PKT_END; in avrc_prep_end_frag() [all …]
|
/system/bt/btif/src/ |
D | btif_gatt_server.cc | 99 p_dest_data->req_data.p_data = in btapp_gatts_copy_req_data() 101 memcpy(p_dest_data->req_data.p_data, p_src_data->req_data.p_data, in btapp_gatts_copy_req_data() 110 static void btapp_gatts_free_req_data(uint16_t event, tBTA_GATTS* p_data) { in btapp_gatts_free_req_data() argument 118 if (p_data != NULL) osi_free_and_reset((void**)&p_data->req_data.p_data); in btapp_gatts_free_req_data() 129 tBTA_GATTS* p_data = (tBTA_GATTS*)p_param; in btapp_gatts_handle_cback() local 133 p_data->reg_oper.status, p_data->reg_oper.server_if, in btapp_gatts_handle_cback() 134 p_data->reg_oper.uuid); in btapp_gatts_handle_cback() 142 btif_gatt_check_encrypted_link(p_data->conn.remote_bda, in btapp_gatts_handle_cback() 143 p_data->conn.transport); in btapp_gatts_handle_cback() 145 HAL_CBACK(bt_gatt_callbacks, server->connection_cb, p_data->conn.conn_id, in btapp_gatts_handle_cback() [all …]
|
D | btif_hd.cc | 74 uint8_t* p_data; in intr_data_copy_cb() local 82 p_data = ((uint8_t*)p_dst_data) + sizeof(tBTA_HD_INTR_DATA); in intr_data_copy_cb() 84 memcpy(p_data, p_src_data->p_data, p_src_data->len); in intr_data_copy_cb() 86 p_dst_data->p_data = p_data; in intr_data_copy_cb() 92 uint8_t* p_data; in set_report_copy_cb() local 100 p_data = ((uint8_t*)p_dst_data) + sizeof(tBTA_HD_SET_REPORT); in set_report_copy_cb() 102 memcpy(p_data, p_src_data->p_data, p_src_data->len); in set_report_copy_cb() 104 p_dst_data->p_data = p_data; in set_report_copy_cb() 142 tBTA_HD* p_data = (tBTA_HD*)p_param; in btif_hd_upstreams_evt() local 148 BTIF_TRACE_DEBUG("%s: status=%d", __func__, p_data->status); in btif_hd_upstreams_evt() [all …]
|
D | btif_gatt_test.cc | 78 tGATT_CL_COMPLETE* p_data) { in btif_test_command_complete_cback() argument 91 GATTC_SendHandleValueConfirm(conn_id, p_data->handle); in btif_test_command_complete_cback() 102 tGATT_DISC_RES* p_data) { in btif_test_discovery_result_cback() argument 104 LOG_DEBUG(" Attribute handle: 0x%04x (%d)", p_data->handle, in btif_test_discovery_result_cback() 105 p_data->handle); in btif_test_discovery_result_cback() 108 LOG_DEBUG(" Attribute type: %s", p_data->type.ToString().c_str()); in btif_test_discovery_result_cback() 114 p_data->handle, p_data->value.group_value.e_handle, in btif_test_discovery_result_cback() 115 p_data->handle, p_data->value.group_value.e_handle); in btif_test_discovery_result_cback() 117 p_data->value.group_value.service_type.ToString().c_str()); in btif_test_discovery_result_cback() 122 p_data->handle, p_data->value.handle, p_data->handle, in btif_test_discovery_result_cback() [all …]
|
/system/bt/stack/rfcomm/ |
D | rfc_ts_frames.cc | 43 uint8_t* p_data; in rfc_send_sabme() local 48 p_data = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in rfc_send_sabme() 51 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); in rfc_send_sabme() 52 *p_data++ = RFCOMM_SABME | RFCOMM_PF; in rfc_send_sabme() 53 *p_data++ = RFCOMM_EA | 0; in rfc_send_sabme() 55 *p_data = in rfc_send_sabme() 71 uint8_t* p_data; in rfc_send_ua() local 76 p_data = (uint8_t*)(p_buf + 1) + L2CAP_MIN_OFFSET; in rfc_send_ua() 79 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); in rfc_send_ua() 80 *p_data++ = RFCOMM_UA | RFCOMM_PF; in rfc_send_ua() [all …]
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_act.cc | 56 void bta_hf_client_start_close(tBTA_HF_CLIENT_DATA* p_data) { in bta_hf_client_start_close() argument 58 bta_hf_client_find_cb_by_handle(p_data->hdr.layer_specific); in bta_hf_client_start_close() 61 p_data->hdr.layer_specific); in bta_hf_client_start_close() 73 bta_hf_client_rfc_do_close(p_data); in bta_hf_client_start_close() 90 void bta_hf_client_start_open(tBTA_HF_CLIENT_DATA* p_data) { in bta_hf_client_start_open() argument 92 bta_hf_client_find_cb_by_handle(p_data->hdr.layer_specific); in bta_hf_client_start_open() 95 p_data->hdr.layer_specific); in bta_hf_client_start_open() 100 if (p_data) { in bta_hf_client_start_open() 101 client_cb->peer_addr = p_data->api_open.bd_addr; in bta_hf_client_start_open() 102 client_cb->cli_sec_mask = p_data->api_open.sec_mask; in bta_hf_client_start_open() [all …]
|
/system/bt/stack/avdt/ |
D | avdt_scb_act.cc | 82 void avdt_scb_hdl_abort_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_abort_cmd() argument 84 avdt_scb_event(p_scb, AVDT_SCB_API_ABORT_RSP_EVT, p_data); in avdt_scb_hdl_abort_cmd() 98 UNUSED_ATTR tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_abort_rsp() argument 112 void avdt_scb_hdl_close_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_close_cmd() argument 114 avdt_scb_event(p_scb, AVDT_SCB_API_CLOSE_RSP_EVT, p_data); in avdt_scb_hdl_close_cmd() 127 void avdt_scb_hdl_close_rsp(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_close_rsp() argument 128 p_scb->close_code = p_data->msg.hdr.err_code; in avdt_scb_hdl_close_rsp() 142 void avdt_scb_hdl_getconfig_cmd(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data) { in avdt_scb_hdl_getconfig_cmd() argument 143 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg; in avdt_scb_hdl_getconfig_cmd() 145 avdt_scb_event(p_scb, AVDT_SCB_API_GETCONFIG_RSP_EVT, p_data); in avdt_scb_hdl_getconfig_cmd() [all …]
|
D | avdt_ccb_act.cc | 78 void avdt_ccb_chan_open(AvdtpCcb* p_ccb, UNUSED_ATTR tAVDT_CCB_EVT* p_data) { in avdt_ccb_chan_open() argument 94 void avdt_ccb_chan_close(AvdtpCcb* p_ccb, UNUSED_ATTR tAVDT_CCB_EVT* p_data) { in avdt_ccb_chan_close() argument 110 void avdt_ccb_chk_close(AvdtpCcb* p_ccb, UNUSED_ATTR tAVDT_CCB_EVT* p_data) { in avdt_ccb_chk_close() argument 144 void avdt_ccb_hdl_discover_cmd(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data) { in avdt_ccb_hdl_discover_cmd() argument 150 p_data->msg.discover_rsp.p_sep_info = sep_info; in avdt_ccb_hdl_discover_cmd() 151 p_data->msg.discover_rsp.num_seps = 0; in avdt_ccb_hdl_discover_cmd() 157 sep_info[p_data->msg.discover_rsp.num_seps].in_use = p_scb->in_use; in avdt_ccb_hdl_discover_cmd() 158 sep_info[p_data->msg.discover_rsp.num_seps].seid = p_scb->ScbHandle(); in avdt_ccb_hdl_discover_cmd() 159 sep_info[p_data->msg.discover_rsp.num_seps].media_type = in avdt_ccb_hdl_discover_cmd() 161 sep_info[p_data->msg.discover_rsp.num_seps].tsep = in avdt_ccb_hdl_discover_cmd() [all …]
|
D | avdt_int.h | 735 typedef void (*tAVDT_CCB_ACTION)(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 736 typedef void (*tAVDT_SCB_ACTION)(AvdtpScb* p_scb, tAVDT_SCB_EVT* p_data); 818 tAVDT_CCB_EVT* p_data); 823 extern void avdt_ccb_dealloc(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 828 extern void avdt_ccb_chan_open(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 829 extern void avdt_ccb_chan_close(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 830 extern void avdt_ccb_chk_close(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 831 extern void avdt_ccb_hdl_discover_cmd(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 832 extern void avdt_ccb_hdl_discover_rsp(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); 833 extern void avdt_ccb_hdl_getcap_cmd(AvdtpCcb* p_ccb, tAVDT_CCB_EVT* p_data); [all …]
|
/system/bt/stack/smp/ |
D | smp_int.h | 219 uint8_t* p_data; member 223 uint8_t* p_data; /* uint8_t type data pointer */ member 334 typedef void (*tSMP_ACT)(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); 343 tSMP_INT_DATA* p_data); 350 tSMP_INT_DATA* p_data); 355 extern void smp_send_pair_req(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); 356 extern void smp_send_confirm(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); 357 extern void smp_send_pair_fail(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); 358 extern void smp_send_rand(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); 359 extern void smp_send_pair_public_key(tSMP_CB* p_cb, tSMP_INT_DATA* p_data); [all …]
|
/system/bt/stack/avct/ |
D | avct_int.h | 148 tAVCT_LCB_EVT* p_data); 150 tAVCT_LCB_EVT* p_data); 151 extern void avct_close_bcb(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 159 extern void avct_lcb_dealloc(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 165 extern void avct_lcb_chnl_open(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 166 extern void avct_lcb_unbind_disc(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 167 extern void avct_lcb_open_ind(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 168 extern void avct_lcb_open_fail(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 169 extern void avct_lcb_close_ind(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); 170 extern void avct_lcb_close_cfm(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data); [all …]
|
D | avct_bcb_act.cc | 101 void avct_bcb_chnl_open(tAVCT_BCB* p_bcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) { in avct_bcb_chnl_open() argument 138 void avct_bcb_unbind_disc(UNUSED_ATTR tAVCT_BCB* p_bcb, tAVCT_LCB_EVT* p_data) { in avct_bcb_unbind_disc() argument 139 p_data->p_ccb->p_bcb = NULL; in avct_bcb_unbind_disc() 140 (*p_data->p_ccb->cc.p_ctrl_cback)(avct_ccb_to_idx(p_data->p_ccb), in avct_bcb_unbind_disc() 158 void avct_bcb_open_ind(tAVCT_BCB* p_bcb, tAVCT_LCB_EVT* p_data) { in avct_bcb_open_ind() argument 191 avct_bcb_event(p_bcb, AVCT_LCB_INT_CLOSE_EVT, p_data); in avct_bcb_open_ind() 223 void avct_bcb_open_fail(tAVCT_BCB* p_bcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) { in avct_bcb_open_fail() argument 244 void avct_bcb_close_ind(tAVCT_BCB* p_bcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) { in avct_bcb_close_ind() argument 274 void avct_bcb_close_cfm(tAVCT_BCB* p_bcb, tAVCT_LCB_EVT* p_data) { in avct_bcb_close_cfm() argument 295 (*p_cback)(avct_ccb_to_idx(p_ccb), event, p_data->result, in avct_bcb_close_cfm() [all …]
|
D | avct_lcb_act.cc | 173 void avct_lcb_chnl_open(tAVCT_LCB* p_lcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) { in avct_lcb_chnl_open() argument 198 void avct_lcb_unbind_disc(UNUSED_ATTR tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) { in avct_lcb_unbind_disc() argument 199 avct_ccb_dealloc(p_data->p_ccb, AVCT_DISCONNECT_CFM_EVT, 0, NULL); in avct_lcb_unbind_disc() 215 void avct_lcb_open_ind(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) { in avct_lcb_open_ind() argument 245 avct_lcb_event(p_lcb, AVCT_LCB_INT_CLOSE_EVT, p_data); in avct_lcb_open_ind() 260 void avct_lcb_open_fail(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) { in avct_lcb_open_fail() argument 266 avct_ccb_dealloc(p_ccb, AVCT_CONNECT_CFM_EVT, p_data->result, in avct_lcb_open_fail() 283 void avct_lcb_close_ind(tAVCT_LCB* p_lcb, UNUSED_ATTR tAVCT_LCB_EVT* p_data) { in avct_lcb_close_ind() argument 312 void avct_lcb_close_cfm(tAVCT_LCB* p_lcb, tAVCT_LCB_EVT* p_data) { in avct_lcb_close_cfm() argument 328 avct_ccb_dealloc(p_ccb, event, p_data->result, &p_lcb->peer_addr); in avct_lcb_close_cfm() [all …]
|
/system/bt/bta/hd/ |
D | bta_hd_int.h | 126 BT_HDR* p_data; member 151 extern void bta_hd_api_enable(tBTA_HD_DATA* p_data); 154 extern void bta_hd_register_act(tBTA_HD_DATA* p_data); 155 extern void bta_hd_unregister_act(tBTA_HD_DATA* p_data); 156 extern void bta_hd_unregister2_act(tBTA_HD_DATA* p_data); 157 extern void bta_hd_connect_act(tBTA_HD_DATA* p_data); 158 extern void bta_hd_disconnect_act(tBTA_HD_DATA* p_data); 159 extern void bta_hd_add_device_act(tBTA_HD_DATA* p_data); 160 extern void bta_hd_remove_device_act(tBTA_HD_DATA* p_data); 161 extern void bta_hd_send_report_act(tBTA_HD_DATA* p_data); [all …]
|
D | bta_hd_act.cc | 84 void bta_hd_api_enable(tBTA_HD_DATA* p_data) { in bta_hd_api_enable() argument 97 bta_hd_cb.p_cback = p_data->api_enable.p_cback; in bta_hd_api_enable() 160 void bta_hd_register_act(tBTA_HD_DATA* p_data) { in bta_hd_register_act() argument 162 tBTA_HD_REGISTER_APP* p_app_data = (tBTA_HD_REGISTER_APP*)p_data; in bta_hd_register_act() 224 void bta_hd_unregister_act(UNUSED_ATTR tBTA_HD_DATA* p_data) { in bta_hd_unregister_act() argument 253 void bta_hd_unregister2_act(tBTA_HD_DATA* p_data) { in bta_hd_unregister2_act() argument 257 bta_hd_close_act(p_data); in bta_hd_unregister2_act() 260 bta_hd_unregister_act(p_data); in bta_hd_unregister2_act() 276 extern void bta_hd_connect_act(tBTA_HD_DATA* p_data) { in bta_hd_connect_act() argument 278 tBTA_HD_DEVICE_CTRL* p_ctrl = (tBTA_HD_DEVICE_CTRL*)p_data; in bta_hd_connect_act() [all …]
|
/system/bt/bta/av/ |
D | bta_av_int.h | 264 uint8_t* p_data; member 271 uint8_t* p_data; member 588 typedef void (*tBTA_AV_SACT)(tBTA_AV_SCB* p_scb, tBTA_AV_DATA* p_data); 677 uint8_t event, tAVDT_CTRL* p_data, 692 extern void bta_av_api_deregister(tBTA_AV_DATA* p_data); 695 tBTA_AV_DATA* p_data); 697 tBTA_AV_DATA* p_data); 704 extern void bta_av_api_disconnect(tBTA_AV_DATA* p_data); 705 extern void bta_av_sig_chg(tBTA_AV_DATA* p_data); 706 extern void bta_av_signalling_timer(tBTA_AV_DATA* p_data); [all …]
|
/system/nfc/src/nfa/include/ |
D | nfa_ee_int.h | 328 uint8_t* p_data; member 348 tNFC_NFCEE_DISCOVER_REVT* p_data; member 354 tNFC_NFCEE_INFO_REVT* p_data; member 360 tNFC_NFCEE_MODE_SET_REVT* p_data; member 366 void* p_data; member 375 tNFC_CONN* p_data; member 381 tNFC_EE_ACTION_REVT* p_data; member 387 tNFC_EE_DISCOVER_REQ_REVT* p_data; member 393 tNFC_NFCEE_STATUS_REVT* p_data; member 427 typedef void (*tNFA_EE_SM_ACT)(tNFA_EE_MSG* p_data); [all …]
|
/system/nfc/src/nfa/dm/ |
D | nfa_dm_act.cc | 60 tNFC_DISCOVER* p_data); 62 tNFC_DISCOVER* p_data); 263 tNFC_RESPONSE* p_data) { in nfa_dm_nfc_response_cback() argument 276 if (p_data->enable.status == NFC_STATUS_OK) { in nfa_dm_nfc_response_cback() 291 dm_cback_data.status = p_data->enable.status; in nfa_dm_nfc_response_cback() 304 dm_cback_data.set_config.status = p_data->set_config.status; in nfa_dm_nfc_response_cback() 305 dm_cback_data.set_config.num_param_id = p_data->set_config.num_param_id; in nfa_dm_nfc_response_cback() 306 memcpy(dm_cback_data.set_config.param_ids, p_data->set_config.param_ids, in nfa_dm_nfc_response_cback() 307 p_data->set_config.num_param_id); in nfa_dm_nfc_response_cback() 324 if (p_data->get_config.status == NFC_STATUS_OK) { in nfa_dm_nfc_response_cback() [all …]
|
/system/bt/bta/gatt/ |
D | bta_gattc_act.cc | 59 tGATT_CL_COMPLETE* p_data); 62 tGATT_CL_COMPLETE* p_data); 320 UNUSED_ATTR tBTA_GATTC_DATA* p_data) { in bta_gattc_cancel_open_error() argument 330 UNUSED_ATTR tBTA_GATTC_DATA* p_data) { in bta_gattc_open_error() argument 338 UNUSED_ATTR tBTA_GATTC_DATA* p_data) { in bta_gattc_open_fail() argument 350 void bta_gattc_open(tBTA_GATTC_CLCB* p_clcb, tBTA_GATTC_DATA* p_data) { in bta_gattc_open() argument 354 if (!GATT_Connect(p_clcb->p_rcb->client_if, p_data->api_conn.remote_bda, true, in bta_gattc_open() 355 p_data->api_conn.transport, p_data->api_conn.opportunistic, in bta_gattc_open() 356 p_data->api_conn.initiating_phys)) { in bta_gattc_open() 359 bta_gattc_sm_execute(p_clcb, BTA_GATTC_INT_OPEN_FAIL_EVT, p_data); in bta_gattc_open() [all …]
|
/system/bt/bta/pan/ |
D | bta_pan_act.cc | 300 void bta_pan_enable(tBTA_PAN_DATA* p_data) { in bta_pan_enable() argument 309 bta_pan_cb.p_cback = p_data->api_enable.p_cback; in bta_pan_enable() 344 void bta_pan_set_role(tBTA_PAN_DATA* p_data) { in bta_pan_set_role() argument 349 bta_pan_cb.app_id[0] = p_data->api_set_role.user_app_id; in bta_pan_set_role() 350 bta_pan_cb.app_id[1] = p_data->api_set_role.gn_app_id; in bta_pan_set_role() 351 bta_pan_cb.app_id[2] = p_data->api_set_role.nap_app_id; in bta_pan_set_role() 353 sec[0] = p_data->api_set_role.user_sec_mask; in bta_pan_set_role() 354 sec[1] = p_data->api_set_role.gn_sec_mask; in bta_pan_set_role() 355 sec[2] = p_data->api_set_role.nap_sec_mask; in bta_pan_set_role() 359 p_data->api_set_role.role, sec, p_data->api_set_role.user_name, in bta_pan_set_role() [all …]
|
/system/bt/stack/include/ |
D | rfcdefs.h | 69 #define RFCOMM_PARSE_CTRL_FIELD(ea, cr, dlci, p_data) \ argument 71 (ea) = *(p_data)&RFCOMM_EA; \ 72 (cr) = (*(p_data)&RFCOMM_CR_MASK) >> RFCOMM_SHIFT_CR; \ 73 (dlci) = *(p_data)++ >> RFCOMM_SHIFT_DLCI; \ 74 if (!(ea)) (dlci) += *(p_data)++ << RFCOMM_SHIFT_DLCI2; \ 77 #define RFCOMM_FORMAT_CTRL_FIELD(p_data, ea, cr, dlci) \ argument 78 (*(p_data)++ = (ea) | (cr) | ((dlci) << RFCOMM_SHIFT_DLCI)) 80 #define RFCOMM_PARSE_TYPE_FIELD(type, pf, p_data) \ argument 82 (type) = *(p_data) & ~RFCOMM_PF_MASK; \ 83 (pf) = (*(p_data)++ & RFCOMM_PF_MASK) >> RFCOMM_PF_OFFSET; \ [all …]
|