HomeSort by relevance Sort by last modified time
    Searched refs:p_buf (Results 51 - 75 of 194) sorted by null

1 23 4 5 6 7 8

  /system/bt/bta/include/
bta_dm_co.h 158 extern void bta_dm_sco_co_out_data(BT_HDR** p_buf);
170 extern void bta_dm_sco_co_in_data(BT_HDR* p_buf, tBTM_SCO_DATA_FLAG status);
bta_pan_ci.h 96 BT_HDR* p_buf, bool ext);
bta_hl_co.h 168 * p_buf - the buffer pointer
176 uint16_t buf_size, uint8_t* p_buf,
207 * p_buf - the buffer pointer
216 uint16_t buf_size, uint8_t* p_buf,
  /system/bt/stack/bnep/
bnep_api.cc 314 * p_buf - pointer to address of buffer with data
330 BT_HDR* p_buf, uint16_t protocol,
336 osi_free(p_buf);
342 if (p_buf->len > BNEP_MTU_SIZE) {
343 BNEP_TRACE_ERROR("BNEP_Write() length %d exceeded MTU %d", p_buf->len,
345 osi_free(p_buf);
350 p_data = (uint8_t*)(p_buf + 1) + p_buf->offset;
361 org_len = p_buf->len;
371 osi_free(p_buf);
    [all...]
bnep_main.cc 405 BT_HDR* p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_bcb->xmit_q); local
407 if (!p_buf) break;
409 L2CA_DataWrite(l2cap_cid, p_buf);
429 static void bnep_data_ind(uint16_t l2cap_cid, BT_HDR* p_buf) {
431 uint8_t* p = (uint8_t*)(p_buf + 1) + p_buf->offset;
432 uint16_t rem_len = p_buf->len;
435 osi_free(p_buf);
446 osi_free(p_buf);
457 osi_free(p_buf);
    [all...]
  /system/nfc/src/nfc/nfc/
nfc_utils.cc 154 void* p_buf; local
158 while ((p_buf = GKI_dequeue(&p_cb->rx_q)) != NULL) GKI_freebuf(p_buf);
160 while ((p_buf = GKI_dequeue(&p_cb->tx_q)) != NULL) GKI_freebuf(p_buf);
  /system/bt/stack/rfcomm/
rfc_l2cap_if.cc 50 static void RFCOMM_BufDataInd(uint16_t lcid, BT_HDR* p_buf);
281 void RFCOMM_BufDataInd(uint16_t lcid, BT_HDR* p_buf) {
287 osi_free(p_buf);
291 uint8_t event = rfc_parse_data(p_mcb, &rfc_cb.rfc.rx_frame, p_buf);
297 osi_free(p_buf);
306 rfc_process_mx_message(p_mcb, p_buf);
312 osi_free(p_buf);
331 osi_free(p_buf);
341 osi_free(p_buf);
353 __func__, p_buf->len, rfc_cb.rfc.rx_frame.credit)
    [all...]
  /system/bt/btif/src/
btif_a2dp_sink.cc 111 tBTIF_MEDIA_SINK_DECODER_UPDATE* p_buf);
344 tBTIF_MEDIA_SINK_DECODER_UPDATE* p_buf = local
352 memcpy(p_buf->codec_info, p_codec_info, AVDT_CODEC_SIZE);
353 p_buf->hdr.event = BTIF_MEDIA_SINK_DECODER_UPDATE;
355 fixed_queue_enqueue(btif_a2dp_sink_cb.cmd_msg_queue, p_buf);
514 tBTIF_MEDIA_SINK_DECODER_UPDATE* p_buf) {
518 p_buf->codec_info[1], p_buf->codec_info[2],
519 p_buf->codec_info[3], p_buf->codec_info[4]
605 BT_HDR* p_buf = reinterpret_cast<BT_HDR*>(osi_malloc(sizeof(BT_HDR))); local
616 tBTIF_MEDIA_SINK_FOCUS_UPDATE* p_buf = local
651 BT_HDR* p_buf = reinterpret_cast<BT_HDR*>(osi_malloc(sizeof(BT_HDR))); local
    [all...]
  /system/bt/btif/include/
btif_a2dp_sink.h 113 // |p_buf| is the buffer to enqueue.
115 uint8_t btif_a2dp_sink_enqueue_buf(BT_HDR* p_buf);
  /system/bt/stack/include/
btu.h 43 void btu_hcif_process_event(uint8_t controller_id, BT_HDR* p_buf);
  /external/libmojo/mojo/public/cpp/bindings/tests/
buffer_unittest.cc 17 bool IsZero(void* p_buf, size_t size) {
18 char* buf = reinterpret_cast<char*>(p_buf);
  /system/bt/stack/l2cap/
l2c_link.cc 45 static bool l2c_link_send_to_lower(tL2C_LCB* p_lcb, BT_HDR* p_buf,
402 BT_HDR* p_buf = local
404 list_remove(p_lcb->link_xmit_data_q, p_buf);
405 osi_free(p_buf);
    [all...]
l2c_ble.cc 1337 tL2CAP_SEC_DATA* p_buf = NULL; local
1431 tL2CAP_SEC_DATA* p_buf = local
    [all...]
  /system/bt/udrv/include/
uipc.h 111 * @param p_buf Buffer for the message
116 const uint8_t* p_buf, uint16_t msglen);
123 * @param p_buf Buffer for the message
128 uint8_t* p_buf, uint32_t len);
  /system/nfc/src/gki/common/
gki_buffer.cc 392 ** Parameters p_buf - (input) address of the beginning of a buffer.
397 void GKI_freebuf(void* p_buf) {
402 if (!p_buf || gki_chk_buf_damage(p_buf)) {
408 p_hdr = (BUFFER_HDR_T*)((uint8_t*)p_buf - BUFFER_HDR_SIZE);
448 ** Parameters p_buf - (input) address of the beginning of a buffer.
453 uint16_t GKI_get_buf_size(void* p_buf) {
456 p_hdr = (BUFFER_HDR_T*)((uint8_t*)p_buf - BUFFER_HDR_SIZE);
476 bool gki_chk_buf_damage(void* p_buf) {
480 magic = (uint32_t*)((uint8_t*)p_buf + GKI_get_buf_size(p_buf))
564 void* p_buf = NULL; local
    [all...]
  /system/bt/stack/gatt/
gatt_sr.cc 126 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(tGATTS_RSP)); local
127 memcpy((void*)p_buf, (const void*)p_msg, sizeof(tGATTS_RSP));
128 fixed_queue_enqueue(p_cmd->multi_rsp_q, p_buf);
138 p_buf = (BT_HDR*)osi_calloc(len);
139 p_buf->offset = L2CAP_MIN_OFFSET;
140 p = (uint8_t*)(p_buf + 1) + p_buf->offset;
144 p_buf->len = 1;
164 total_len = (p_buf->len + p_rsp->attr_value.len);
180 p_buf->len += len
759 BT_HDR* p_buf = attp_build_sr_msg(tcb, GATT_RSP_MTU, &gatt_sr_msg); local
1081 tGATTS_SRV_CHG* p_buf = NULL; local
1109 tGATT_VALUE* p_buf = local
    [all...]
gatt_utils.cc 113 tGATTS_SRV_CHG* p_buf = gatt_is_bda_in_the_srv_chg_clt_list(bd_addr); local
114 if (p_buf != NULL) {
122 osi_free(fixed_queue_try_remove_from_queue(gatt_cb.srv_chg_clt_q, p_buf));
145 tGATTS_SRV_CHG* p_buf = (tGATTS_SRV_CHG*)list_node(node); local
146 if (!p_buf->srv_changed) {
148 p_buf->srv_changed = true;
150 memcpy(&req.srv_chg, p_buf, sizeof(tGATTS_SRV_CHG));
169 tGATT_VALUE* p_buf = (tGATT_VALUE*)osi_malloc(sizeof(tGATT_VALUE)); local
173 memcpy(p_buf, p_ind, sizeof(tGATT_VALUE));
174 fixed_queue_enqueue(p_tcb->pending_ind_q, p_buf);
190 tGATTS_SRV_CHG* p_buf = (tGATTS_SRV_CHG*)osi_malloc(sizeof(tGATTS_SRV_CHG)); local
301 tGATT_VALUE* p_buf = (tGATT_VALUE*)list_node(node); local
321 tGATTS_SRV_CHG* p_buf = NULL; local
330 tGATTS_SRV_CHG* p_buf = (tGATTS_SRV_CHG*)list_node(node); local
726 BT_HDR* p_buf; local
    [all...]
  /system/bt/stack/a2dp/
a2dp_vendor_aptx_encoder.cc 380 BT_HDR* p_buf = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); local
381 p_buf->offset = A2DP_APTX_OFFSET;
382 p_buf->len = 0;
383 p_buf->layer_specific = 0;
385 uint8_t* encoded_ptr = (uint8_t*)(p_buf + 1);
386 encoded_ptr += p_buf->offset;
415 osi_free(p_buf);
430 p_buf->len += encoded_bytes;
435 *((uint32_t*)(p_buf + 1)) = a2dp_aptx_encoder_cb.timestamp;
442 if (p_buf->len > 0)
    [all...]
a2dp_vendor_aptx_hd_encoder.cc 365 BT_HDR* p_buf = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); local
366 p_buf->offset = A2DP_APTX_HD_OFFSET;
367 p_buf->len = 0;
368 p_buf->layer_specific = 0;
370 uint8_t* encoded_ptr = (uint8_t*)(p_buf + 1);
371 encoded_ptr += p_buf->offset;
402 osi_free(p_buf);
418 p_buf->len += encoded_bytes;
423 *((uint32_t*)(p_buf + 1)) = a2dp_aptx_hd_encoder_cb.timestamp;
431 if (p_buf->len > 0)
    [all...]
a2dp_aac_encoder.cc 595 BT_HDR* p_buf = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); local
596 p_buf->offset = A2DP_AAC_OFFSET;
597 p_buf->len = 0;
598 p_buf->layer_specific = 0;
608 uint8_t* packet = (uint8_t*)(p_buf + 1) + p_buf->offset + p_buf->len;
612 osi_free(p_buf);
624 osi_free(p_buf);
629 p_buf->len += written
    [all...]
a2dp_vendor_ldac_encoder.cc 639 BT_HDR* p_buf = (BT_HDR*)osi_malloc(BT_DEFAULT_BUFFER_SIZE); local
640 p_buf->offset = A2DP_LDAC_OFFSET;
641 p_buf->len = 0;
642 p_buf->layer_specific = 0;
653 uint8_t* packet = (uint8_t*)(p_buf + 1) + p_buf->offset + p_buf->len;
657 osi_free(p_buf);
673 osi_free(p_buf);
677 p_buf->len += written
    [all...]
  /system/bt/stack/mcap/
mca_main.cc 408 void mca_tc_data_ind(tMCA_TC_TBL* p_tbl, BT_HDR* p_buf) {
422 p = (uint8_t*)(p_buf + 1) + p_buf->offset;
427 if (p_buf->len != mca_std_msg_len[*p]) {
429 __func__, *p, mca_std_msg_len[*p], p_buf->len);
434 *p, p_buf->len);
439 p_buf->len);
444 p_buf->layer_specific = rej_rsp_code;
446 mca_ccb_event(p_ccb, event, (tMCA_CCB_EVT*)p_buf);
448 osi_free(p_buf);
    [all...]
  /system/nfc/src/nfa/hci/
nfa_hci_utils.cc 39 static void handle_debug_loopback(NFC_HDR* p_buf, uint8_t type,
300 NFC_HDR* p_buf; local
317 p_buf = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID);
318 if (p_buf != NULL) {
319 p_buf->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE;
326 p_data = (uint8_t*)(p_buf + 1) + p_buf->offset;
336 p_buf->len = 1;
342 p_buf->len++;
348 p_buf->len += data_len
    [all...]
  /system/bt/bta/ag/
bta_ag_at.h 120 extern void bta_ag_at_parse(tBTA_AG_AT_CB* p_cb, char* p_buf, uint16_t len);
  /system/bt/stack/pan/
pan_api.cc 493 * p_buf - pointer to the data buffer
503 BT_HDR* p_buf, bool ext) {
510 osi_free(p_buf);
516 uint8_t* data = (uint8_t*)p_buf + sizeof(BT_HDR) + p_buf->offset;
519 BNEP_Write(pan_cb.pcb[i].handle, dst, data, p_buf->len, protocol, &src,
522 osi_free(p_buf);
537 osi_free(p_buf);
542 BNEP_WriteBuf(pan_cb.pcb[i].handle, dst, p_buf, protocol, &src, ext);
559 osi_free(p_buf);
    [all...]

Completed in 187 milliseconds

1 23 4 5 6 7 8