/system/bt/test/mock/ |
D | mock_stack_avrc_pars.ct.cc | 40 uint8_t* p_buf, uint16_t* buf_len) { in AVRC_Ctrl_ParsResponse() argument 46 UNUSED_ATTR uint16_t buf_len) { in AVRC_ParsResponse() argument
|
D | mock_stack_avrc_pars_tg.cc | 43 uint8_t* p_buf, uint16_t buf_len) { in AVRC_ParsCommand() argument
|
D | mock_bta_av_api.cc | 91 uint8_t buf_len) { in BTA_AvRemoteVendorUniqueCmd() argument
|
/system/bt/btif/test/ |
D | btif_rc_test.cc | 51 uint8_t* p_buf, uint16_t* buf_len) { in AVRC_Ctrl_ParsResponse() argument 55 uint8_t* p_buf, uint16_t buf_len) { in AVRC_ParsCommand() argument 60 UNUSED_ATTR uint16_t buf_len) { in AVRC_ParsResponse() argument 72 uint8_t buf_len) {} in BTA_AvRemoteVendorUniqueCmd() argument
|
/system/core/fastboot/device/ |
D | usb.cpp | 143 int buf_len = std::min(len, static_cast<int>(h->io_size)); in usb_ffs_do_aio() local 144 io_prep(&aiob->iocb[i], aiob->fd, cur_data, buf_len, 0, read); in usb_ffs_do_aio() 146 len -= buf_len; in usb_ffs_do_aio() 147 cur_data += buf_len; in usb_ffs_do_aio() 149 if (len == 0 && buf_len % packet_size == 0 && read) { in usb_ffs_do_aio()
|
/system/bt/stack/avrc/ |
D | avrc_pars_tg.cc | 107 uint16_t buf_len) { in avrc_pars_vendor_cmd() argument 205 ((xx < p_result->set_app_val.num_val) && (buf_len > size_needed)); in avrc_pars_vendor_cmd() 436 uint16_t buf_len) { in avrc_pars_browsing_cmd() argument 483 if (buf_len < (count << 2)) in avrc_pars_browsing_cmd() 484 p_result->get_items.attr_count = count = (buf_len >> 2); in avrc_pars_browsing_cmd() 528 if (buf_len < (count << 2)) in avrc_pars_browsing_cmd() 529 p_result->get_attrs.attr_count = count = (buf_len >> 2); in avrc_pars_browsing_cmd() 571 if (p_result->search.string.str_len > buf_len) { in avrc_pars_browsing_cmd() 572 p_result->search.string.str_len = buf_len; in avrc_pars_browsing_cmd() 606 uint8_t* p_buf, uint16_t buf_len) { in AVRC_ParsCommand() argument [all …]
|
D | avrc_pars_ct.cc | 531 uint8_t* p_buf, uint16_t* buf_len) { in avrc_ctrl_pars_vendor_rsp() argument 875 uint8_t* p_buf, uint16_t* buf_len) { in AVRC_Ctrl_ParsResponse() argument 881 avrc_ctrl_pars_vendor_rsp(&p_msg->vendor, p_result, p_buf, buf_len); in AVRC_Ctrl_ParsResponse() 912 UNUSED_ATTR uint16_t buf_len) { in AVRC_ParsResponse() argument
|
D | avrc_api.cc | 528 uint16_t buf_len = BT_DEFAULT_BUFFER_SIZE - sizeof(BT_HDR); in avrc_proc_far_msg() local 533 if ((p_rcb->p_rmsg->offset + p_pkt->len) > buf_len) { in avrc_proc_far_msg() 536 p_pkt->len = buf_len - p_rcb->p_rmsg->offset; in avrc_proc_far_msg()
|
/system/bt/stack/include/ |
D | avrc_api.h | 689 uint8_t* p_buf, uint16_t buf_len); 703 uint8_t* p_buf, uint16_t buf_len); 718 uint8_t* p_buf, uint16_t* buf_len);
|
/system/bt/bta/hf_client/ |
D | bta_hf_client_at.h | 39 uint16_t buf_len; member
|
D | bta_hf_client_at.cc | 123 uint16_t buf_len) { in bta_hf_client_queue_at() argument 130 new_cmd->buf_len = buf_len; in bta_hf_client_queue_at() 132 memcpy(new_cmd->buf, buf, buf_len); in bta_hf_client_queue_at() 171 uint16_t buf_len) { in bta_hf_client_send_at() argument 179 APPL_TRACE_DEBUG("%s: %.*s", __func__, buf_len - 1, buf); in bta_hf_client_send_at() 193 PORT_WriteData(client_cb->conn_handle, buf, buf_len, &len); in bta_hf_client_send_at() 200 bta_hf_client_queue_at(client_cb, cmd, buf, buf_len); in bta_hf_client_send_at() 211 bta_hf_client_send_at(client_cb, cur->cmd, cur->buf, cur->buf_len); in bta_hf_client_send_queued_at()
|
/system/nfc/src/nfc/include/ |
D | rw_api.h | 424 extern tNFC_STATUS RW_T1tReadNDef(uint8_t* p_buffer, uint16_t buf_len); 573 extern tNFC_STATUS RW_T2tReadNDef(uint8_t* p_buffer, uint16_t buf_len); 1398 extern tNFC_STATUS RW_MfcReadNDef(uint8_t* p_buffer, uint16_t buf_len); 1429 extern tNFC_STATUS RW_MfcWriteNDef(uint16_t buf_len, uint8_t* p_buffer);
|
/system/bt/bta/av/ |
D | bta_av_api.cc | 426 uint8_t buf_len) { in BTA_AvRemoteVendorUniqueCmd() argument 428 sizeof(tBTA_AV_API_REMOTE_CMD) + buf_len); in BTA_AvRemoteVendorUniqueCmd() 435 p_buf->msg.pass_len = buf_len; in BTA_AvRemoteVendorUniqueCmd() 440 memcpy(p_buf->msg.p_pass_data, p_msg, buf_len); in BTA_AvRemoteVendorUniqueCmd()
|
/system/bt/stack/gatt/ |
D | gatt_sr.cc | 746 uint16_t buf_len = in gatts_process_find_info() local 749 BT_HDR* p_msg = (BT_HDR*)osi_calloc(buf_len); in gatts_process_find_info() 756 buf_len = payload_size - 2; in gatts_process_find_info() 760 reason = gatt_build_find_info_rsp(el, p_msg, buf_len, s_hdl, e_hdl); in gatts_process_find_info() 886 uint16_t buf_len = payload_size - 2; in gatts_process_read_by_type_req() local 895 tcb, cid, el.p_db, op_code, p_msg, s_hdl, e_hdl, uuid, &buf_len, in gatts_process_read_by_type_req() 1024 size_t buf_len = sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET; in gatts_process_read_req() local 1036 BT_HDR* p_msg = (BT_HDR*)osi_calloc(buf_len); in gatts_process_read_req() 1043 buf_len = payload_size - 1; in gatts_process_read_req() 1051 (uint16_t)buf_len, sec_flag, key_size, 0); in gatts_process_read_req()
|
/system/core/init/ |
D | selinux.cpp | 510 void SelinuxAvcLog(char* buf, size_t buf_len) { in SelinuxAvcLog() argument 511 CHECK_GT(buf_len, 0u); in SelinuxAvcLog() 513 size_t str_len = strnlen(buf, buf_len); in SelinuxAvcLog()
|
/system/security/keystore2/src/crypto/ |
D | certificate_utils.cpp | 612 int buf_len = i2d_re_X509_tbs(certificate, &cert_buf); in signCertWith() local 613 if (buf_len < 0) { in signCertWith() 618 auto signature = sign(cert_buf, buf_len); in signCertWith()
|
/system/bt/stack/smp/ |
D | smp_utils.cc | 310 const uint8_t* p_buf, size_t buf_len) { in smp_log_metrics() argument 311 if (buf_len < 1) { in smp_log_metrics() 312 LOG(WARNING) << __func__ << ": buffer is too small, size is " << buf_len; in smp_log_metrics() 317 buf_len--; in smp_log_metrics() 319 if (cmd == SMP_OPCODE_PAIRING_FAILED && buf_len >= 1) { in smp_log_metrics()
|
D | smp_int.h | 414 const uint8_t* p_buf, size_t buf_len);
|
/system/nfc/src/nfc/tags/ |
D | rw_mfc.cc | 322 tNFC_STATUS RW_MfcWriteNDef(uint16_t buf_len, uint8_t* p_buffer) { in RW_MfcWriteNDef() argument 336 p_mfc->ndef_length = buf_len; in RW_MfcWriteNDef() 1196 tNFC_STATUS RW_MfcReadNDef(uint8_t* p_buffer, uint16_t buf_len) { in RW_MfcReadNDef() argument 1212 if (buf_len < p_mfc->ndef_length) { in RW_MfcReadNDef() 1213 LOG(ERROR) << __func__ << " buffer size=" << buf_len in RW_MfcReadNDef()
|
D | rw_t1t_ndef.cc | 2323 tNFC_STATUS RW_T1tReadNDef(uint8_t* p_buffer, uint16_t buf_len) { in RW_T1tReadNDef() argument 2361 if (buf_len < p_t1t->ndef_msg_len) { in RW_T1tReadNDef() 2364 buf_len, p_t1t->ndef_msg_len); in RW_T1tReadNDef()
|
D | rw_t2t_ndef.cc | 2941 tNFC_STATUS RW_T2tReadNDef(uint8_t* p_buffer, uint16_t buf_len) { in RW_T2tReadNDef() argument 2958 if (buf_len < p_t2t->ndef_msg_len) { in RW_T2tReadNDef() 2961 buf_len, p_t2t->ndef_msg_len); in RW_T2tReadNDef()
|
/system/bt/stack/avct/ |
D | avct_lcb_act.cc | 131 uint16_t buf_len = BT_DEFAULT_BUFFER_SIZE - sizeof(BT_HDR); in avct_lcb_msg_asmbl() local 138 if ((p_lcb->p_rx_msg->offset + p_buf->len) > buf_len) { in avct_lcb_msg_asmbl()
|
/system/bt/bta/include/ |
D | bta_av_api.h | 585 uint8_t buf_len);
|
/system/bt/stack/avdt/ |
D | avdt_msg.cc | 1286 uint16_t buf_len = BT_DEFAULT_BUFFER_SIZE - sizeof(BT_HDR); in avdt_msg_asmbl() local 1293 if ((p_ccb->p_rx_msg->offset + p_buf->len) > buf_len) { in avdt_msg_asmbl()
|
/system/chre/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 2223 Verifier(const uint8_t *buf, size_t buf_len, uoffset_t _max_depth = 64, 2226 size_(buf_len),
|