/external/bluetooth/bluedroid/stack/gatt/ |
gatt_cl.c | 405 void gatt_process_find_type_value_rsp (tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT16 len, UINT8 *p_data) 408 UINT8 *p = p_data; 449 UINT16 len, UINT8 *p_data) 452 UINT8 *p = p_data, uuid_len = 0, type; 542 UINT16 len, UINT8 *p_data) 544 UINT8 opcode, reason, * p= p_data; 592 UINT16 len, UINT8 *p_data) 595 UINT8 *p= p_data; 640 UINT16 len, UINT8 *p_data) 646 UINT8 *p= p_data, i [all...] |
gatt_sr.c | 329 void gatt_process_exec_write_req (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) 331 UINT8 *p = p_data, flag, i = 0; 397 void gatt_process_read_multi_req (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) 401 UINT8 *p = p_data, i_rcb; 528 UINT16 e_hdl, UINT8 *p_data, tBT_UUID value) 694 UINT8 **p_data, tBT_UUID *p_uuid_filter, 700 UINT8 *p = *p_data; 739 *p_data = p; 757 void gatts_process_primary_service_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) 765 reason = gatts_validate_packet_format(op_code, &len, &p_data, &uuid, &s_hdl, &e_hdl) [all...] |
/external/bluetooth/bluedroid/bta/jv/ |
bta_jv_main.c | 42 typedef void (*tBTA_JV_ACTION)(tBTA_JV_MSG *p_data);
|
/external/bluetooth/bluedroid/btif/co/ |
bta_ag_co.c | 128 void bta_ag_co_tx_write(UINT16 handle, UINT8 * p_data, UINT16 len)
|
/external/bluetooth/bluedroid/stack/smp/ |
smp_api.c | 276 ** p_data - simple pairing Randomizer C. 279 void SMP_OobDataReply(BD_ADDR bd_addr, tSMP_STATUS res, UINT8 len, UINT8 *p_data) 292 if (res != SMP_SUCCESS || len == 0 || !p_data) 301 memcpy(p_cb->tk, p_data, len); 304 key.p_data = p_cb->tk;
|
/hardware/broadcom/libbt/include/ |
userial_vendor.h | 172 void userial_vendor_ioctl(userial_vendor_ioctl_op_t op, void *p_data);
|
/external/bluetooth/bluedroid/bta/include/ |
bta_jv_api.h | 291 UINT8 *p_data; /* This points the same location as the p_data member in struct:__anon3230 302 UINT8 *p_data; /* This points the same location as the p_data member in struct:__anon3231 380 UINT8 *p_data; /* This points the same location as the p_data member in struct:__anon3240 449 typedef void (tBTA_JV_DM_CBACK)(tBTA_JV_EVT event, tBTA_JV *p_data, void * user_data); 452 typedef void* (tBTA_JV_RFCOMM_CBACK)(tBTA_JV_EVT event, tBTA_JV *p_data, void *user_data); 455 typedef void (tBTA_JV_L2CAP_CBACK)(tBTA_JV_EVT event, tBTA_JV *p_data); [all...] |
/external/bluetooth/bluedroid/stack/srvc/ |
srvc_dis.c | 77 UINT8 dis_write_attr_value(tGATT_WRITE_REQ * p_data, tGATT_STATUS *p_status) 240 tGATT_STATUS status, tGATT_CL_COMPLETE *p_data) 252 if (p_data != NULL && status == GATT_SUCCESS) 254 pp = p_data->att_value.value; 260 if (p_data->att_value.len == DIS_SYSTEM_ID_SIZE) 269 if (p_data->att_value.len == DIS_PNP_ID_SIZE) 289 if ((p_str = (UINT8 *)GKI_getbuf((UINT16)(p_data->att_value.len + 1))) != NULL) 291 memset(p_str, 0, p_data->att_value.len + 1); 293 memcpy(p_str, p_data->att_value.value, p_data->att_value.len) [all...] |
/external/bluetooth/bluedroid/stack/include/ |
srvc_api.h | 54 UINT8 *p_data; member in struct:__anon3869 102 typedef void (tBA_CBACK)(UINT8 app_id, UINT8 event, tBA_WRITE_DATA *p_data);
|
avdt_api.h | 315 UINT8 *p_data; /* Pointer to security data */ member in struct:__anon3594 359 tAVDT_CTRL *p_data); 385 tAVDT_REPORT_DATA *p_data); [all...] |
/external/libnfc-nci/src/nfa/dm/ |
nfa_dm_ndef.c | 134 BOOLEAN nfa_dm_ndef_reg_hdlr (tNFA_DM_MSG *p_data) 138 tNFA_DM_API_REG_NDEF_HDLR *p_reg_info = (tNFA_DM_API_REG_NDEF_HDLR *) p_data; 208 BOOLEAN nfa_dm_ndef_dereg_hdlr (tNFA_DM_MSG *p_data) 210 tNFA_DM_API_DEREG_NDEF_HDLR *p_dereginfo = (tNFA_DM_API_DEREG_NDEF_HDLR *) p_data; 389 ndef_data.p_data = p_msg_buf; 402 ndef_data.p_data = NULL; /* Start of record */ 463 ndef_data.p_data = p_rec; /* Start of record */ 504 ndef_data.p_data = p_ndef_start; /* Start of NDEF message */
|
/hardware/libhardware/include/hardware/ |
nfc.h | 103 typedef void (nfc_stack_data_callback_t) (uint16_t data_len, uint8_t* p_data); 135 int (*write)(const struct nfc_nci_device *p_dev, uint16_t data_len, const uint8_t *p_data);
|
bt_gatt_client.h | 129 typedef void (*notify_callback)(int conn_id, btgatt_notify_params_t *p_data); 133 btgatt_read_params_t *p_data); 137 btgatt_write_params_t *p_data); 144 btgatt_read_params_t *p_data); 148 btgatt_write_params_t *p_data);
|
/external/bluetooth/bluedroid/stack/avct/ |
avct_lcb.c | 93 typedef void (*tAVCT_LCB_ACTION)(tAVCT_LCB *p_ccb, tAVCT_LCB_EVT *p_data); 193 void avct_lcb_event(tAVCT_LCB *p_lcb, UINT8 event, tAVCT_LCB_EVT *p_data) 216 (*avct_lcb_action[action])(p_lcb, p_data); 236 void avct_bcb_event(tAVCT_BCB *p_bcb, UINT8 event, tAVCT_LCB_EVT *p_data) 259 (*avct_bcb_action[action])(p_bcb, p_data); 349 void avct_lcb_dealloc(tAVCT_LCB *p_lcb, tAVCT_LCB_EVT *p_data)
|
/external/libnfc-nci/src/nfa/ce/ |
nfa_ce_act.c | 77 conn_evt.ndef_write_cplt.p_data = p_ce_data->update_info.p_data; 89 conn_evt.data.p_data = (UINT8 *) (p_ce_data->raw_frame.p_data + 1) + p_ce_data->raw_frame.p_data->offset; 90 conn_evt.data.len = p_ce_data->raw_frame.p_data->len; 96 conn_evt.ce_data.p_data = (UINT8 *) (p_ce_data->raw_frame.p_data + 1) + p_ce_data->raw_frame.p_data->offset; 97 conn_evt.ce_data.len = p_ce_data->raw_frame.p_data->len [all...] |
/external/libnfc-nci/src/nfa/include/ |
nfa_hci_api.h | 273 typedef void (tNFA_HCI_CBACK) (tNFA_HCI_EVT event, tNFA_HCI_EVT_DATA *p_data); 472 UINT8 *p_data); 493 UINT8 *p_data); 512 UINT8 *p_data); 544 UINT8 *p_data, 605 NFC_API extern void NFA_HciDebug (UINT8 action, UINT8 size, UINT8 *p_data);
|
nfa_p2p_api.h | 179 typedef void (tNFA_P2P_CBACK)(tNFA_P2P_EVT event, tNFA_P2P_EVT_DATA *p_data); 357 UINT8 *p_data); 367 ** - Information of UI PDU up to max_data_len is copied into p_data. 380 UINT8 *p_data, 413 UINT8 *p_data); 422 ** - Information of I PDU is copied into p_data up to max_data_len. 434 UINT8 *p_data,
|
/external/bluetooth/bluedroid/bta/ag/ |
bta_ag_sco.c | 264 static void bta_ag_sco_read_cback (UINT16 sco_inx, BT_HDR *p_data, tBTM_SCO_DATA_FLAG status) 272 bta_dm_sco_co_in_data (p_data, status); 326 static void bta_ag_esco_connreq_cback(tBTM_ESCO_EVT event, tBTM_ESCO_EVT_DATA *p_data) 330 UINT16 sco_inx = p_data->conn_evt.sco_inx; 344 bta_ag_sco_conn_rsp(p_scb, &p_data->conn_evt); 354 bta_ag_cb.sco.conn_data = p_data->conn_evt; 363 bta_ag_sco_conn_rsp(p_scb, &p_data->conn_evt); 371 BTM_EScoConnRsp(p_data->conn_evt.sco_inx, HCI_ERR_HOST_REJECT_RESOURCES, NULL); 378 p_data->chg_evt.sco_inx, 379 p_data->chg_evt.retrans_window, p_data->chg_evt.rx_pkt_len [all...] |
bta_ag_api.c | 282 void BTA_AgResult(UINT16 handle, tBTA_AG_RES result, tBTA_AG_RES_DATA *p_data) 291 if(p_data) 293 memcpy(&p_buf->data, p_data, sizeof(p_buf->data));
|
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_pm.c | 745 void bta_dm_pm_btm_status(tBTA_DM_MSG *p_data) 751 APPL_TRACE_DEBUG1("bta_dm_pm_btm_status:%d", p_data->pm_status.status); 752 p_dev = bta_dm_find_peer_device(p_data->pm_status.bd_addr); 758 switch (p_data->pm_status.status) 763 if (p_data->pm_status.hci_status != 0) 765 APPL_TRACE_ERROR1("bta_dm_pm_btm_status hci_status=%d", p_data->pm_status.hci_status); 772 bta_dm_pm_stop_timer(p_data->pm_status.bd_addr); 773 bta_dm_pm_set_mode(p_data->pm_status.bd_addr, FALSE); 786 bta_dm_pm_stop_timer(p_data->pm_status.bd_addr); 787 bta_dm_pm_set_mode(p_data->pm_status.bd_addr, FALSE) [all...] |
/external/libnfc-nci/src/nfa/hci/ |
nfa_hci_api.c | 516 UINT8 *p_data) 533 if ((data_size == 0) || (p_data == NULL) || (data_size > NFA_MAX_HCI_CMD_LEN)) 551 memcpy (p_msg->data, p_data, data_size); 578 UINT8 *p_data) 594 if ((cmd_size && (p_data == NULL)) || (cmd_size > NFA_MAX_HCI_CMD_LEN)) 613 memcpy (p_msg->data, p_data, cmd_size); 639 UINT8 *p_data) 655 if ((data_size && (p_data == NULL)) || (data_size > NFA_MAX_HCI_RSP_LEN)) 673 memcpy (p_msg->data, p_data, data_size); 717 UINT8 *p_data, [all...] |
/external/libnfc-nci/src/nfc/nfc/ |
nfc_ncif.c | 139 UINT8 nfc_ncif_send_data (tNFC_CONN_CB *p_cb, BT_HDR *p_data) 157 if ((p_data == NULL) && /* called because credit from NFCC */ 174 if (p_data) 177 GKI_enqueue (&p_cb->tx_q, p_data); 181 p_data = (BT_HDR *)GKI_getfirst (&p_cb->tx_q); 184 while (p_data && (p_data->len > 0) && (p_cb->num_buff > 0)) 186 if (p_data->len <= buffer_size) 189 ulen = (UINT8)(p_data->len); 201 p = p_data; 985 void *p_data; local 1025 UINT8 data_len, ulen, tag, *p_data; local [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_sock_rfc.c | 101 static void jv_dm_cback(tBTA_JV_EVT event, tBTA_JV *p_data, void *user_data); 106 static void *rfcomm_cback(tBTA_JV_EVT event, tBTA_JV *p_data, void *user_data); 679 static void *rfcomm_cback(tBTA_JV_EVT event, tBTA_JV *p_data, void *user_data) 688 on_srv_rfc_listen_started(&p_data->rfc_start, (uint32_t)user_data); 692 on_cl_rfc_init(&p_data->rfc_cl_init, (uint32_t)user_data); 696 BTA_JvSetPmProfile(p_data->rfc_open.handle,BTA_JV_PM_ID_1,BTA_JV_CONN_OPEN); 697 on_cli_rfc_connect(&p_data->rfc_open, (uint32_t)user_data); 700 BTA_JvSetPmProfile(p_data->rfc_srv_open.handle,BTA_JV_PM_ALL,BTA_JV_CONN_OPEN); 701 new_user_data = (void*)on_srv_rfc_connect(&p_data->rfc_srv_open, (uint32_t)user_data); 706 on_rfc_close(&p_data->rfc_close, (uint32_t)user_data) [all...] |
/packages/apps/Bluetooth/jni/ |
com_android_bluetooth_gatt.cpp | 316 void btgattc_notify_cb(int conn_id, btgatt_notify_params_t *p_data) 322 p_data->bda.address[0], p_data->bda.address[1], p_data->bda.address[2], 323 p_data->bda.address[3], p_data->bda.address[4], p_data->bda.address[5]); 326 jbyteArray jb = sCallbackEnv->NewByteArray(p_data->len); 327 sCallbackEnv->SetByteArrayRegion(jb, 0, p_data->len, (jbyte *) p_data->value) [all...] |
/external/bluetooth/bluedroid/stack/mcap/ |
mca_csm.c | 187 void mca_ccb_event(tMCA_CCB *p_ccb, UINT8 event, tMCA_CCB_EVT *p_data) 207 (*mca_ccb_action[action])(p_ccb, p_data); 294 void mca_ccb_dealloc(tMCA_CCB *p_ccb, tMCA_CCB_EVT *p_data) 312 if (p_data) 316 evt_data.disconnect_ind.reason = p_data->close.reason;
|