Searched refs:p_msg (Results 1 - 25 of 159) sorted by relevance

1234567

/external/bluetooth/bluedroid/bta/sys/
H A Dbta_sys_ci.c43 tBTA_SYS_HW_MSG *p_msg; local
45 if ((p_msg = (tBTA_SYS_HW_MSG *) GKI_getbuf(sizeof(tBTA_SYS_HW_MSG))) != NULL)
47 p_msg->hdr.event = BTA_SYS_EVT_ENABLED_EVT;
48 p_msg->hw_module = module;
50 bta_sys_sendmsg(p_msg);
67 tBTA_SYS_HW_MSG *p_msg; local
69 if ((p_msg = (tBTA_SYS_HW_MSG *) GKI_getbuf(sizeof(tBTA_SYS_HW_MSG))) != NULL)
71 p_msg->hdr.event = BTA_SYS_EVT_DISABLED_EVT;
72 p_msg->hw_module = module;
74 bta_sys_sendmsg(p_msg);
[all...]
/external/bluetooth/bluedroid/bta/dm/
H A Dbta_dm_api.c67 tBTA_DM_API_ENABLE *p_msg; local
81 if ((p_msg = (tBTA_DM_API_ENABLE *) GKI_getbuf(sizeof(tBTA_DM_API_ENABLE))) != NULL)
83 p_msg->hdr.event = BTA_DM_API_ENABLE_EVT;
84 p_msg->p_sec_cback = p_cback;
85 bta_sys_sendmsg(p_msg);
105 BT_HDR *p_msg; local
107 if ((p_msg = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL)
109 p_msg->event = BTA_DM_API_DISABLE_EVT;
110 bta_sys_sendmsg(p_msg);
132 BT_HDR *p_msg; local
157 BT_HDR *p_msg; local
196 tBTA_DM_API_SET_NAME *p_msg; local
225 tBTA_DM_API_SET_VISIBILITY *p_msg; local
280 tBTA_DM_API_SET_AFH_CHANNELS_EVT *p_msg; local
304 tBTA_DM_API_SET_AFH_CHANNEL_ASSESSMENT *p_msg; local
330 tBTA_DM_API_VENDOR_SPECIFIC_COMMAND *p_msg; local
380 tBTA_DM_API_SEARCH *p_msg; local
409 BT_HDR *p_msg; local
433 tBTA_DM_API_DISCOVER *p_msg; local
463 tBTA_DM_API_DISCOVER *p_msg; local
536 tBTA_DM_API_BOND *p_msg; local
562 tBTA_DM_API_BOND_CANCEL *p_msg; local
588 tBTA_DM_API_PIN_REPLY *p_msg; local
620 tBTA_DM_API_LINK_POLICY *p_msg; local
646 tBTA_DM_API_LOC_OOB *p_msg; local
667 tBTA_DM_API_CONFIRM *p_msg; local
691 tBTA_DM_API_PASKY_CANCEL *p_msg; local
720 tBTA_DM_API_ADD_DEVICE *p_msg; local
767 tBTA_DM_API_REMOVE_DEVICE *p_msg; local
801 tBTA_DM_API_ADD_DEVICE *p_msg; local
851 tBTA_DM_API_AUTH_REPLY *p_msg; local
881 tBTA_API_DM_SIG_STRENGTH *p_msg; local
911 tBTA_API_DM_TX_INQPWR *p_msg; local
937 tBTA_DM_API_UPDATE_EIR_UUID *p_msg; local
964 tBTA_DM_API_UPDATE_EIR_UUID *p_msg; local
993 tBTA_DM_API_SET_EIR_CONFIG *p_msg; local
1190 tBTA_DM_API_DI_DISC *p_msg; local
1253 tBTA_DM_API_EXECUTE_CBACK *p_msg; local
1283 tBTA_DM_API_ADD_BLEKEY *p_msg; local
1318 tBTA_DM_API_ADD_BLE_DEVICE *p_msg; local
1350 tBTA_DM_API_PASSKEY_REPLY *p_msg; local
1383 tBTA_DM_API_BLE_SEC_GRANT *p_msg; local
1421 tBTA_DM_API_BLE_CONN_PARAMS *p_msg; local
1457 tBTA_DM_API_BLE_SCAN_PARAMS *p_msg; local
1489 tBTA_DM_API_BLE_ADV_PARAMS *p_msg; local
1535 tBTA_DM_API_SET_ADV_CONFIG *p_msg; local
1563 tBTA_DM_API_SET_ADV_CONFIG *p_msg; local
1602 tBTA_DM_API_SET_STORAGE_CONFIG *p_msg; local
1641 tBTA_DM_API_ENABLE_SCAN *p_msg; local
1669 tBTA_DM_API_DISABLE_SCAN *p_msg; local
1695 tBTA_DM_API_READ_SCAN_REPORTS *p_msg; local
1722 tBTA_DM_API_TRACK_ADVERTISER *p_msg; local
1747 tBTA_DM_API_BLE_OBSERVE *p_msg; local
1780 tBTA_DM_API_BLE_SET_BG_CONN_TYPE *p_msg; local
1808 tBTA_DM_API_DISCOVER *p_msg; local
1917 tBTA_DM_API_SEARCH *p_msg; local
1987 tBTA_DM_API_LOCAL_PRIVACY *p_msg; local
2022 tBTA_DM_API_BLE_MULTI_ADV_ENB *p_msg; local
2059 tBTA_DM_API_BLE_MULTI_ADV_PARAM *p_msg; local
2096 tBTA_DM_API_BLE_MULTI_ADV_DATA *p_msg; local
2127 tBTA_DM_API_BLE_MULTI_ADV_DISABLE *p_msg; local
2165 tBTA_DM_API_CFG_FILTER_COND *p_msg; local
2300 tBTA_DM_API_SCAN_FILTER_PARAM_SETUP *p_msg; local
2347 tBTA_DM_API_ENERGY_INFO *p_msg; local
2378 tBTA_DM_API_ENABLE_SCAN_FILTER *p_msg; local
2419 tBTA_DM_API_UPDATE_CONN_PARAM *p_msg; local
2462 tBTA_DM_API_SET_ENCRYPTION *p_msg; local
2495 tBTA_DM_API_REMOVE_ACL *p_msg; local
2532 tBTA_DM_API_BLE_OBSERVE *p_msg; local
[all...]
H A Dbta_dm_ci.c50 tBTA_DM_CI_IO_REQ *p_msg; local
52 if ((p_msg = (tBTA_DM_CI_IO_REQ *) GKI_getbuf(sizeof(tBTA_DM_CI_IO_REQ))) != NULL)
54 p_msg->hdr.event = BTA_DM_CI_IO_REQ_EVT;
55 bdcpy(p_msg->bd_addr, bd_addr);
56 p_msg->io_cap = io_cap;
57 p_msg->oob_data = oob_data;
58 p_msg->auth_req = auth_req;
59 bta_sys_sendmsg(p_msg);
76 tBTA_DM_CI_RMT_OOB *p_msg; local
78 if ((p_msg
[all...]
/external/libnfc-nci/src/nfa/dm/
H A Dnfa_dm_api.c100 tNFA_DM_API_ENABLE *p_msg; local
111 if ((p_msg = (tNFA_DM_API_ENABLE *) GKI_getbuf (sizeof (tNFA_DM_API_ENABLE))) != NULL)
113 p_msg->hdr.event = NFA_DM_API_ENABLE_EVT;
114 p_msg->p_dm_cback = p_dm_cback;
115 p_msg->p_conn_cback = p_conn_cback;
117 nfa_sys_sendmsg (p_msg);
147 tNFA_DM_API_DISABLE *p_msg; local
151 if ((p_msg = (tNFA_DM_API_DISABLE *) GKI_getbuf (sizeof (tNFA_DM_API_DISABLE))) != NULL)
153 p_msg->hdr.event = NFA_DM_API_DISABLE_EVT;
154 p_msg
185 tNFA_DM_API_SET_CONFIG *p_msg; local
223 tNFA_DM_API_GET_CONFIG *p_msg; local
285 tNFA_DM_API_REQ_EXCL_RF_CTRL *p_msg; local
328 BT_HDR *p_msg; local
381 tNFA_DM_API_ENABLE_POLL *p_msg; local
414 BT_HDR *p_msg; local
453 BT_HDR *p_msg; local
486 BT_HDR *p_msg; local
523 BT_HDR *p_msg; local
556 BT_HDR *p_msg; local
593 tNFA_DM_API_SET_P2P_LISTEN_TECH *p_msg; local
625 BT_HDR *p_msg; local
655 BT_HDR *p_msg; local
694 tNFA_DM_API_SET_RF_DISC_DUR *p_msg; local
734 tNFA_DM_API_SELECT *p_msg; local
777 tNFA_DM_API_UPDATE_RF_PARAMS *p_msg; local
823 tNFA_DM_API_DEACTIVATE *p_msg; local
861 BT_HDR *p_msg; local
924 tNFA_DM_API_REG_NDEF_HDLR *p_msg; local
981 tNFA_DM_API_REG_NDEF_HDLR *p_msg; local
1036 tNFA_DM_API_DEREG_NDEF_HDLR *p_msg; local
1070 BT_HDR *p_msg; local
1112 tNFA_DM_API_REG_VSC *p_msg; local
1158 tNFA_DM_API_SEND_VSC *p_msg; local
[all...]
/external/libnfc-nci/src/nfa/rw/
H A Dnfa_rw_api.c65 tNFA_RW_OPERATION *p_msg; local
69 if ((p_msg = (tNFA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION)))) != NULL)
71 p_msg->hdr.event = NFA_RW_OP_REQUEST_EVT;
72 p_msg->op = NFA_RW_OP_DETECT_NDEF;
74 nfa_sys_sendmsg (p_msg);
109 tNFA_RW_OPERATION *p_msg; local
113 if ((p_msg = (tNFA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION)))) != NULL)
115 p_msg->hdr.event = NFA_RW_OP_REQUEST_EVT;
116 p_msg->op = NFA_RW_OP_READ_NDEF;
118 nfa_sys_sendmsg (p_msg);
151 tNFA_RW_OPERATION *p_msg; local
191 tNFA_RW_OPERATION *p_msg; local
225 tNFA_RW_OPERATION *p_msg; local
261 tNFA_RW_OPERATION *p_msg; local
332 tNFA_RW_OPERATION *p_msg; local
381 tNFA_RW_OPERATION *p_msg; local
413 tNFA_RW_OPERATION *p_msg; local
445 tNFA_RW_OPERATION *p_msg; local
479 tNFA_RW_OPERATION *p_msg; local
515 tNFA_RW_OPERATION *p_msg; local
548 tNFA_RW_OPERATION *p_msg; local
581 tNFA_RW_OPERATION *p_msg; local
617 tNFA_RW_OPERATION *p_msg; local
651 tNFA_RW_OPERATION *p_msg; local
688 tNFA_RW_OPERATION *p_msg; local
724 tNFA_RW_OPERATION *p_msg; local
773 tNFA_RW_OPERATION *p_msg; local
829 tNFA_RW_OPERATION *p_msg; local
883 tNFA_RW_OPERATION *p_msg; local
925 tNFA_RW_OPERATION *p_msg; local
969 tNFA_RW_OPERATION *p_msg; local
1022 tNFA_RW_OPERATION *p_msg; local
1067 tNFA_RW_OPERATION *p_msg; local
1113 tNFA_RW_OPERATION *p_msg; local
1174 tNFA_RW_OPERATION *p_msg; local
1218 tNFA_RW_OPERATION *p_msg; local
1259 tNFA_RW_OPERATION *p_msg; local
1302 tNFA_RW_OPERATION *p_msg; local
1343 tNFA_RW_OPERATION *p_msg; local
1386 tNFA_RW_OPERATION *p_msg; local
1428 tNFA_RW_OPERATION *p_msg; local
1481 tNFA_RW_OPERATION *p_msg; local
[all...]
H A Dnfa_rw_main.c160 tNFA_RW_MSG *p_msg; local
162 if ((p_msg = (tNFA_RW_MSG *) GKI_getbuf ((UINT16) sizeof(tNFA_RW_MSG))) != NULL)
164 p_msg->hdr.event = NFA_RW_OP_REQUEST_EVT;
165 p_msg->op_req.op = NFA_RW_OP_SEND_RAW_FRAME;
167 p_msg->op_req.params.send_raw_frame.p_data = p_data;
169 if (nfa_rw_handle_event ((BT_HDR *) p_msg))
170 GKI_freebuf (p_msg);
183 ** Returns TRUE if caller should free p_msg buffer
186 BOOLEAN nfa_rw_handle_event(BT_HDR *p_msg) argument
191 NFA_TRACE_EVENT3 ("nfa_rw_handle_event event: %s (0x%02x), flags: %08x", nfa_rw_evt_2_str (p_msg
[all...]
/external/libnfc-nci/src/nfa/hci/
H A Dnfa_hci_ci.c43 tNFA_HCI_EVENT_DATA *p_msg; local
45 if ((p_msg = (tNFA_HCI_EVENT_DATA *) GKI_getbuf (sizeof (tNFA_HCI_EVENT_DATA))) != NULL)
47 p_msg->nv_read.hdr.event = NFA_HCI_RSP_NV_READ_EVT;
51 p_msg->nv_read.status = NFA_STATUS_OK;
53 p_msg->nv_read.status = NFA_STATUS_FAILED;
55 p_msg->nv_read.size = num_bytes_read;
56 p_msg->nv_read.block = block;
57 nfa_sys_sendmsg (p_msg);
72 tNFA_HCI_EVENT_DATA *p_msg; local
74 if ((p_msg
[all...]
H A Dnfa_hci_api.c51 tNFA_HCI_API_REGISTER_APP *p_msg; local
74 &&((p_msg = (tNFA_HCI_API_REGISTER_APP *) GKI_getbuf (sizeof (tNFA_HCI_API_REGISTER_APP))) != NULL))
76 p_msg->hdr.event = NFA_HCI_API_REGISTER_APP_EVT;
79 memset (p_msg->app_name, 0, sizeof (p_msg->app_name));
80 BCM_STRNCPY_S (p_msg->app_name, sizeof (p_msg->app_name), p_app_name, NFA_MAX_HCI_APP_NAME_LEN);
81 p_msg->p_cback = p_cback;
82 p_msg->b_send_conn_evts = b_send_conn_evts;
84 nfa_sys_sendmsg (p_msg);
109 tNFA_HCI_API_GET_APP_GATE_PIPE *p_msg; local
150 tNFA_HCI_API_DEREGISTER_APP *p_msg; local
214 tNFA_HCI_API_ALLOC_GATE *p_msg; local
260 tNFA_HCI_API_DEALLOC_GATE *p_msg; local
305 tNFA_HCI_API_GET_HOST_LIST *p_msg; local
355 tNFA_HCI_API_CREATE_PIPE_EVT *p_msg; local
422 tNFA_HCI_API_OPEN_PIPE_EVT *p_msg; local
472 tNFA_HCI_API_GET_REGISTRY *p_msg; local
526 tNFA_HCI_API_SET_REGISTRY *p_msg; local
588 tNFA_HCI_API_SEND_CMD_EVT *p_msg; local
649 tNFA_HCI_API_SEND_RSP_EVT *p_msg; local
730 tNFA_HCI_API_SEND_EVENT_EVT *p_msg; local
795 tNFA_HCI_API_CLOSE_PIPE_EVT *p_msg; local
844 tNFA_HCI_API_DELETE_PIPE_EVT *p_msg; local
890 tNFA_HCI_API_ADD_STATIC_PIPE_EVT *p_msg; local
952 BT_HDR *p_msg; local
[all...]
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
H A Dnfc_hal_hci_ci.c45 tNFC_HAL_HCI_EVENT_DATA *p_msg; local
48 if ((p_msg = (tNFC_HAL_HCI_EVENT_DATA *) GKI_getbuf (sizeof (tNFC_HAL_HCI_EVENT_DATA))) != NULL)
50 p_msg->nv_read.hdr.event = NFC_HAL_HCI_RSP_NV_READ_EVT;
51 p_msg->hdr.offset = 0;
52 p_msg->hdr.len = sizeof (tNFC_HAL_HCI_RSP_NV_READ_EVT);
53 p_msg->hdr.layer_specific = 0;
57 p_msg->nv_read.status = HAL_NFC_STATUS_OK;
59 p_msg->nv_read.status = HAL_NFC_STATUS_FAILED;
61 p_msg->nv_read.size = num_bytes_read;
62 p_msg
79 tNFC_HAL_HCI_EVENT_DATA *p_msg; local
[all...]
H A Dnfc_hal_api.c156 NFC_HDR *p_msg; local
165 if ((p_msg = (NFC_HDR *)GKI_getbuf ((UINT16)(size + NFC_HDR_SIZE))) != NULL)
167 p_msg->event = NFC_HAL_EVT_POST_CORE_RESET;
168 p_msg->offset = 0;
169 p_msg->len = size;
170 p_msg->layer_specific = 0;
171 memcpy ((UINT8 *)(p_msg + 1) + p_msg->offset, p_core_init_rsp_params, size);
173 GKI_send_msg (NFC_HAL_TASK, NFC_HAL_TASK_MBOX, p_msg);
191 NFC_HDR *p_msg; local
236 NFC_HDR *p_msg; local
277 NFC_HDR *p_msg; local
[all...]
H A Dnfc_hal_main.c294 NFC_HDR *p_msg; local
318 while ((p_msg = (NFC_HDR *) GKI_read_mbox (NFC_HAL_TASK_MBOX)) != NULL)
320 GKI_freebuf (p_msg);
342 NFC_HDR *p_msg; local
351 if ((p_msg = (NFC_HDR *) GKI_getbuf (NFC_HDR_SIZE)) != NULL)
353 p_msg->event = NFC_HAL_EVT_TO_START_QUICK_TIMER;
354 GKI_send_msg (NFC_HAL_TASK, NFC_HAL_TASK_MBOX, p_msg);
433 void nfc_hal_send_nci_msg_to_nfc_task (NFC_HDR * p_msg) argument
437 p_msg->event = BT_EVT_TO_NFC_NCI;
438 GKI_send_msg (NFC_TASK, NFC_MBOX_ID, p_msg);
459 NFC_HDR *p_msg; local
503 nfc_hal_main_send_message(NFC_HDR *p_msg) argument
583 NFC_HDR *p_msg; local
[all...]
/external/libnfc-nci/src/nfa/ce/
H A Dnfa_ce_api.c126 tNFA_CE_MSG *p_msg; local
151 if ((p_msg = (tNFA_CE_MSG *) GKI_getbuf ((UINT16) sizeof(tNFA_CE_MSG))) != NULL)
153 p_msg->local_tag.hdr.event = NFA_CE_API_CFG_LOCAL_TAG_EVT;
156 p_msg->local_tag.protocol_mask = protocol_mask;
157 p_msg->local_tag.p_ndef_data = p_ndef_data;
158 p_msg->local_tag.ndef_cur_size = ndef_cur_size;
159 p_msg->local_tag.ndef_max_size = ndef_max_size;
160 p_msg->local_tag.read_only = read_only;
161 p_msg->local_tag.uid_len = uid_len;
164 memcpy (p_msg
203 tNFA_CE_MSG *p_msg; local
253 tNFA_CE_MSG *p_msg; local
328 tNFA_CE_MSG *p_msg; local
403 tNFA_CE_MSG *p_msg; local
[all...]
/external/bluetooth/bluedroid/bta/gatt/
H A Dbta_gatts_main.c63 BOOLEAN bta_gatts_hdl_event(BT_HDR *p_msg) argument
68 switch (p_msg->event)
75 bta_gatts_register(p_cb, (tBTA_GATTS_DATA *) p_msg);
79 bta_gatts_start_if(p_cb, (tBTA_GATTS_DATA *) p_msg);
83 bta_gatts_deregister(p_cb, (tBTA_GATTS_DATA *) p_msg);
87 bta_gatts_create_srvc(p_cb, (tBTA_GATTS_DATA *) p_msg);
91 bta_gatts_indicate_handle(p_cb,(tBTA_GATTS_DATA *) p_msg);
95 bta_gatts_open(p_cb,(tBTA_GATTS_DATA *) p_msg);
99 bta_gatts_cancel_open(p_cb,(tBTA_GATTS_DATA *) p_msg);
103 bta_gatts_close(p_cb,(tBTA_GATTS_DATA *) p_msg);
[all...]
H A Dbta_gatts_int.h227 extern BOOLEAN bta_gatts_hdl_event(BT_HDR *p_msg);
231 extern void bta_gatts_register(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg);
232 extern void bta_gatts_start_if(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg);
233 extern void bta_gatts_deregister(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg);
234 extern void bta_gatts_create_srvc(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA * p_msg);
235 extern void bta_gatts_add_include_srvc(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA * p_msg);
236 extern void bta_gatts_add_char(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA * p_msg);
237 extern void bta_gatts_add_char_descr(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA * p_msg);
238 extern void bta_gatts_delete_service(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA * p_msg);
239 extern void bta_gatts_start_service(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA * p_msg);
[all...]
/external/bluetooth/bluedroid/bta/jv/
H A Dbta_jv_api.c148 tBTA_JV_API_SET_DISCOVERABILITY *p_msg; local
151 if ((p_msg = (tBTA_JV_API_SET_DISCOVERABILITY *)GKI_getbuf(sizeof(tBTA_JV_MSG))) != NULL)
153 p_msg->hdr.event = BTA_JV_API_SET_DISCOVERABILITY_EVT;
154 p_msg->disc_mode = disc_mode;
155 bta_sys_sendmsg(p_msg);
193 BT_HDR *p_msg; local
196 if ((p_msg = (BT_HDR *)GKI_getbuf(sizeof(BT_HDR))) != NULL)
198 p_msg->event = BTA_JV_API_GET_LOCAL_DEVICE_ADDR_EVT;
199 bta_sys_sendmsg(p_msg);
221 BT_HDR *p_msg; local
249 tBTA_JV_API_GET_REMOTE_NAME *p_msg; local
366 tBTA_JV_API_SET_SERVICE_CLASS *p_msg; local
396 tBTA_JV_API_SET_ENCRYPTION *p_msg; local
542 BT_HDR *p_msg; local
569 tBTA_JV_API_FREE_SCN *p_msg; local
623 tBTA_JV_API_START_DISCOVERY *p_msg; local
657 tBTA_JV_API_CANCEL_DISCOVERY *p_msg; local
688 tBTA_JV_API_GET_SERVICES_LENGTH *p_msg; local
782 tBTA_JV_API_SERVICE_SELECT *p_msg; local
837 tBTA_JV_API_CREATE_RECORD *p_msg; local
908 tBTA_JV_API_ADD_ATTRIBUTE *p_msg; local
939 tBTA_JV_API_ADD_ATTRIBUTE *p_msg; local
966 tBTA_JV_API_ADD_ATTRIBUTE *p_msg; local
1025 tBTA_JV_API_L2CAP_CONNECT *p_msg; local
1058 tBTA_JV_API_L2CAP_CLOSE *p_msg; local
1093 tBTA_JV_API_L2CAP_SERVER *p_msg; local
1126 tBTA_JV_API_L2CAP_SERVER *p_msg; local
1320 tBTA_JV_API_L2CAP_WRITE *p_msg; local
1359 tBTA_JV_API_RFCOMM_CONNECT *p_msg; local
1392 tBTA_JV_API_RFCOMM_CLOSE *p_msg; local
1433 tBTA_JV_API_RFCOMM_SERVER *p_msg; local
1474 tBTA_JV_API_RFCOMM_SERVER *p_msg; local
1502 tBTA_JV_API_RFCOMM_READ *p_msg; local
1592 tBTA_JV_API_RFCOMM_WRITE *p_msg; local
1638 tBTA_JV_API_SET_PM_PROFILE *p_msg; local
[all...]
/external/libnfc-nci/src/nfa/ee/
H A Dnfa_ee_api.c51 tNFA_EE_API_DISCOVER *p_msg; local
66 else if ((p_msg = (tNFA_EE_API_DISCOVER *) GKI_getbuf (sizeof(tNFA_EE_API_DISCOVER))) != NULL)
68 p_msg->hdr.event = NFA_EE_API_DISCOVER_EVT;
69 p_msg->p_cback = p_cback;
71 nfa_sys_sendmsg (p_msg);
151 tNFA_EE_API_REGISTER *p_msg; local
161 else if ((p_msg = (tNFA_EE_API_REGISTER *) GKI_getbuf (sizeof(tNFA_EE_API_REGISTER))) != NULL)
163 p_msg->hdr.event = NFA_EE_API_REGISTER_EVT;
164 p_msg->p_cback = p_cback;
166 nfa_sys_sendmsg (p_msg);
187 tNFA_EE_API_DEREGISTER *p_msg; local
234 tNFA_EE_API_MODE_SET *p_msg; local
298 tNFA_EE_API_SET_TECH_CFG *p_msg; local
354 tNFA_EE_API_SET_PROTO_CFG *p_msg; local
409 tNFA_EE_API_ADD_AID *p_msg; local
467 tNFA_EE_API_REMOVE_AID *p_msg; local
506 tNFA_EE_API_LMRT_SIZE *p_msg; local
538 BT_HDR *p_msg; local
578 tNFA_EE_API_CONNECT *p_msg; local
624 tNFA_EE_API_SEND_DATA *p_msg; local
670 tNFA_EE_API_DISCONNECT *p_msg; local
[all...]
/external/bluetooth/bluedroid/bta/mce/
H A Dbta_mce_main.c62 BOOLEAN bta_mce_sm_execute(BT_HDR *p_msg) argument
64 if(p_msg == NULL) return FALSE;
67 UINT16 action = (p_msg->event & 0x00ff);
72 (*bta_mce_action[action])((tBTA_MCE_MSG*)p_msg);
H A Dbta_mce_api.c100 tBTA_MCE_API_GET_REMOTE_MAS_INSTANCES *p_msg; local
103 if ((p_msg = (tBTA_MCE_API_GET_REMOTE_MAS_INSTANCES *)GKI_getbuf(sizeof(tBTA_MCE_API_GET_REMOTE_MAS_INSTANCES))) != NULL)
105 p_msg->hdr.event = BTA_MCE_API_GET_REMOTE_MAS_INSTANCES_EVT;
106 bdcpy(p_msg->bd_addr, bd_addr);
107 bta_sys_sendmsg(p_msg);
/external/libnfc-nci/src/nfa/p2p/
H A Dnfa_p2p_api.c65 tNFA_P2P_API_REG_SERVER *p_msg; local
84 if ((p_msg = (tNFA_P2P_API_REG_SERVER *) GKI_getbuf (sizeof (tNFA_P2P_API_REG_SERVER))) != NULL)
86 p_msg->hdr.event = NFA_P2P_API_REG_SERVER_EVT;
88 p_msg->server_sap = server_sap;
89 p_msg->link_type = link_type;
91 BCM_STRNCPY_S (p_msg->service_name, sizeof (p_msg->service_name), p_service_name, LLCP_MAX_SN_LEN);
92 p_msg->service_name[LLCP_MAX_SN_LEN] = 0;
94 p_msg->p_cback = p_cback;
96 nfa_sys_sendmsg (p_msg);
121 tNFA_P2P_API_REG_CLIENT *p_msg; local
165 tNFA_P2P_API_DEREG *p_msg; local
210 tNFA_P2P_API_ACCEPT_CONN *p_msg; local
270 tNFA_P2P_API_REJECT_CONN *p_msg; local
326 tNFA_P2P_API_DISCONNECT *p_msg; local
384 tNFA_P2P_API_CONNECT *p_msg; local
445 tNFA_P2P_API_CONNECT *p_msg; local
505 tNFA_P2P_API_SEND_UI *p_msg; local
691 tNFA_P2P_API_SEND_DATA *p_msg; local
882 tNFA_P2P_API_SET_LOCAL_BUSY *p_msg; local
936 tNFA_P2P_API_GET_LINK_INFO *p_msg; local
986 tNFA_P2P_API_GET_REMOTE_SAP *p_msg; local
1055 tNFA_P2P_API_SET_LLCP_CFG *p_msg; local
[all...]
/external/bluetooth/bluedroid/stack/avrc/
H A Davrc_pars_ct.c43 static tAVRC_STS avrc_pars_vendor_rsp(tAVRC_MSG_VENDOR *p_msg, tAVRC_RESPONSE *p_result) argument
46 UINT8 *p = p_msg->p_vendor_data;
61 AVRC_TRACE_DEBUG("avrc_pars_vendor_rsp() ctype:0x%x pdu:0x%x, len:%d/0x%x", p_msg->hdr.ctype, p_result->pdu, len, len);
62 if (p_msg->hdr.ctype == AVRC_RSP_REJ)
88 && (AVRC_RSP_CHANGED==p_msg->hdr.ctype || AVRC_RSP_INTERIM==p_msg->hdr.ctype
89 || AVRC_RSP_REJ==p_msg->hdr.ctype || AVRC_RSP_NOT_IMPL==p_msg->hdr.ctype))
91 p_result->reg_notif.status=p_msg->hdr.ctype;
117 tAVRC_STS AVRC_ParsResponse (tAVRC_MSG *p_msg, tAVRC_RESPONS argument
[all...]
H A Davrc_opt.c37 ** Description Compose a VENDOR DEPENDENT command according to p_msg
40 ** p_msg: Pointer to VENDOR DEPENDENT message structure.
46 ** NULL if p_msg is NULL.
49 static BT_HDR * avrc_vendor_msg(tAVRC_MSG_VENDOR *p_msg) argument
54 WC_ASSERT(p_msg != NULL);
57 WC_ASSERT(AVRC_META_CMD_POOL_SIZE > (AVRC_MIN_CMD_LEN+p_msg->vendor_len));
60 WC_ASSERT(AVRC_CMD_POOL_SIZE > (AVRC_MIN_CMD_LEN+p_msg->vendor_len));
66 *p_data++ = (p_msg->hdr.ctype & AVRC_CTYPE_MASK);
67 *p_data++ = (p_msg->hdr.subunit_type << AVRC_SUBTYPE_SHIFT) | p_msg
190 AVRC_VendorCmd(UINT8 handle, UINT8 label, tAVRC_MSG_VENDOR *p_msg) argument
225 AVRC_VendorRsp(UINT8 handle, UINT8 label, tAVRC_MSG_VENDOR *p_msg) argument
[all...]
/external/bluetooth/bluedroid/stack/btu/
H A Dbtu_task.c166 BT_HDR *p_msg; local
237 while ((p_msg = (BT_HDR *) GKI_read_mbox (BTU_HCI_RCV_MBOX)) != NULL)
240 switch (p_msg->event & BT_EVT_MASK)
244 l2c_rcv_acl_data (p_msg);
249 l2c_link_segments_xmitted (p_msg);
254 btm_route_sco_data (p_msg);
259 btu_hcif_process_event ((UINT8)(p_msg->event & BT_SUB_EVT_MASK), p_msg);
260 GKI_freebuf(p_msg);
270 btu_hcif_send_cmd ((UINT8)(p_msg
650 BT_HDR *p_msg; local
707 BT_HDR *p_msg; local
748 BT_HDR *p_msg; local
876 BT_HDR *p_msg = (BT_HDR *)GKI_getbuf(BT_HDR_SIZE); local
894 BT_HDR *p_msg = (BT_HDR *)GKI_getbuf(BT_HDR_SIZE); local
[all...]
H A Dbtu_init.c150 void btu_uipc_rx_cback(BT_HDR *p_msg) argument
153 p_msg->event, p_msg->len, p_msg->offset);
154 GKI_send_msg(BTU_TASK, BTU_HCI_RCV_MBOX, p_msg);
/external/libnfc-nci/src/nfc/include/
H A Dnci_hmsgs.h35 BOOLEAN nci_proc_core_rsp (BT_HDR *p_msg);
36 void nci_proc_rf_management_rsp (BT_HDR *p_msg);
37 void nci_proc_ee_management_rsp (BT_HDR *p_msg);
38 void nci_proc_core_ntf (BT_HDR *p_msg);
39 void nci_proc_rf_management_ntf (BT_HDR *p_msg);
40 void nci_proc_ee_management_ntf (BT_HDR *p_msg);
41 void nci_proc_prop_rsp (BT_HDR *p_msg);
42 void nci_proc_prop_ntf (BT_HDR *p_msg);
H A Dndef_utils.h101 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgValidate (UINT8 *p_msg, UINT32 msg_len, BOOLEAN b_allow_chunks);
113 EXPORT_NDEF_API extern INT32 NDEF_MsgGetNumRecs (UINT8 *p_msg);
149 EXPORT_NDEF_API extern UINT8 *NDEF_MsgGetRecByIndex (UINT8 *p_msg, INT32 index);
161 EXPORT_NDEF_API extern UINT8 *NDEF_MsgGetLastRecInMsg (UINT8 *p_msg);
173 EXPORT_NDEF_API extern UINT8 *NDEF_MsgGetFirstRecByType (UINT8 *p_msg, UINT8 tnf, UINT8 *p_type, UINT8 tlen);
197 EXPORT_NDEF_API extern UINT8 *NDEF_MsgGetFirstRecById (UINT8 *p_msg, UINT8 *p_id, UINT8 ilen);
257 EXPORT_NDEF_API extern void NDEF_MsgInit (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size);
269 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgAddRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size,
285 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgInsertRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, INT32 index,
300 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgAppendRec (UINT8 *p_msg, UINT3
[all...]

Completed in 282 milliseconds

1234567