/system/bt/stack/avrc/ |
D | avrc_bld_ct.c | 43 UINT8 *p_data, *p_start; in avrc_bld_next_cmd() local 48 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_next_cmd() 49 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_next_cmd() 54 p_pkt->len = (p_data - p_start); in avrc_bld_next_cmd() 76 UINT8 *p_data, *p_start; in avrc_bld_set_abs_volume_cmd() local 80 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_set_abs_volume_cmd() 81 p_data = p_start + 2; /* pdu + rsvd */ in avrc_bld_set_abs_volume_cmd() 85 p_pkt->len = (p_data - p_start); in avrc_bld_set_abs_volume_cmd() 101 UINT8 *p_data, *p_start; in avrc_bld_vol_change_notfn() local 106 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_vol_change_notfn() [all …]
|
D | avrc_bld_tg.c | 43 UINT8 *p_data, *p_start, *p_len, *p_count; in avrc_bld_get_capability_rsp() local 59 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_get_capability_rsp() 60 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_get_capability_rsp() 74 p_data = p_start + p_pkt->len; in avrc_bld_get_capability_rsp() 102 p_pkt->len = (p_data - p_start); in avrc_bld_get_capability_rsp() 121 UINT8 *p_data, *p_start, *p_len, *p_num; in avrc_bld_list_app_settings_attr_rsp() local 127 p_start = (UINT8 *)(p_pkt + 1) + p_pkt->offset; in avrc_bld_list_app_settings_attr_rsp() 128 p_data = p_len = p_start + 2; /* pdu + rsvd */ in avrc_bld_list_app_settings_attr_rsp() 140 p_data = p_start + p_pkt->len; in avrc_bld_list_app_settings_attr_rsp() 154 p_pkt->len = (p_data - p_start); in avrc_bld_list_app_settings_attr_rsp() [all …]
|
D | avrc_api.c | 990 UINT8 *p_start = NULL; in AVRC_MsgReq() local 1007 p_start = ((UINT8 *)(p_pkt + 1) + p_pkt->offset); in AVRC_MsgReq() 1019 p_start = ((UINT8 *)(p_pkt + 1) + p_pkt->offset); in AVRC_MsgReq() 1051 if (p_pkt_new && (p_start != NULL)) in AVRC_MsgReq() 1055 p_fcb->frag_pdu = *p_start; in AVRC_MsgReq() 1063 p_start -= AVRC_VENDOR_HDR_SIZE; in AVRC_MsgReq() 1064 memcpy (p_data, p_start, AVRC_MAX_CTRL_DATA_LEN); in AVRC_MsgReq()
|
/system/bt/stack/mcap/ |
D | mca_cact.c | 100 UINT8 *p, *p_start; in mca_ccb_snd_req() local 128 p = p_start = (UINT8*)(p_pkt + 1) + L2CAP_MIN_OFFSET; in mca_ccb_snd_req() 137 p_pkt->len = p - p_start; in mca_ccb_snd_req() 166 UINT8 *p, *p_start; in mca_ccb_snd_rsp() local 175 p = p_start = (UINT8*)(p_pkt + 1) + L2CAP_MIN_OFFSET; in mca_ccb_snd_rsp() 200 p_pkt->len = p - p_start; in mca_ccb_snd_rsp() 263 UINT8 *p, *p_start; in mca_ccb_hdl_req() local 416 p = p_start = (UINT8*)(p_buf + 1) + L2CAP_MIN_OFFSET; in mca_ccb_hdl_req() 427 p_buf->len = p - p_start; in mca_ccb_hdl_req()
|
/system/bt/stack/sdp/ |
D | sdp_discovery.c | 121 UINT8 *p, *p_start, *p_param_len; in sdp_snd_service_search_req() local 133 p = p_start = (UINT8 *)(p_cmd + 1) + L2CAP_MIN_OFFSET; in sdp_snd_service_search_req() 171 p_cmd->len = (UINT16)(p - p_start); in sdp_snd_service_search_req() 404 UINT8 *p_start, *p_param_len; in process_service_attr_rsp() local 498 p = p_start = (UINT8 *)(p_msg + 1) + L2CAP_MIN_OFFSET; in process_service_attr_rsp() 534 p_msg->len = (UINT16)(p - p_start); in process_service_attr_rsp() 562 UINT8 *p, *p_start, *p_end, *p_param_len; in process_service_search_attr_rsp() local 644 p = p_start = (UINT8 *)(p_msg + 1) + L2CAP_MIN_OFFSET; in process_service_search_attr_rsp() 685 p_msg->len = p - p_start; in process_service_search_attr_rsp()
|
/system/bt/stack/a2dp/ |
D | a2d_sbc.c | 389 void A2D_ParsSbcMplHdr(UINT8 *p_src, BOOLEAN *p_frag, BOOLEAN *p_start, BOOLEAN *p_last, UINT8 *p_n… in A2D_ParsSbcMplHdr() argument 391 if(p_src && p_frag && p_start && p_last && p_num) in A2D_ParsSbcMplHdr() 394 *p_start= (*p_src & A2D_SBC_HDR_S_MSK) ? TRUE: FALSE; in A2D_ParsSbcMplHdr()
|
/system/bt/stack/avdt/ |
D | avdt_msg.c | 1481 UINT8 *p_start; in avdt_msg_send_cmd() local 1493 p_start = p = (UINT8 *)(p_buf + 1) + p_buf->offset; in avdt_msg_send_cmd() 1499 p_buf->len = (UINT16) (p - p_start); in avdt_msg_send_cmd() 1550 UINT8 *p_start; in avdt_msg_send_rsp() local 1558 p_start = p = (UINT8 *)(p_buf + 1) + p_buf->offset; in avdt_msg_send_rsp() 1564 p_buf->len = (UINT16) (p - p_start); in avdt_msg_send_rsp() 1595 UINT8 *p_start; in avdt_msg_send_rej() local 1603 p_start = p = (UINT8 *)(p_buf + 1) + p_buf->offset; in avdt_msg_send_rej() 1626 p_buf->len = (UINT16) (p - p_start); in avdt_msg_send_rej() 1656 UINT8 *p_start; in avdt_msg_send_grej() local [all …]
|
D | avdt_scb_act.c | 244 UINT8 *p, *p_start; in avdt_scb_hdl_pkt_no_frag() local 254 p = p_start = (UINT8 *)(p_data->p_pkt + 1) + p_data->p_pkt->offset; in avdt_scb_hdl_pkt_no_frag() 277 offset = (UINT16) (p - p_start); in avdt_scb_hdl_pkt_no_frag() 283 pad_len = *(p_start + p_data->p_pkt->len); in avdt_scb_hdl_pkt_no_frag() 337 UINT8 *p_start = p; in avdt_scb_hdl_report() local 398 p_start += len; in avdt_scb_hdl_report() 399 return p_start; in avdt_scb_hdl_report()
|
/system/bt/stack/include/ |
D | a2d_sbc.h | 206 BOOLEAN *p_start, BOOLEAN *p_last,
|
/system/bt/stack/rfcomm/ |
D | rfc_ts_frames.c | 578 UINT8 *p_start = p_data; in rfc_parse_data() local 627 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) in rfc_parse_data() 638 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) in rfc_parse_data() 649 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) in rfc_parse_data() 660 || !rfc_check_fcs (RFCOMM_CTRL_FRAME_LEN, p_start, fcs)) in rfc_parse_data() 674 else if (!rfc_check_fcs (2, p_start, fcs)) in rfc_parse_data()
|
/system/bt/btif/src/ |
D | btif_storage.c | 203 char *p_start = str; in btif_in_split_uuids_string_to_list() local 209 p_needle = strchr(p_start, ' '); in btif_in_split_uuids_string_to_list() 210 if (p_needle < p_start) break; in btif_in_split_uuids_string_to_list() 212 strncpy(buf, p_start, (p_needle-p_start)); in btif_in_split_uuids_string_to_list() 215 p_start = ++p_needle; in btif_in_split_uuids_string_to_list() 217 } while (*p_start != 0); in btif_in_split_uuids_string_to_list()
|
D | btif_sock_l2cap.c | 432 static void on_srv_l2cap_listen_started(tBTA_JV_L2CAP_START *p_start, uint32_t id) in on_srv_l2cap_listen_started() argument 439 if (p_start->status != BTA_JV_SUCCESS) { in on_srv_l2cap_listen_started() 440 APPL_TRACE_ERROR("Error starting l2cap_listen - status: 0x%04x", p_start->status); in on_srv_l2cap_listen_started() 444 sock->handle = p_start->handle; in on_srv_l2cap_listen_started()
|
D | btif_sock_rfc.c | 459 static void on_srv_rfc_listen_started(tBTA_JV_RFCOMM_START *p_start, uint32_t id) { in on_srv_rfc_listen_started() argument 466 if (p_start->status == BTA_JV_SUCCESS) { in on_srv_rfc_listen_started() 467 slot->rfc_handle = p_start->handle; in on_srv_rfc_listen_started()
|
/system/extras/perfprofd/quipper/ |
D | perf_parser.cc | 461 uint64_t* p_start, in MapMmapEvent() argument 472 uint64_t start = *p_start; in MapMmapEvent() 522 *p_start = mapped_addr; in MapMmapEvent()
|
D | perf_parser.h | 183 uint64_t* p_start,
|
/system/bt/stack/smp/ |
D | smp_keys.c | 142 UINT8 *p_start = NULL; in smp_encrypt_data() local 155 if ((p_start = (UINT8 *)GKI_getbuf((SMP_ENCRYT_DATA_SIZE*4))) == NULL) in smp_encrypt_data() 164 memset(p_start, 0, SMP_ENCRYT_DATA_SIZE * 4); in smp_encrypt_data() 165 p = p_start; in smp_encrypt_data() 167 p_rev_data = p = p_start + SMP_ENCRYT_DATA_SIZE; /* start at byte 16 */ in smp_encrypt_data() 168 REVERSE_ARRAY_TO_STREAM (p, p_start, SMP_ENCRYT_DATA_SIZE); /* byte 16 to byte 31 */ in smp_encrypt_data() 174 smp_debug_print_nbyte_little_endian(p_start, (const UINT8 *)"Plain text", SMP_ENCRYT_DATA_SIZE); in smp_encrypt_data() 190 GKI_freebuf(p_start); in smp_encrypt_data()
|
/system/bt/stack/bnep/ |
D | bnep_utils.c | 175 UINT8 *p, *p_start; in bnep_send_conn_req() local 186 p = p_start = (UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET; in bnep_send_conn_req() 219 p_buf->len = (UINT16)(p - p_start); in bnep_send_conn_req()
|
/system/bt/stack/gatt/ |
D | gatt_int.h | 614 extern BOOLEAN gatt_is_last_attribute(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_start, tB…
|
D | gatt_utils.c | 417 BOOLEAN gatt_is_last_attribute(tGATT_SRV_LIST_INFO *p_list, tGATT_SRV_LIST_ELEM *p_start, tBT_UUID … in gatt_is_last_attribute() argument 419 tGATT_SRV_LIST_ELEM *p_srv= p_start->p_next; in gatt_is_last_attribute()
|