/system/nfc/src/nfa/rw/ |
D | nfa_rw_api.cc | 69 tNFA_RW_OPERATION* p_msg; in NFA_RwDetectNDef() local 73 p_msg = (tNFA_RW_OPERATION*)GKI_getbuf((uint16_t)(sizeof(tNFA_RW_OPERATION))); in NFA_RwDetectNDef() 74 if (p_msg != nullptr) { in NFA_RwDetectNDef() 75 p_msg->hdr.event = NFA_RW_OP_REQUEST_EVT; in NFA_RwDetectNDef() 76 p_msg->op = NFA_RW_OP_DETECT_NDEF; in NFA_RwDetectNDef() 78 nfa_sys_sendmsg(p_msg); in NFA_RwDetectNDef() 114 tNFA_RW_OPERATION* p_msg; in NFA_RwReadNDef() local 118 p_msg = (tNFA_RW_OPERATION*)GKI_getbuf((uint16_t)(sizeof(tNFA_RW_OPERATION))); in NFA_RwReadNDef() 119 if (p_msg != nullptr) { in NFA_RwReadNDef() 120 p_msg->hdr.event = NFA_RW_OP_REQUEST_EVT; in NFA_RwReadNDef() [all …]
|
D | nfa_rw_main.cc | 209 tNFA_RW_MSG* p_msg; in nfa_rw_send_raw_frame() local 211 p_msg = (tNFA_RW_MSG*)GKI_getbuf((uint16_t)sizeof(tNFA_RW_MSG)); in nfa_rw_send_raw_frame() 212 if (p_msg != nullptr) { in nfa_rw_send_raw_frame() 213 p_msg->hdr.event = NFA_RW_OP_REQUEST_EVT; in nfa_rw_send_raw_frame() 214 p_msg->op_req.op = NFA_RW_OP_SEND_RAW_FRAME; in nfa_rw_send_raw_frame() 216 p_msg->op_req.params.send_raw_frame.p_data = p_data; in nfa_rw_send_raw_frame() 218 if (nfa_rw_handle_event((NFC_HDR*)p_msg)) GKI_freebuf(p_msg); in nfa_rw_send_raw_frame() 234 bool nfa_rw_handle_event(NFC_HDR* p_msg) { in nfa_rw_handle_event() argument 239 nfa_rw_evt_2_str(p_msg->event).c_str(), p_msg->event, nfa_rw_cb.flags); in nfa_rw_handle_event() 242 act_idx = (p_msg->event & 0x00FF); in nfa_rw_handle_event() [all …]
|
/system/nfc/src/nfa/dm/ |
D | nfa_dm_api.cc | 100 tNFA_DM_API_ENABLE* p_msg; in NFA_Enable() local 110 p_msg = (tNFA_DM_API_ENABLE*)GKI_getbuf(sizeof(tNFA_DM_API_ENABLE)); in NFA_Enable() 111 if (p_msg != nullptr) { in NFA_Enable() 112 p_msg->hdr.event = NFA_DM_API_ENABLE_EVT; in NFA_Enable() 113 p_msg->p_dm_cback = p_dm_cback; in NFA_Enable() 114 p_msg->p_conn_cback = p_conn_cback; in NFA_Enable() 116 nfa_sys_sendmsg(p_msg); in NFA_Enable() 145 tNFA_DM_API_DISABLE* p_msg; in NFA_Disable() local 150 p_msg = (tNFA_DM_API_DISABLE*)GKI_getbuf(sizeof(tNFA_DM_API_DISABLE)); in NFA_Disable() 151 if (p_msg != nullptr) { in NFA_Disable() [all …]
|
/system/nfc/src/nfa/ee/ |
D | nfa_ee_api.cc | 55 tNFA_EE_API_DISCOVER* p_msg; in NFA_EeDiscover() local 68 p_msg = (tNFA_EE_API_DISCOVER*)GKI_getbuf(sizeof(tNFA_EE_API_DISCOVER)); in NFA_EeDiscover() 69 if (p_msg != nullptr) { in NFA_EeDiscover() 70 p_msg->hdr.event = NFA_EE_API_DISCOVER_EVT; in NFA_EeDiscover() 71 p_msg->p_cback = p_cback; in NFA_EeDiscover() 73 nfa_sys_sendmsg(p_msg); in NFA_EeDiscover() 154 tNFA_EE_API_REGISTER* p_msg; in NFA_EeRegister() local 163 p_msg = (tNFA_EE_API_REGISTER*)GKI_getbuf(sizeof(tNFA_EE_API_REGISTER)); in NFA_EeRegister() 164 if (p_msg != nullptr) { in NFA_EeRegister() 165 p_msg->hdr.event = NFA_EE_API_REGISTER_EVT; in NFA_EeRegister() [all …]
|
/system/nfc/src/nfa/ce/ |
D | nfa_ce_api.cc | 126 tNFA_CE_MSG* p_msg; in NFA_CeConfigureLocalTag() local 153 p_msg = (tNFA_CE_MSG*)GKI_getbuf((uint16_t)sizeof(tNFA_CE_MSG)); in NFA_CeConfigureLocalTag() 154 if (p_msg != nullptr) { in NFA_CeConfigureLocalTag() 155 p_msg->local_tag.hdr.event = NFA_CE_API_CFG_LOCAL_TAG_EVT; in NFA_CeConfigureLocalTag() 158 p_msg->local_tag.protocol_mask = protocol_mask; in NFA_CeConfigureLocalTag() 159 p_msg->local_tag.p_ndef_data = p_ndef_data; in NFA_CeConfigureLocalTag() 160 p_msg->local_tag.ndef_cur_size = ndef_cur_size; in NFA_CeConfigureLocalTag() 161 p_msg->local_tag.ndef_max_size = ndef_max_size; in NFA_CeConfigureLocalTag() 162 p_msg->local_tag.read_only = read_only; in NFA_CeConfigureLocalTag() 163 p_msg->local_tag.uid_len = uid_len; in NFA_CeConfigureLocalTag() [all …]
|
/system/nfc/src/nfa/hci/ |
D | nfa_hci_api.cc | 54 tNFA_HCI_API_REGISTER_APP* p_msg; in NFA_HciRegister() local 78 ((p_msg = (tNFA_HCI_API_REGISTER_APP*)GKI_getbuf( in NFA_HciRegister() 80 p_msg->hdr.event = NFA_HCI_API_REGISTER_APP_EVT; in NFA_HciRegister() 83 memset(p_msg->app_name, 0, sizeof(p_msg->app_name)); in NFA_HciRegister() 84 strlcpy(p_msg->app_name, p_app_name, NFA_MAX_HCI_APP_NAME_LEN); in NFA_HciRegister() 85 p_msg->p_cback = p_cback; in NFA_HciRegister() 86 p_msg->b_send_conn_evts = b_send_conn_evts; in NFA_HciRegister() 88 nfa_sys_sendmsg(p_msg); in NFA_HciRegister() 112 tNFA_HCI_API_GET_APP_GATE_PIPE* p_msg; in NFA_HciGetGateAndPipeList() local 125 ((p_msg = (tNFA_HCI_API_GET_APP_GATE_PIPE*)GKI_getbuf( in NFA_HciGetGateAndPipeList() [all …]
|
D | nfa_hci_ci.cc | 40 tNFA_HCI_EVENT_DATA* p_msg; in nfa_nv_ci_read() local 42 p_msg = (tNFA_HCI_EVENT_DATA*)GKI_getbuf(sizeof(tNFA_HCI_EVENT_DATA)); in nfa_nv_ci_read() 43 if (p_msg != nullptr) { in nfa_nv_ci_read() 44 p_msg->nv_read.hdr.event = NFA_HCI_RSP_NV_READ_EVT; in nfa_nv_ci_read() 47 p_msg->nv_read.status = NFA_STATUS_OK; in nfa_nv_ci_read() 49 p_msg->nv_read.status = NFA_STATUS_FAILED; in nfa_nv_ci_read() 51 p_msg->nv_read.size = num_bytes_read; in nfa_nv_ci_read() 52 p_msg->nv_read.block = block; in nfa_nv_ci_read() 53 nfa_sys_sendmsg(p_msg); in nfa_nv_ci_read() 67 tNFA_HCI_EVENT_DATA* p_msg; in nfa_nv_ci_write() local [all …]
|
/system/nfc/src/nfa/p2p/ |
D | nfa_p2p_api.cc | 67 tNFA_P2P_API_REG_SERVER* p_msg; in NFA_P2pRegisterServer() local 85 if ((p_msg = (tNFA_P2P_API_REG_SERVER*)GKI_getbuf( in NFA_P2pRegisterServer() 87 p_msg->hdr.event = NFA_P2P_API_REG_SERVER_EVT; in NFA_P2pRegisterServer() 89 p_msg->server_sap = server_sap; in NFA_P2pRegisterServer() 90 p_msg->link_type = link_type; in NFA_P2pRegisterServer() 92 strlcpy(p_msg->service_name, p_service_name, LLCP_MAX_SN_LEN); in NFA_P2pRegisterServer() 93 p_msg->service_name[LLCP_MAX_SN_LEN] = 0; in NFA_P2pRegisterServer() 95 p_msg->p_cback = p_cback; in NFA_P2pRegisterServer() 97 nfa_sys_sendmsg(p_msg); in NFA_P2pRegisterServer() 123 tNFA_P2P_API_REG_CLIENT* p_msg; in NFA_P2pRegisterClient() local [all …]
|
/system/bt/bta/gatt/ |
D | bta_gatts_main.cc | 42 bool bta_gatts_hdl_event(BT_HDR_RIGID* p_msg) { in bta_gatts_hdl_event() argument 45 switch (p_msg->event) { in bta_gatts_hdl_event() 51 bta_gatts_register(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event() 55 bta_gatts_start_if(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event() 59 bta_gatts_deregister(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event() 63 bta_gatts_indicate_handle(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event() 67 bta_gatts_open(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event() 71 bta_gatts_cancel_open(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event() 75 bta_gatts_close(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event() 79 bta_gatts_send_rsp(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event() [all …]
|
D | bta_gatts_act.cc | 176 void bta_gatts_register(tBTA_GATTS_CB* p_cb, tBTA_GATTS_DATA* p_msg) { in bta_gatts_register() argument 187 if (p_cb->rcb[i].app_uuid == p_msg->api_reg.app_uuid) { in bta_gatts_register() 204 cb_data.reg_oper.uuid = p_msg->api_reg.app_uuid; in bta_gatts_register() 209 p_cb->rcb[first_unuse].p_cback = p_msg->api_reg.p_cback; in bta_gatts_register() 210 p_cb->rcb[first_unuse].app_uuid = p_msg->api_reg.app_uuid; in bta_gatts_register() 212 GATT_Register(p_msg->api_reg.app_uuid, "GattServer", &bta_gatts_cback, in bta_gatts_register() 213 p_msg->api_reg.eatt_support); in bta_gatts_register() 229 if (p_msg->api_reg.p_cback) in bta_gatts_register() 230 (*p_msg->api_reg.p_cback)(BTA_GATTS_REG_EVT, &cb_data); in bta_gatts_register() 243 tBTA_GATTS_DATA* p_msg) { in bta_gatts_start_if() argument [all …]
|
/system/bt/stack/avdt/ |
D | avdt_msg.cc | 59 typedef void (*tAVDT_MSG_BLD)(uint8_t** p, tAVDT_MSG* p_msg); 62 typedef uint8_t (*tAVDT_MSG_PRS)(tAVDT_MSG* p_msg, uint8_t* p, uint16_t len); 68 static void avdt_msg_bld_none(uint8_t** p, tAVDT_MSG* p_msg); 69 static void avdt_msg_bld_single(uint8_t** p, tAVDT_MSG* p_msg); 70 static void avdt_msg_bld_setconfig_cmd(uint8_t** p, tAVDT_MSG* p_msg); 71 static void avdt_msg_bld_reconfig_cmd(uint8_t** p, tAVDT_MSG* p_msg); 72 static void avdt_msg_bld_multi(uint8_t** p, tAVDT_MSG* p_msg); 73 static void avdt_msg_bld_security_cmd(uint8_t** p, tAVDT_MSG* p_msg); 74 static void avdt_msg_bld_discover_rsp(uint8_t** p, tAVDT_MSG* p_msg); 75 static void avdt_msg_bld_svccap(uint8_t** p, tAVDT_MSG* p_msg); [all …]
|
/system/bt/stack/btu/ |
D | btu_task.cc | 45 void btm_route_sco_data(BT_HDR* p_msg); 52 void btu_hci_msg_process(BT_HDR* p_msg) { in btu_hci_msg_process() argument 54 switch (p_msg->event & BT_EVT_MASK) { in btu_hci_msg_process() 57 acl_rcv_acl_data(p_msg); in btu_hci_msg_process() 62 acl_link_segments_xmitted(p_msg); in btu_hci_msg_process() 66 btm_route_sco_data(p_msg); in btu_hci_msg_process() 70 btu_hcif_process_event((uint8_t)(p_msg->event & BT_SUB_EVT_MASK), p_msg); in btu_hci_msg_process() 71 osi_free(p_msg); in btu_hci_msg_process() 75 btu_hcif_send_cmd((uint8_t)(p_msg->event & BT_SUB_EVT_MASK), p_msg); in btu_hci_msg_process() 79 IsoManager::GetInstance()->HandleIsoData(p_msg); in btu_hci_msg_process() [all …]
|
/system/bt/stack/avrc/ |
D | avrc_opt.cc | 47 static BT_HDR* avrc_vendor_msg(tAVRC_MSG_VENDOR* p_msg) { in avrc_vendor_msg() argument 51 CHECK(p_msg != NULL); in avrc_vendor_msg() 53 CHECK(AVRC_META_CMD_BUF_SIZE > (AVRC_MIN_CMD_LEN + p_msg->vendor_len)); in avrc_vendor_msg() 58 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK); in avrc_vendor_msg() 60 (p_msg->hdr.subunit_type << AVRC_SUBTYPE_SHIFT) | p_msg->hdr.subunit_id; in avrc_vendor_msg() 62 AVRC_CO_ID_TO_BE_STREAM(p_data, p_msg->company_id); in avrc_vendor_msg() 63 if (p_msg->vendor_len && p_msg->p_vendor_data) 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() 180 tAVRC_MSG_VENDOR* p_msg) { in AVRC_VendorCmd() argument [all …]
|
D | avrc_pars_tg.cc | 43 static tAVRC_STS avrc_ctrl_pars_vendor_cmd(tAVRC_MSG_VENDOR* p_msg, in avrc_ctrl_pars_vendor_cmd() argument 47 uint8_t* p = p_msg->p_vendor_data; in avrc_ctrl_pars_vendor_cmd() 50 if (!AVRC_IsValidAvcType(p_result->pdu, p_msg->hdr.ctype)) { in avrc_ctrl_pars_vendor_cmd() 58 if ((len + 4) != (p_msg->vendor_len)) { in avrc_ctrl_pars_vendor_cmd() 105 static tAVRC_STS avrc_pars_vendor_cmd(tAVRC_MSG_VENDOR* p_msg, in avrc_pars_vendor_cmd() argument 119 if (p_msg->vendor_len == 0) return AVRC_STS_NO_ERROR; in avrc_pars_vendor_cmd() 120 if (p_msg->p_vendor_data == NULL) return AVRC_STS_INTERNAL_ERR; in avrc_pars_vendor_cmd() 122 if (p_msg->vendor_len < 4) { in avrc_pars_vendor_cmd() 125 __func__, p_msg->vendor_len); in avrc_pars_vendor_cmd() 129 p = p_msg->p_vendor_data; in avrc_pars_vendor_cmd() [all …]
|
/system/nfc/src/nfc/nci/ |
D | nci_hrcv.cc | 53 bool nci_proc_core_rsp(NFC_HDR* p_msg) { in nci_proc_core_rsp() argument 60 p = (uint8_t*)(p_msg + 1) + p_msg->offset; in nci_proc_core_rsp() 74 nfc_ncif_proc_init_rsp(p_msg); in nci_proc_core_rsp() 79 nfc_ncif_proc_get_config_rsp(p_msg); in nci_proc_core_rsp() 87 nfc_ncif_proc_conn_create_rsp(p, p_msg->len, *p_old); in nci_proc_core_rsp() 113 void nci_proc_core_ntf(NFC_HDR* p_msg) { in nci_proc_core_ntf() argument 119 p = (uint8_t*)(p_msg + 1) + p_msg->offset; in nci_proc_core_ntf() 120 len = p_msg->len; in nci_proc_core_ntf() 169 void nci_proc_rf_management_rsp(NFC_HDR* p_msg) { in nci_proc_rf_management_rsp() argument 175 p = (uint8_t*)(p_msg + 1) + p_msg->offset; in nci_proc_rf_management_rsp() [all …]
|
/system/nfc/src/nfc/llcp/ |
D | llcp_util.cc | 277 tLLCP_APP_CB* p_app_cb, NFC_HDR* p_msg) { in llcp_util_send_ui() argument 281 p_msg->offset -= LLCP_PDU_HEADER_SIZE; in llcp_util_send_ui() 282 p_msg->len += LLCP_PDU_HEADER_SIZE; in llcp_util_send_ui() 284 p = (uint8_t*)(p_msg + 1) + p_msg->offset; in llcp_util_send_ui() 287 GKI_enqueue(&p_app_cb->ui_xmit_q, p_msg); in llcp_util_send_ui() 321 NFC_HDR* p_msg; in llcp_util_send_disc() local 324 p_msg = (NFC_HDR*)GKI_getpoolbuf(LLCP_POOL_ID); in llcp_util_send_disc() 326 if (p_msg) { in llcp_util_send_disc() 327 p_msg->len = LLCP_PDU_DISC_SIZE; in llcp_util_send_disc() 328 p_msg->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE; in llcp_util_send_disc() [all …]
|
D | llcp_link.cc | 69 NFC_HDR* p_msg); 70 static void llcp_link_proc_agf_pdu(NFC_HDR* p_msg); 72 NFC_HDR* p_msg); 73 static void llcp_link_proc_rx_data(NFC_HDR* p_msg); 78 static void llcp_link_send_to_lower(NFC_HDR* p_msg); 201 NFC_HDR* p_msg = (NFC_HDR*)GKI_getpoolbuf(LLCP_POOL_ID); in llcp_link_activate() local 203 if (p_msg) { in llcp_link_activate() 206 p_msg->len = 1; in llcp_link_activate() 207 p_msg->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE; in llcp_link_activate() 209 NFC_SendData(NFC_RF_CONN_ID, p_msg); in llcp_link_activate() [all …]
|
/system/nfc/src/nfc/nfc/ |
D | nfc_task.cc | 61 NFC_HDR* p_msg; in nfc_start_timer() local 68 p_msg = (NFC_HDR*)GKI_getbuf(NFC_HDR_SIZE); in nfc_start_timer() 69 if (p_msg != nullptr) { in nfc_start_timer() 70 p_msg->event = BT_EVT_TO_START_TIMER; in nfc_start_timer() 71 GKI_send_msg(NFC_TASK, NFC_MBOX_ID, p_msg); in nfc_start_timer() 178 NFC_HDR* p_msg; in nfc_start_quick_timer() local 185 p_msg = (NFC_HDR*)GKI_getbuf(NFC_HDR_SIZE); in nfc_start_quick_timer() 186 if (p_msg != nullptr) { in nfc_start_quick_timer() 187 p_msg->event = BT_EVT_TO_START_QUICK_TIMER; in nfc_start_quick_timer() 188 GKI_send_msg(NFC_TASK, NFC_MBOX_ID, p_msg); in nfc_start_quick_timer() [all …]
|
/system/bt/test/mock/ |
D | mock_main_bte.h | 67 std::function<void(const base::Location& from_here, BT_HDR* p_msg)> body{ 68 [](const base::Location& from_here, BT_HDR* p_msg) {}}; 69 void operator()(const base::Location& from_here, BT_HDR* p_msg) { in operator() 70 body(from_here, p_msg); in operator() 86 std::function<void(BT_HDR* p_msg, uint16_t event)> body{ 87 [](BT_HDR* p_msg, uint16_t event) {}}; 88 void operator()(BT_HDR* p_msg, uint16_t event) { body(p_msg, event); }; in operator()
|
/system/bt/stack/gatt/ |
D | att_protocol.cc | 352 tGATT_SR_MSG* p_msg) { in attp_build_sr_msg() argument 360 p_msg->attr_value.len, p_msg->attr_value.offset); in attp_build_sr_msg() 361 offset = p_msg->attr_value.offset; in attp_build_sr_msg() 368 tcb.payload_size, op_code, p_msg->attr_value.handle, offset, in attp_build_sr_msg() 369 p_msg->attr_value.len, p_msg->attr_value.value); in attp_build_sr_msg() 375 return attp_build_err_cmd(p_msg->error.cmd_code, p_msg->error.handle, in attp_build_sr_msg() 376 p_msg->error.reason); in attp_build_sr_msg() 382 return attp_build_mtu_cmd(op_code, p_msg->mtu); in attp_build_sr_msg() 404 tGATT_STATUS attp_send_sr_msg(tGATT_TCB& tcb, uint16_t cid, BT_HDR* p_msg) { in attp_send_sr_msg() argument 405 if (p_msg == NULL) { in attp_send_sr_msg() [all …]
|
/system/bt/main/ |
D | bte_main.cc | 54 extern void btu_hci_msg_process(BT_HDR* p_msg); 69 void post_to_main_message_loop(const base::Location& from_here, BT_HDR* p_msg) { in post_to_main_message_loop() argument 70 if (do_in_main_thread(from_here, base::Bind(&btu_hci_msg_process, p_msg)) != in post_to_main_message_loop() 99 void bte_main_hci_send(BT_HDR* p_msg, uint16_t event) { in bte_main_hci_send() argument 102 p_msg->event = event; in bte_main_hci_send() 106 hci->transmit_downward(event, p_msg); in bte_main_hci_send() 109 osi_free(p_msg); in bte_main_hci_send()
|
/system/nfc/src/nfc/include/ |
D | ndef_utils.h | 82 extern tNDEF_STATUS NDEF_MsgValidate(uint8_t* p_msg, uint32_t msg_len, 95 extern int32_t NDEF_MsgGetNumRecs(uint8_t* p_msg); 131 extern uint8_t* NDEF_MsgGetRecByIndex(uint8_t* p_msg, int32_t index); 144 extern uint8_t* NDEF_MsgGetLastRecInMsg(uint8_t* p_msg); 156 extern uint8_t* NDEF_MsgGetFirstRecByType(uint8_t* p_msg, uint8_t tnf, 182 extern uint8_t* NDEF_MsgGetFirstRecById(uint8_t* p_msg, uint8_t* p_id, 248 extern void NDEF_MsgInit(uint8_t* p_msg, uint32_t max_size, 262 extern tNDEF_STATUS NDEF_MsgAddRec(uint8_t* p_msg, uint32_t max_size, 279 extern tNDEF_STATUS NDEF_MsgAppendPayload(uint8_t* p_msg, uint32_t max_size, 295 extern tNDEF_STATUS NDEF_MsgReplacePayload(uint8_t* p_msg, uint32_t max_size, [all …]
|
D | nci_hmsgs.h | 32 bool nci_proc_core_rsp(NFC_HDR* p_msg); 33 void nci_proc_rf_management_rsp(NFC_HDR* p_msg); 34 void nci_proc_ee_management_rsp(NFC_HDR* p_msg); 35 void nci_proc_core_ntf(NFC_HDR* p_msg); 36 void nci_proc_rf_management_ntf(NFC_HDR* p_msg); 37 void nci_proc_ee_management_ntf(NFC_HDR* p_msg); 38 void nci_proc_prop_rsp(NFC_HDR* p_msg); 39 void nci_proc_prop_raw_vs_rsp(NFC_HDR* p_msg); 40 void nci_proc_prop_ntf(NFC_HDR* p_msg);
|
/system/nfc/src/nfa/include/ |
D | nfa_p2p_int.h | 123 NFC_HDR* p_msg; member 130 NFC_HDR* p_msg; member 292 bool nfa_p2p_reg_server(tNFA_P2P_MSG* p_msg); 293 bool nfa_p2p_reg_client(tNFA_P2P_MSG* p_msg); 294 bool nfa_p2p_dereg(tNFA_P2P_MSG* p_msg); 295 bool nfa_p2p_accept_connection(tNFA_P2P_MSG* p_msg); 296 bool nfa_p2p_reject_connection(tNFA_P2P_MSG* p_msg); 297 bool nfa_p2p_disconnect(tNFA_P2P_MSG* p_msg); 298 bool nfa_p2p_create_data_link_connection(tNFA_P2P_MSG* p_msg); 299 bool nfa_p2p_send_ui(tNFA_P2P_MSG* p_msg); [all …]
|
/system/nfc/src/fuzzers/nci/ |
D | hal.cc | 28 NFC_HDR* p_msg; in hal_inject_data() local 29 p_msg = (NFC_HDR*)GKI_getbuf(sizeof(NFC_HDR) + NFC_RECEIVE_MSGS_OFFSET + in hal_inject_data() 31 if (p_msg != nullptr) { in hal_inject_data() 33 p_msg->len = data_len; in hal_inject_data() 34 p_msg->event = BT_EVT_TO_NFC_NCI; in hal_inject_data() 35 p_msg->offset = NFC_RECEIVE_MSGS_OFFSET; in hal_inject_data() 37 uint8_t* p = (uint8_t*)(p_msg + 1) + p_msg->offset; in hal_inject_data() 38 memcpy(p, p_data, p_msg->len); in hal_inject_data() 40 if (nfc_ncif_process_event(p_msg)) { in hal_inject_data() 41 GKI_freebuf(p_msg); in hal_inject_data()
|