Home
last modified time | relevance | path

Searched refs:p_msg (Results 1 – 25 of 130) sorted by relevance

123456

/system/nfc/src/nfa/rw/
Dnfa_rw_api.cc68 tNFA_RW_OPERATION* p_msg; in NFA_RwDetectNDef() local
72 p_msg = (tNFA_RW_OPERATION*)GKI_getbuf((uint16_t)(sizeof(tNFA_RW_OPERATION))); in NFA_RwDetectNDef()
73 if (p_msg != nullptr) { in NFA_RwDetectNDef()
74 p_msg->hdr.event = NFA_RW_OP_REQUEST_EVT; in NFA_RwDetectNDef()
75 p_msg->op = NFA_RW_OP_DETECT_NDEF; in NFA_RwDetectNDef()
77 nfa_sys_sendmsg(p_msg); in NFA_RwDetectNDef()
113 tNFA_RW_OPERATION* p_msg; in NFA_RwReadNDef() local
117 p_msg = (tNFA_RW_OPERATION*)GKI_getbuf((uint16_t)(sizeof(tNFA_RW_OPERATION))); in NFA_RwReadNDef()
118 if (p_msg != nullptr) { in NFA_RwReadNDef()
119 p_msg->hdr.event = NFA_RW_OP_REQUEST_EVT; in NFA_RwReadNDef()
[all …]
Dnfa_rw_main.cc151 tNFA_RW_MSG* p_msg; in nfa_rw_send_raw_frame() local
153 p_msg = (tNFA_RW_MSG*)GKI_getbuf((uint16_t)sizeof(tNFA_RW_MSG)); in nfa_rw_send_raw_frame()
154 if (p_msg != nullptr) { in nfa_rw_send_raw_frame()
155 p_msg->hdr.event = NFA_RW_OP_REQUEST_EVT; in nfa_rw_send_raw_frame()
156 p_msg->op_req.op = NFA_RW_OP_SEND_RAW_FRAME; in nfa_rw_send_raw_frame()
158 p_msg->op_req.params.send_raw_frame.p_data = p_data; in nfa_rw_send_raw_frame()
160 if (nfa_rw_handle_event((NFC_HDR*)p_msg)) GKI_freebuf(p_msg); in nfa_rw_send_raw_frame()
176 bool nfa_rw_handle_event(NFC_HDR* p_msg) { in nfa_rw_handle_event() argument
181 nfa_rw_evt_2_str(p_msg->event).c_str(), p_msg->event, nfa_rw_cb.flags); in nfa_rw_handle_event()
184 act_idx = (p_msg->event & 0x00FF); in nfa_rw_handle_event()
[all …]
/system/nfc/src/nfa/dm/
Dnfa_dm_api.cc100 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/
Dnfa_ee_api.cc55 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/
Dnfa_ce_api.cc126 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/
Dnfa_hci_api.cc54 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 strncpy(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 …]
Dnfa_hci_ci.cc40 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/
Dnfa_p2p_api.cc67 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 strncpy(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 …]
Dnfa_p2p_act.cc613 bool nfa_p2p_reg_server(tNFA_P2P_MSG* p_msg) { in nfa_p2p_reg_server() argument
620 p_msg->api_reg_server.server_sap, p_msg->api_reg_server.link_type, in nfa_p2p_reg_server()
621 p_msg->api_reg_server.service_name, nfa_p2p_llcp_cback); in nfa_p2p_reg_server()
627 p_msg->api_reg_server.service_name, LLCP_MAX_SN_LEN); in nfa_p2p_reg_server()
630 p_msg->api_reg_server.p_cback(NFA_P2P_REG_SERVER_EVT, &evt_data); in nfa_p2p_reg_server()
642 nfa_p2p_cb.sap_cb[server_sap].p_cback = p_msg->api_reg_server.p_cback; in nfa_p2p_reg_server()
647 strncpy(evt_data.reg_server.service_name, p_msg->api_reg_server.service_name, in nfa_p2p_reg_server()
677 bool nfa_p2p_reg_client(tNFA_P2P_MSG* p_msg) { in nfa_p2p_reg_client() argument
684 LLCP_RegisterClient(p_msg->api_reg_client.link_type, nfa_p2p_llcp_cback); in nfa_p2p_reg_client()
688 p_msg->api_reg_client.p_cback(NFA_P2P_REG_CLIENT_EVT, &evt_data); in nfa_p2p_reg_client()
[all …]
/system/bt/bta/gatt/
Dbta_gatts_main.cc45 bool bta_gatts_hdl_event(BT_HDR* p_msg) { in bta_gatts_hdl_event() argument
48 switch (p_msg->event) { in bta_gatts_hdl_event()
54 bta_gatts_register(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event()
58 bta_gatts_start_if(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event()
62 bta_gatts_deregister(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event()
66 bta_gatts_indicate_handle(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event()
70 bta_gatts_open(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event()
74 bta_gatts_cancel_open(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event()
78 bta_gatts_close(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event()
82 bta_gatts_send_rsp(p_cb, (tBTA_GATTS_DATA*)p_msg); in bta_gatts_hdl_event()
[all …]
Dbta_gatts_act.cc178 void bta_gatts_register(tBTA_GATTS_CB* p_cb, tBTA_GATTS_DATA* p_msg) { in bta_gatts_register() argument
189 if (p_cb->rcb[i].app_uuid == p_msg->api_reg.app_uuid) { in bta_gatts_register()
206 cb_data.reg_oper.uuid = p_msg->api_reg.app_uuid; in bta_gatts_register()
211 p_cb->rcb[first_unuse].p_cback = p_msg->api_reg.p_cback; in bta_gatts_register()
212 p_cb->rcb[first_unuse].app_uuid = p_msg->api_reg.app_uuid; in bta_gatts_register()
214 GATT_Register(p_msg->api_reg.app_uuid, &bta_gatts_cback); in bta_gatts_register()
230 if (p_msg->api_reg.p_cback) in bta_gatts_register()
231 (*p_msg->api_reg.p_cback)(BTA_GATTS_REG_EVT, &cb_data); in bta_gatts_register()
244 tBTA_GATTS_DATA* p_msg) { in bta_gatts_start_if() argument
245 if (bta_gatts_find_app_rcb_by_app_if(p_msg->int_start_if.server_if)) { in bta_gatts_start_if()
[all …]
Dbta_gatts_int.h159 extern bool bta_gatts_hdl_event(BT_HDR* p_msg);
163 extern void bta_gatts_register(tBTA_GATTS_CB* p_cb, tBTA_GATTS_DATA* p_msg);
164 extern void bta_gatts_start_if(tBTA_GATTS_CB* p_cb, tBTA_GATTS_DATA* p_msg);
165 extern void bta_gatts_deregister(tBTA_GATTS_CB* p_cb, tBTA_GATTS_DATA* p_msg);
167 tBTA_GATTS_DATA* p_msg);
169 tBTA_GATTS_DATA* p_msg);
171 extern void bta_gatts_send_rsp(tBTA_GATTS_CB* p_cb, tBTA_GATTS_DATA* p_msg);
173 tBTA_GATTS_DATA* p_msg);
175 extern void bta_gatts_open(tBTA_GATTS_CB* p_cb, tBTA_GATTS_DATA* p_msg);
176 extern void bta_gatts_cancel_open(tBTA_GATTS_CB* p_cb, tBTA_GATTS_DATA* p_msg);
[all …]
/system/bt/stack/avdt/
Davdt_msg.cc57 typedef void (*tAVDT_MSG_BLD)(uint8_t** p, tAVDT_MSG* p_msg);
60 typedef uint8_t (*tAVDT_MSG_PRS)(tAVDT_MSG* p_msg, uint8_t* p, uint16_t len);
66 static void avdt_msg_bld_none(uint8_t** p, tAVDT_MSG* p_msg);
67 static void avdt_msg_bld_single(uint8_t** p, tAVDT_MSG* p_msg);
68 static void avdt_msg_bld_setconfig_cmd(uint8_t** p, tAVDT_MSG* p_msg);
69 static void avdt_msg_bld_reconfig_cmd(uint8_t** p, tAVDT_MSG* p_msg);
70 static void avdt_msg_bld_multi(uint8_t** p, tAVDT_MSG* p_msg);
71 static void avdt_msg_bld_security_cmd(uint8_t** p, tAVDT_MSG* p_msg);
72 static void avdt_msg_bld_discover_rsp(uint8_t** p, tAVDT_MSG* p_msg);
73 static void avdt_msg_bld_svccap(uint8_t** p, tAVDT_MSG* p_msg);
[all …]
/system/bt/bta/sdp/
Dbta_sdp_api.cc92 tBTA_SDP_API_SEARCH* p_msg = in BTA_SdpSearch() local
97 p_msg->hdr.event = BTA_SDP_API_SEARCH_EVT; in BTA_SdpSearch()
98 p_msg->bd_addr = bd_addr; in BTA_SdpSearch()
99 p_msg->uuid = uuid; in BTA_SdpSearch()
101 bta_sys_sendmsg(p_msg); in BTA_SdpSearch()
119 tBTA_SDP_API_RECORD_USER* p_msg = in BTA_SdpCreateRecordByUser() local
124 p_msg->hdr.event = BTA_SDP_API_CREATE_RECORD_USER_EVT; in BTA_SdpCreateRecordByUser()
125 p_msg->user_data = user_data; in BTA_SdpCreateRecordByUser()
127 bta_sys_sendmsg(p_msg); in BTA_SdpCreateRecordByUser()
145 tBTA_SDP_API_RECORD_USER* p_msg = in BTA_SdpRemoveRecordByUser() local
[all …]
/system/bt/bta/dm/
Dbta_dm_api.cc129 tBTA_DM_API_SEARCH* p_msg = in BTA_DmSearch() local
132 p_msg->hdr.event = BTA_DM_API_SEARCH_EVT; in BTA_DmSearch()
133 memcpy(&p_msg->inq_params, p_dm_inq, sizeof(tBTA_DM_INQ)); in BTA_DmSearch()
134 p_msg->services = services; in BTA_DmSearch()
135 p_msg->p_cback = p_cback; in BTA_DmSearch()
136 p_msg->rs_res = BTA_DM_RS_NONE; in BTA_DmSearch()
138 bta_sys_sendmsg(p_msg); in BTA_DmSearch()
152 BT_HDR* p_msg = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_DmSearchCancel() local
154 p_msg->event = BTA_DM_API_SEARCH_CANCEL_EVT; in BTA_DmSearchCancel()
155 bta_sys_sendmsg(p_msg); in BTA_DmSearchCancel()
[all …]
/system/bt/stack/avrc/
Davrc_opt.cc47 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 …]
/system/bt/stack/btu/
Dbtu_task.cc48 void btu_hci_msg_process(BT_HDR* p_msg) { in btu_hci_msg_process() argument
50 switch (p_msg->event & BT_EVT_MASK) { in btu_hci_msg_process()
53 l2c_rcv_acl_data(p_msg); in btu_hci_msg_process()
58 l2c_link_segments_xmitted(p_msg); in btu_hci_msg_process()
62 btm_route_sco_data(p_msg); in btu_hci_msg_process()
66 btu_hcif_process_event((uint8_t)(p_msg->event & BT_SUB_EVT_MASK), p_msg); in btu_hci_msg_process()
67 osi_free(p_msg); in btu_hci_msg_process()
71 btu_hcif_send_cmd((uint8_t)(p_msg->event & BT_SUB_EVT_MASK), p_msg); in btu_hci_msg_process()
75 osi_free(p_msg); in btu_hci_msg_process()
/system/nfc/src/nfc/llcp/
Dllcp_util.cc277 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 …]
Dllcp_link.cc69 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/bt/stack/gatt/
Datt_protocol.cc345 tGATT_SR_MSG* p_msg) { in attp_build_sr_msg() argument
353 p_msg->attr_value.len, p_msg->attr_value.offset); in attp_build_sr_msg()
354 offset = p_msg->attr_value.offset; in attp_build_sr_msg()
361 tcb.payload_size, op_code, p_msg->attr_value.handle, offset, in attp_build_sr_msg()
362 p_msg->attr_value.len, p_msg->attr_value.value); in attp_build_sr_msg()
368 return attp_build_err_cmd(p_msg->error.cmd_code, p_msg->error.handle, in attp_build_sr_msg()
369 p_msg->error.reason); in attp_build_sr_msg()
375 return attp_build_mtu_cmd(op_code, p_msg->mtu); in attp_build_sr_msg()
397 tGATT_STATUS attp_send_sr_msg(tGATT_TCB& tcb, BT_HDR* p_msg) { in attp_send_sr_msg() argument
398 if (p_msg == NULL) return GATT_NO_RESOURCES; in attp_send_sr_msg()
[all …]
/system/nfc/src/nfc/nci/
Dnci_hrcv.cc52 bool nci_proc_core_rsp(NFC_HDR* p_msg) { in nci_proc_core_rsp() argument
59 p = (uint8_t*)(p_msg + 1) + p_msg->offset; in nci_proc_core_rsp()
73 nfc_ncif_proc_init_rsp(p_msg); in nci_proc_core_rsp()
78 nfc_ncif_proc_get_config_rsp(p_msg); in nci_proc_core_rsp()
86 nfc_ncif_proc_conn_create_rsp(p, p_msg->len, *p_old); in nci_proc_core_rsp()
112 void nci_proc_core_ntf(NFC_HDR* p_msg) { in nci_proc_core_ntf() argument
118 p = (uint8_t*)(p_msg + 1) + p_msg->offset; in nci_proc_core_ntf()
119 len = p_msg->len; in nci_proc_core_ntf()
168 void nci_proc_rf_management_rsp(NFC_HDR* p_msg) { in nci_proc_rf_management_rsp() argument
174 p = (uint8_t*)(p_msg + 1) + p_msg->offset; in nci_proc_rf_management_rsp()
[all …]
/system/nfc/src/nfc/nfc/
Dnfc_task.cc61 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/nfc/src/nfc/include/
Dndef_utils.h82 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 …]
Dnci_hmsgs.h32 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/
Dnfa_p2p_int.h123 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 …]

123456