/external/bluetooth/bluedroid/stack/avrc/ |
avrc_bld_tg.c | 41 static tAVRC_STS avrc_bld_get_capability_rsp (tAVRC_GET_CAPS_RSP *p_rsp, BT_HDR *p_pkt) 50 if (!(AVRC_IS_VALID_CAP_ID(p_rsp->capability_id))) 52 AVRC_TRACE_ERROR("avrc_bld_get_capability_rsp bad parameter. p_rsp: %x", p_rsp); 63 UINT8_TO_BE_STREAM(p_data, p_rsp->capability_id); 68 *p_count = p_rsp->count; 75 *p_count += p_rsp->count; 78 if (p_rsp->capability_id == AVRC_CAP_COMPANY_ID) 80 p_company_id = p_rsp->param.company_id; 81 for (xx=0; xx< p_rsp->count; xx++ [all...] |
avrc_api.c | 238 BT_HDR *p_rsp = NULL; local 332 p_rsp = p_pkt; 335 return p_rsp; 354 BT_HDR *p_rsp = NULL; local 483 p_rsp = avrc_proc_vendor_command(handle, label, *pp_pkt, p_msg); 484 if (p_rsp) 486 AVCT_MsgReq( handle, label, AVCT_RSP, p_rsp); 533 BT_HDR *p_rsp = NULL; local 583 p_rsp = p_pkt; /* this also sets free = FALSE, drop = TRUE */ 592 p_rsp->len = (UINT16) (p_rsp_data - (UINT8 *)(p_rsp + 1) - p_rsp->offset) [all...] |
/external/bluetooth/bluedroid/stack/sdp/ |
sdp_server.c | 179 UINT8 *p_rsp, *p_rsp_start, *p_rsp_param_len; local 264 p_rsp = p_rsp_start = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; 267 UINT8_TO_BE_STREAM (p_rsp, SDP_PDU_SERVICE_SEARCH_RSP); 268 UINT16_TO_BE_STREAM (p_rsp, trans_num); 271 p_rsp_param_len = p_rsp; 272 p_rsp += 2; 275 UINT16_TO_BE_STREAM (p_rsp, num_rsp_handles); 276 UINT16_TO_BE_STREAM (p_rsp, cur_handles); 282 UINT32_TO_BE_STREAM (p_rsp, rsp_handles[xx]); 286 UINT8_TO_BE_STREAM (p_rsp, SDP_CONTINUATION_LEN) 323 UINT8 *p_rsp, *p_rsp_start, *p_rsp_param_len; local 579 UINT8 *p_rsp, *p_rsp_start, *p_rsp_param_len; local [all...] |
sdp_utils.c | 315 UINT8 *p_rsp, *p_rsp_start, *p_rsp_param_len; local 330 p_rsp = p_rsp_start = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; 332 UINT8_TO_BE_STREAM (p_rsp, SDP_PDU_ERROR_RESPONSE); 333 UINT16_TO_BE_STREAM (p_rsp, trans_num); 336 p_rsp_param_len = p_rsp; 337 p_rsp += 2; 339 UINT16_TO_BE_STREAM (p_rsp, error_code); 343 ARRAY_TO_BE_STREAM (p_rsp, p_error_text, (int) strlen (p_error_text)); 346 rsp_param_len = p_rsp - p_rsp_param_len - 2; 350 p_buf->len = p_rsp - p_rsp_start [all...] |
sdp_db.c | 980 UINT8 *p_rsp; local [all...] |
/external/bluetooth/bluedroid/bta/include/ |
bta_gatts_co.h | 50 ** response is returned in p_rsp 54 ** p_rsp - response data for the request 57 ** the response is returned in p_rsp. 63 tBTA_GATTS_SRV_CHG_RSP *p_rsp);
|
/external/bluetooth/bluedroid/btif/co/ |
bta_gatts_co.c | 125 ** response is returned in p_rsp 129 ** p_rsp - response data for the request 132 ** the response is returned in p_rsp. 138 tBTA_GATTS_SRV_CHG_RSP *p_rsp) 142 UNUSED(p_rsp);
|
/external/bluetooth/bluedroid/stack/srvc/ |
srvc_eng.c | 217 UINT8 srvc_eng_process_read_req (UINT8 clcb_idx, tGATT_READ_REQ *p_data, tGATTS_RSP *p_rsp, tGATT_STATUS *p_status) 223 p_rsp->attr_value.offset = p_data->offset; 225 p_rsp->attr_value.handle = p_data->handle; 228 act = dis_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, p_data->is_long, p_status); 231 act = battery_s_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, p_data->is_long, p_status); 240 UINT8 srvc_eng_process_write_req (UINT8 clcb_idx, tGATT_WRITE_REQ *p_data, tGATTS_RSP *p_rsp, tGATT_STATUS *p_status) 243 UNUSED(p_rsp); 458 void srvc_sr_rsp(UINT8 clcb_idx, tGATT_STATUS st, tGATTS_RSP *p_rsp) 465 p_rsp);
|
srvc_eng_int.h | 81 extern void srvc_sr_rsp(UINT8 clcb_idx, tGATT_STATUS st, tGATTS_RSP *p_rsp);
|
srvc_battery.c | 307 void Battery_Rsp (UINT8 app_id, tGATT_STATUS st, UINT8 event, tBA_RSP_DATA *p_rsp) 334 UINT16_TO_STREAM(pp, p_rsp->clt_cfg); 342 UINT8_TO_STREAM(pp, p_rsp->ba_level); 354 UINT8_TO_STREAM(pp, p_rsp->rpt_ref.rpt_id); 355 UINT8_TO_STREAM(pp, p_rsp->rpt_ref.rpt_type);
|
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_sr.c | 126 tGATTS_RSP *p_rsp; local 172 p_rsp = (tGATTS_RSP *)GKI_getfirst (&p_cmd->multi_rsp_q); 176 p_rsp = (tGATTS_RSP *)GKI_getnext (p_rsp); 179 if (p_rsp != NULL) 182 total_len = (p_buf->len + p_rsp->attr_value.len); 187 len = p_rsp->attr_value.len - (total_len - mtu); 189 GATT_TRACE_DEBUG ("multi read overflow available len=%d val_len=%d", len, p_rsp->attr_value.len ); 193 len = p_rsp->attr_value.len; 196 if (p_rsp->attr_value.handle == p_cmd->multi_req.handles[ii] [all...] |
gatt_db.c | 315 ** p_rsp: Read By type response data. 329 BT_HDR *p_rsp, 342 UINT8 *p = (UINT8 *)(p_rsp + 1) + p_rsp->len + L2CAP_MIN_OFFSET; 391 if (p_rsp->offset == 0) 392 p_rsp->offset = len + 2; 394 if (p_rsp->offset == len + 2) 396 p_rsp->len += (len + 2); [all...] |
gatt_int.h | 691 extern tGATT_STATUS gatts_db_read_attr_value_by_type (tGATT_TCB *p_tcb, tGATT_SVC_DB *p_db, UINT8 op_code, BT_HDR *p_rsp, UINT16 s_handle,
|
/external/bluetooth/bluedroid/bta/gatt/ |
bta_gatts_int.h | 130 tBTA_GATTS_RSP *p_rsp; member in struct:__anon5208
|
bta_gatts_api.c | 443 p_buf->p_rsp = (tBTA_GATTS_RSP *)(p_buf + 1); 444 memcpy(p_buf->p_rsp, p_msg, sizeof(tBTA_GATTS_RSP));
|
bta_gatts_act.c | 41 tGATTS_SRV_CHG_RSP *p_rsp); 95 tGATTS_SRV_CHG_REQ *p_req, tGATTS_SRV_CHG_RSP *p_rsp) 99 (tBTA_GATTS_SRV_CHG_RSP *) p_rsp); 621 (tGATTS_RSP *)p_msg->api_rsp.p_rsp) != GATT_SUCCESS)
|
/external/bluetooth/bluedroid/stack/gap/ |
gap_ble.c | 279 tGATT_STATUS gap_proc_read (tGATTS_REQ_TYPE type, tGATT_READ_REQ *p_data, tGATTS_RSP *p_rsp) 285 p_rsp->attr_value.offset = p_data->offset; 287 p_rsp->attr_value.handle = p_data->handle; 289 status = gap_read_attr_value(p_data->handle, &p_rsp->attr_value, p_data->is_long);
|
/external/bluetooth/bluedroid/stack/include/ |
srvc_api.h | 201 GATT_API extern void Battery_Rsp (UINT8 app_id, tGATT_STATUS st, UINT8 event, tBA_RSP_DATA *p_rsp);
|
avrc_api.h | 606 AVRC_API extern tAVRC_STS AVRC_BldResponse( UINT8 handle, tAVRC_RESPONSE *p_rsp, BT_HDR **pp_pkt);
|
gatt_api.h | 652 tGATTS_SRV_CHG_RSP *p_rsp); [all...] |
/external/libnfc-nci/src/nfa/ee/ |
nfa_ee_act.c | 1431 tNFC_NFCEE_MODE_SET_REVT *p_rsp = p_data->mode_set_rsp.p_data; local 1542 tNFA_EE_NCI_WAIT_RSP *p_rsp = &p_data->wait_rsp; local [all...] |
/external/bluetooth/bluedroid/btif/src/ |
btif_gatt_server.c | 490 btgatt_response_t *p_rsp = &p_cb->response; local 491 btif_to_bta_response(&rsp_struct, p_rsp);
|
/external/libnfc-nci/src/nfa/hci/ |
nfa_hci_act.c | 1811 UINT8 *p_rsp = data; local [all...] |