/external/bluetooth/bluedroid/stack/avrc/ |
avrc_opt.c | 51 BT_HDR *p_cmd; local 58 if ((p_cmd = (BT_HDR *) GKI_getpoolbuf(AVRC_META_CMD_POOL_ID)) != NULL) 61 if ((p_cmd = (BT_HDR *) GKI_getpoolbuf(AVRC_CMD_POOL_ID)) != NULL) 64 p_cmd->offset = AVCT_MSG_OFFSET; 65 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset; 74 p_cmd->len = (UINT16) (p_data + p_msg->vendor_len - (UINT8 *)(p_cmd + 1) - p_cmd->offset); 75 p_cmd->layer_specific = AVCT_DATA_CTRL 103 BT_HDR *p_cmd; local 148 BT_HDR *p_cmd; local [all...] |
avrc_api.c | 353 BT_HDR *p_cmd = NULL; local 738 BT_HDR *p_cmd = NULL; local 744 if ((p_cmd = (BT_HDR *) GKI_getpoolbuf(AVRC_CMD_POOL_ID)) != NULL) 746 p_cmd->offset = AVCT_MSG_OFFSET; 747 p_cmd->layer_specific = AVCT_DATA_CTRL; 748 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset; 771 p_cmd->len = (UINT16) (p_data - (UINT8 *)(p_cmd + 1) - p_cmd->offset) [all...] |
/external/bluetooth/bluedroid/stack/gatt/ |
att_protocol.c | 387 BT_HDR *p_cmd = NULL; local 404 p_cmd = attp_build_value_cmd(p_tcb->payload_size, 413 p_cmd = attp_build_opcode_cmd(op_code); 417 p_cmd = attp_build_err_cmd(p_msg->error.cmd_code, p_msg->error.handle, p_msg->error.reason); 421 p_cmd = attp_build_exec_write_cmd(op_code, 0); 425 p_cmd = attp_build_mtu_cmd(op_code, p_msg->mtu); 433 if (!p_cmd) 436 return p_cmd; 481 UINT8 attp_cl_send_cmd(tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 cmd_code, BT_HDR *p_cmd) 493 if (attp_send_msg_to_L2CAP(p_tcb, p_cmd)) 535 BT_HDR *p_cmd = NULL; local [all...] |
gatt_sr.c | 45 tGATT_SR_CMD *p_cmd = &p_tcb->sr_cmd; local 48 if ( (p_cmd->op_code == 0) || 60 p_cmd->trans_id = ++p_tcb->trans_id; 61 p_cmd->op_code = op_code; 62 p_cmd->handle = handle; 63 p_cmd->status = GATT_NOT_FOUND; 65 trans_id = p_cmd->trans_id; 120 static BOOLEAN process_read_multi_rsp (tGATT_SR_CMD *p_cmd, tGATT_STATUS status, 133 p_cmd->status = GATT_INSUF_RESOURCE; 139 GKI_enqueue (&p_cmd->multi_rsp_q, p_buf) [all...] |
gatt_cl.c | 1040 tGATT_CMD_Q *p_cmd = &p_tcb->cl_cmd_q[p_tcb->pending_cl_req]; local [all...] |
gatt_utils.c | 1916 tGATT_CMD_Q *p_cmd = &p_tcb->cl_cmd_q[p_tcb->next_slot_inq]; local 1945 tGATT_CMD_Q *p_cmd = &p_tcb->cl_cmd_q[p_tcb->pending_cl_req]; local [all...] |
gatt_int.h | 251 BT_HDR *p_cmd; member in struct:__anon3117
|
/external/bluetooth/bluedroid/stack/btu/ |
btu_hcif.c | 155 BT_HDR *p_cmd; local 175 if ((p_cmd = HCI_GET_CMD_BUF(p_buf->len + p_buf->offset - HCIC_PREAMBLE_SIZE)) == NULL) 181 memcpy (p_cmd, p_buf, sizeof(BT_HDR)); 196 memcpy ((UINT8 *)(p_cmd + 1), (UINT8 *)(p_buf + 1), sizeof(void *)); 199 memcpy ((UINT8 *)(p_cmd + 1) + p_cmd->offset, 203 GKI_enqueue(&(p_hci_cmd_cb->cmd_cmpl_q), p_cmd); 1168 BT_HDR *p_cmd; local 1433 BT_HDR *p_cmd = NULL; local 1527 BT_HDR *p_cmd; local 2204 BT_HDR *p_cmd; local [all...] |
/external/bluetooth/bluedroid/bta/ag/ |
bta_ag_at.c | 90 for (idx = 0; p_cb->p_at_tbl[idx].p_cmd[0] != 0; idx++) 92 if (!utl_strucmp(p_cb->p_at_tbl[idx].p_cmd, p_cb->p_cmd_buf)) 99 if (p_cb->p_at_tbl[idx].p_cmd[0] != 0) 102 p_arg = p_cb->p_cmd_buf + strlen(p_cb->p_at_tbl[idx].p_cmd);
|
bta_ag_at.h | 49 const char *p_cmd; /* AT command string */ member in struct:__anon2367
|
/external/bluetooth/bluedroid/stack/include/ |
avrc_api.h | 593 AVRC_API extern tAVRC_STS AVRC_BldCommand( tAVRC_COMMAND *p_cmd, BT_HDR **pp_pkt);
|
/external/bluetooth/bluedroid/stack/sdp/ |
sdp_discovery.c | 122 BT_HDR *p_cmd; local 126 if ((p_cmd = (BT_HDR *) GKI_getpoolbuf (SDP_POOL_ID)) == NULL) 132 p_cmd->offset = L2CAP_MIN_OFFSET; 133 p = p_start = (UINT8 *)(p_cmd + 1) + L2CAP_MIN_OFFSET; 171 p_cmd->len = (UINT16)(p - p_start); 178 L2CA_DataWrite (p_ccb->connection_id, p_cmd); [all...] |
/external/libnfc-nci/src/nfa/dm/ |
nfa_dm_act.c | 831 BT_HDR *p_cmd = (BT_HDR *)p_data; local 833 p_cmd->offset = sizeof (tNFA_DM_API_SEND_VSC) - BT_HDR_SIZE; 834 p_cmd->len = p_data->send_vsc.cmd_params_len; 835 NFC_SendVsCommand (p_data->send_vsc.oid, p_cmd, p_data->send_vsc.p_cback); [all...] |