/external/bluetooth/bluedroid/bta/sys/ |
bta_sys_ci.c | 43 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/libnfc-nci/src/nfa/dm/ |
nfa_dm_api.c | 100 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->graceful = graceful 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/ |
nfa_rw_api.c | 65 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 189 tNFA_RW_OPERATION *p_msg; local 222 tNFA_RW_OPERATION *p_msg; local 258 tNFA_RW_OPERATION *p_msg; local 329 tNFA_RW_OPERATION *p_msg; local 378 tNFA_RW_OPERATION *p_msg; local 410 tNFA_RW_OPERATION *p_msg; local 442 tNFA_RW_OPERATION *p_msg; local 476 tNFA_RW_OPERATION *p_msg; local 512 tNFA_RW_OPERATION *p_msg; local 545 tNFA_RW_OPERATION *p_msg; local 578 tNFA_RW_OPERATION *p_msg; local 614 tNFA_RW_OPERATION *p_msg; local 648 tNFA_RW_OPERATION *p_msg; local 685 tNFA_RW_OPERATION *p_msg; local 721 tNFA_RW_OPERATION *p_msg; local 770 tNFA_RW_OPERATION *p_msg; local 826 tNFA_RW_OPERATION *p_msg; local 880 tNFA_RW_OPERATION *p_msg; local 922 tNFA_RW_OPERATION *p_msg; local 966 tNFA_RW_OPERATION *p_msg; local 1019 tNFA_RW_OPERATION *p_msg; local 1064 tNFA_RW_OPERATION *p_msg; local 1110 tNFA_RW_OPERATION *p_msg; local 1171 tNFA_RW_OPERATION *p_msg; local 1215 tNFA_RW_OPERATION *p_msg; local 1256 tNFA_RW_OPERATION *p_msg; local 1299 tNFA_RW_OPERATION *p_msg; local 1340 tNFA_RW_OPERATION *p_msg; local 1383 tNFA_RW_OPERATION *p_msg; local 1425 tNFA_RW_OPERATION *p_msg; local 1478 tNFA_RW_OPERATION *p_msg; local [all...] |
nfa_rw_main.c | 159 tNFA_RW_MSG *p_msg; local 161 if ((p_msg = (tNFA_RW_MSG *) GKI_getbuf ((UINT16) sizeof(tNFA_RW_MSG))) != NULL) 163 p_msg->hdr.event = NFA_RW_OP_REQUEST_EVT; 164 p_msg->op_req.op = NFA_RW_OP_SEND_RAW_FRAME; 166 p_msg->op_req.params.send_raw_frame.p_data = p_data; 168 if (nfa_rw_handle_event ((BT_HDR *) p_msg)) 169 GKI_freebuf (p_msg); 182 ** Returns TRUE if caller should free p_msg buffer 185 BOOLEAN nfa_rw_handle_event(BT_HDR *p_msg) 190 NFA_TRACE_EVENT3 ("nfa_rw_handle_event event: %s (0x%02x), flags: %08x", nfa_rw_evt_2_str (p_msg->event), p_msg->event, nfa_rw_cb.flags) [all...] |
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_api.c | 65 tBTA_DM_API_ENABLE *p_msg; local 82 if ((p_msg = (tBTA_DM_API_ENABLE *) GKI_getbuf(sizeof(tBTA_DM_API_ENABLE))) != NULL) 84 p_msg->hdr.event = BTA_DM_API_ENABLE_EVT; 85 p_msg->p_sec_cback = p_cback; 86 bta_sys_sendmsg(p_msg); 106 BT_HDR *p_msg; local 108 if ((p_msg = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 110 p_msg->event = BTA_DM_API_DISABLE_EVT; 111 bta_sys_sendmsg(p_msg); 133 BT_HDR *p_msg; local 158 BT_HDR *p_msg; local 204 tBTA_DM_API_SET_NAME *p_msg; local 233 tBTA_DM_API_SET_VISIBILITY *p_msg; local 288 tBTA_DM_API_SET_AFH_CHANNELS_EVT *p_msg; local 312 tBTA_DM_API_SET_AFH_CHANNEL_ASSESSMENT *p_msg; local 338 tBTA_DM_API_VENDOR_SPECIFIC_COMMAND *p_msg; local 388 tBTA_DM_API_SEARCH *p_msg; local 417 BT_HDR *p_msg; local 441 tBTA_DM_API_DISCOVER *p_msg; local 471 tBTA_DM_API_DISCOVER *p_msg; local 528 tBTA_DM_API_BOND *p_msg; local 553 tBTA_DM_API_BOND_CANCEL *p_msg; local 579 tBTA_DM_API_PIN_REPLY *p_msg; local 611 tBTA_DM_API_LINK_POLICY *p_msg; local 637 tBTA_DM_API_LOC_OOB *p_msg; local 658 tBTA_DM_API_CONFIRM *p_msg; local 682 tBTA_DM_API_PASKY_CANCEL *p_msg; local 711 tBTA_DM_API_ADD_DEVICE *p_msg; local 758 tBTA_DM_API_REMOVE_DEVICE *p_msg; local 792 tBTA_DM_API_ADD_DEVICE *p_msg; local 842 tBTA_DM_API_AUTH_REPLY *p_msg; local 872 tBTA_API_DM_SIG_STRENGTH *p_msg; local 902 tBTA_API_DM_TX_INQPWR *p_msg; local 928 tBTA_DM_API_UPDATE_EIR_UUID *p_msg; local 955 tBTA_DM_API_UPDATE_EIR_UUID *p_msg; local 984 tBTA_DM_API_SET_EIR_CONFIG *p_msg; local 1165 tBTA_DM_API_DI_DISC *p_msg; local 1228 tBTA_DM_API_EXECUTE_CBACK *p_msg; local 1258 tBTA_DM_API_ADD_BLEKEY *p_msg; local 1293 tBTA_DM_API_ADD_BLE_DEVICE *p_msg; local 1325 tBTA_DM_API_PASSKEY_REPLY *p_msg; local 1358 tBTA_DM_API_BLE_SEC_GRANT *p_msg; local 1396 tBTA_DM_API_BLE_CONN_PARAMS *p_msg; local 1432 tBTA_DM_API_BLE_SCAN_PARAMS *p_msg; local 1464 tBTA_DM_API_BLE_ADV_PARAMS *p_msg; local 1502 tBTA_DM_API_SET_ADV_CONFIG *p_msg; local 1527 tBTA_DM_API_SET_ADV_CONFIG *p_msg; local 1552 tBTA_DM_API_BLE_OBSERVE *p_msg; local 1585 tBTA_DM_API_BLE_SET_BG_CONN_TYPE *p_msg; local 1618 tBTA_DM_API_DISCOVER *p_msg; local 1671 tBTA_DM_API_SEARCH *p_msg; local 1765 tBTA_DM_API_SET_ENCRYPTION *p_msg; local 1797 tBTA_DM_API_REMOVE_ACL *p_msg; local 1834 tBTA_DM_API_BLE_OBSERVE *p_msg; local [all...] |
bta_dm_ci.c | 50 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 = (tBTA_DM_CI_RMT_OOB *) GKI_getbuf(sizeof(tBTA_DM_CI_RMT_OOB))) != NULL [all...] |
/external/libnfc-nci/src/nfa/hci/ |
nfa_hci_ci.c | 43 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 = (tNFA_HCI_EVENT_DATA *) GKI_getbuf (sizeof (tNFA_HCI_EVENT_DATA))) != NULL [all...] |
nfa_hci_api.c | 51 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 252 tNFA_HCI_API_DEALLOC_GATE *p_msg; local 297 tNFA_HCI_API_GET_HOST_LIST *p_msg; local 347 tNFA_HCI_API_CREATE_PIPE_EVT *p_msg; local 414 tNFA_HCI_API_OPEN_PIPE_EVT *p_msg; local 464 tNFA_HCI_API_GET_REGISTRY *p_msg; local 518 tNFA_HCI_API_SET_REGISTRY *p_msg; local 580 tNFA_HCI_API_SEND_CMD_EVT *p_msg; local 641 tNFA_HCI_API_SEND_RSP_EVT *p_msg; local 722 tNFA_HCI_API_SEND_EVENT_EVT *p_msg; local 787 tNFA_HCI_API_CLOSE_PIPE_EVT *p_msg; local 836 tNFA_HCI_API_DELETE_PIPE_EVT *p_msg; local 882 tNFA_HCI_API_ADD_STATIC_PIPE_EVT *p_msg; local 944 BT_HDR *p_msg; local [all...] |
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
nfc_hal_hci_ci.c | 43 tNFC_HAL_HCI_EVENT_DATA *p_msg; local 46 if ((p_msg = (tNFC_HAL_HCI_EVENT_DATA *) GKI_getbuf (sizeof (tNFC_HAL_HCI_EVENT_DATA))) != NULL) 48 p_msg->nv_read.hdr.event = NFC_HAL_HCI_RSP_NV_READ_EVT; 49 p_msg->hdr.offset = 0; 50 p_msg->hdr.len = sizeof (tNFC_HAL_HCI_RSP_NV_READ_EVT); 51 p_msg->hdr.layer_specific = 0; 55 p_msg->nv_read.status = HAL_NFC_STATUS_OK; 57 p_msg->nv_read.status = HAL_NFC_STATUS_FAILED; 59 p_msg->nv_read.size = num_bytes_read; 60 p_msg->nv_read.block = block 77 tNFC_HAL_HCI_EVENT_DATA *p_msg; local [all...] |
nfc_hal_api.c | 156 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...] |
nfc_hal_main.c | 294 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) 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 576 NFC_HDR *p_msg; local [all...] |
/external/libnfc-nci/src/nfa/ce/ |
nfa_ce_api.c | 126 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->local_tag.uid, p_uid, uid_len) 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/ |
bta_gatts_main.c | 63 BOOLEAN bta_gatts_hdl_event(BT_HDR *p_msg) 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...] |
bta_gatts_act.c | 178 void bta_gatts_register(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg) 194 if (bta_gatts_uuid_compare(p_cb->rcb[i].app_uuid, p_msg->api_reg.app_uuid)) 216 memcpy(&cb_data.reg_oper.uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); 223 p_cb->rcb[first_unuse].p_cback = p_msg->api_reg.p_cback; 224 memcpy(&p_cb->rcb[first_unuse].app_uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID)); 226 p_cb->rcb[first_unuse].gatt_if = GATT_Register(&p_msg->api_reg.app_uuid, &bta_gatts_cback); 254 if (p_msg->api_reg.p_cback) 255 (*p_msg->api_reg.p_cback)(BTA_GATTS_REG_EVT, &cb_data); 268 void bta_gatts_start_if(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg) 270 if (bta_gatts_find_app_rcb_by_app_if(p_msg->int_start_if.server_if) [all...] |
bta_gatts_int.h | 225 extern BOOLEAN bta_gatts_hdl_event(BT_HDR *p_msg); 229 extern void bta_gatts_register(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg); 230 extern void bta_gatts_start_if(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg); 231 extern void bta_gatts_deregister(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA *p_msg); 232 extern void bta_gatts_create_srvc(tBTA_GATTS_CB *p_cb, tBTA_GATTS_DATA * p_msg); 233 extern void bta_gatts_add_include_srvc(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA * p_msg); 234 extern void bta_gatts_add_char(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA * p_msg); 235 extern void bta_gatts_add_char_descr(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA * p_msg); 236 extern void bta_gatts_delete_service(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA * p_msg); 237 extern void bta_gatts_start_service(tBTA_GATTS_SRVC_CB *p_srvc_cb, tBTA_GATTS_DATA * p_msg); [all...] |
/external/bluetooth/bluedroid/bta/jv/ |
bta_jv_api.c | 149 tBTA_JV_API_SET_DISCOVERABILITY *p_msg; local 152 if ((p_msg = (tBTA_JV_API_SET_DISCOVERABILITY *)GKI_getbuf(sizeof(tBTA_JV_MSG))) != NULL) 154 p_msg->hdr.event = BTA_JV_API_SET_DISCOVERABILITY_EVT; 155 p_msg->disc_mode = disc_mode; 156 bta_sys_sendmsg(p_msg); 194 BT_HDR *p_msg; local 197 if ((p_msg = (BT_HDR *)GKI_getbuf(sizeof(BT_HDR))) != NULL) 199 p_msg->event = BTA_JV_API_GET_LOCAL_DEVICE_ADDR_EVT; 200 bta_sys_sendmsg(p_msg); 222 BT_HDR *p_msg; local 250 tBTA_JV_API_GET_REMOTE_NAME *p_msg; local 367 tBTA_JV_API_SET_SERVICE_CLASS *p_msg; local 397 tBTA_JV_API_SET_ENCRYPTION *p_msg; local 541 BT_HDR *p_msg; local 568 tBTA_JV_API_FREE_SCN *p_msg; local 622 tBTA_JV_API_START_DISCOVERY *p_msg; local 656 tBTA_JV_API_CANCEL_DISCOVERY *p_msg; local 687 tBTA_JV_API_GET_SERVICES_LENGTH *p_msg; local 779 tBTA_JV_API_SERVICE_SELECT *p_msg; local 834 tBTA_JV_API_CREATE_RECORD *p_msg; local 900 tBTA_JV_API_ADD_ATTRIBUTE *p_msg; local 931 tBTA_JV_API_ADD_ATTRIBUTE *p_msg; local 958 tBTA_JV_API_ADD_ATTRIBUTE *p_msg; local 1017 tBTA_JV_API_L2CAP_CONNECT *p_msg; local 1050 tBTA_JV_API_L2CAP_CLOSE *p_msg; local 1085 tBTA_JV_API_L2CAP_SERVER *p_msg; local 1118 tBTA_JV_API_L2CAP_SERVER *p_msg; local 1301 tBTA_JV_API_L2CAP_WRITE *p_msg; local 1340 tBTA_JV_API_RFCOMM_CONNECT *p_msg; local 1373 tBTA_JV_API_RFCOMM_CLOSE *p_msg; local 1414 tBTA_JV_API_RFCOMM_SERVER *p_msg; local 1455 tBTA_JV_API_RFCOMM_SERVER *p_msg; local 1483 tBTA_JV_API_RFCOMM_READ *p_msg; local 1573 tBTA_JV_API_RFCOMM_WRITE *p_msg; local 1619 tBTA_JV_API_SET_PM_PROFILE *p_msg; local [all...] |
/external/libnfc-nci/src/nfa/ee/ |
nfa_ee_api.c | 51 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 BT_HDR *p_msg; local 541 tNFA_EE_API_CONNECT *p_msg; local 587 tNFA_EE_API_SEND_DATA *p_msg; local 633 tNFA_EE_API_DISCONNECT *p_msg; local [all...] |
/external/libnfc-nci/src/nfa/p2p/ |
nfa_p2p_api.c | 65 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/ |
avrc_pars_ct.c | 42 static tAVRC_STS avrc_pars_vendor_rsp(tAVRC_MSG_VENDOR *p_msg, tAVRC_RESPONSE *p_result, UINT8 *p_buf, UINT16 buf_len) 45 UINT8 *p = p_msg->p_vendor_data; 60 AVRC_TRACE_DEBUG4("avrc_pars_vendor_rsp() ctype:0x%x pdu:0x%x, len:%d/0x%x", p_msg->hdr.ctype, p_result->pdu, len, len); 61 if (p_msg->hdr.ctype == AVRC_RSP_REJ) 87 && (AVRC_RSP_CHANGED==p_msg->hdr.ctype || AVRC_RSP_INTERIM==p_msg->hdr.ctype 88 || AVRC_RSP_REJ==p_msg->hdr.ctype || AVRC_RSP_NOT_IMPL==p_msg->hdr.ctype)) 90 p_result->reg_notif.status=p_msg->hdr.ctype; 116 tAVRC_STS AVRC_ParsResponse (tAVRC_MSG *p_msg, tAVRC_RESPONSE *p_result, UINT8 *p_buf, UINT16 buf_len [all...] |
avrc_opt.c | 37 ** 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) 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->hdr.subunit_id [all...] |
/external/libnfc-nci/src/nfc/include/ |
nci_hmsgs.h | 35 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);
|
ndef_utils.h | 101 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, UINT32 max_size, UINT32 *p_cur_size [all...] |
/external/bluetooth/bluedroid/stack/btu/ |
btu_init.c | 150 void btu_uipc_rx_cback(BT_HDR *p_msg) 153 p_msg->event, p_msg->len, p_msg->offset); 154 GKI_send_msg(BTU_TASK, BTU_HCI_RCV_MBOX, p_msg);
|
btu_task.c | 165 BT_HDR *p_msg; local 233 while ((p_msg = (BT_HDR *) GKI_read_mbox (BTU_HCI_RCV_MBOX)) != NULL) 236 switch (p_msg->event & BT_EVT_MASK) 240 l2c_rcv_acl_data (p_msg); 245 l2c_link_segments_xmitted (p_msg); 250 btm_route_sco_data (p_msg); 255 btu_hcif_process_event ((UINT8)(p_msg->event & BT_SUB_EVT_MASK), p_msg); 256 GKI_freebuf(p_msg); 266 btu_hcif_send_cmd ((UINT8)(p_msg->event & BT_SUB_EVT_MASK), p_msg) 582 BT_HDR *p_msg; local 638 BT_HDR *p_msg; local 679 BT_HDR *p_msg; local [all...] |
/external/bluetooth/bluedroid/stack/avdt/ |
avdt_msg.c | 54 typedef void (*tAVDT_MSG_BLD)(UINT8 **p, tAVDT_MSG *p_msg); 57 typedef UINT8 (*tAVDT_MSG_PRS)(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len); 64 static void avdt_msg_bld_none(UINT8 **p, tAVDT_MSG *p_msg); 65 static void avdt_msg_bld_single(UINT8 **p, tAVDT_MSG *p_msg); 66 static void avdt_msg_bld_setconfig_cmd(UINT8 **p, tAVDT_MSG *p_msg); 67 static void avdt_msg_bld_reconfig_cmd(UINT8 **p, tAVDT_MSG *p_msg); 68 static void avdt_msg_bld_multi(UINT8 **p, tAVDT_MSG *p_msg); 69 static void avdt_msg_bld_security_cmd(UINT8 **p, tAVDT_MSG *p_msg); 70 static void avdt_msg_bld_discover_rsp(UINT8 **p, tAVDT_MSG *p_msg); 71 static void avdt_msg_bld_svccap(UINT8 **p, tAVDT_MSG *p_msg); [all...] |