Home
last modified time | relevance | path

Searched refs:buf_len (Results 1 – 25 of 26) sorted by relevance

12

/system/bt/test/mock/
Dmock_stack_avrc_pars.ct.cc40 uint8_t* p_buf, uint16_t* buf_len) { in AVRC_Ctrl_ParsResponse() argument
46 UNUSED_ATTR uint16_t buf_len) { in AVRC_ParsResponse() argument
Dmock_stack_avrc_pars_tg.cc43 uint8_t* p_buf, uint16_t buf_len) { in AVRC_ParsCommand() argument
Dmock_bta_av_api.cc91 uint8_t buf_len) { in BTA_AvRemoteVendorUniqueCmd() argument
/system/bt/btif/test/
Dbtif_rc_test.cc51 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/
Dusb.cpp143 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/
Davrc_pars_tg.cc107 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 …]
Davrc_pars_ct.cc531 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
Davrc_api.cc528 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/
Davrc_api.h689 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/
Dbta_hf_client_at.h39 uint16_t buf_len; member
Dbta_hf_client_at.cc123 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/
Drw_api.h424 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/
Dbta_av_api.cc426 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/
Dgatt_sr.cc746 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/
Dselinux.cpp510 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/
Dcertificate_utils.cpp612 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/
Dsmp_utils.cc310 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()
Dsmp_int.h414 const uint8_t* p_buf, size_t buf_len);
/system/nfc/src/nfc/tags/
Drw_mfc.cc322 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()
Drw_t1t_ndef.cc2323 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()
Drw_t2t_ndef.cc2941 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/
Davct_lcb_act.cc131 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/
Dbta_av_api.h585 uint8_t buf_len);
/system/bt/stack/avdt/
Davdt_msg.cc1286 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/
Dflatbuffers.h2223 Verifier(const uint8_t *buf, size_t buf_len, uoffset_t _max_depth = 64,
2226 size_(buf_len),

12