Home
last modified time | relevance | path

Searched refs:pkt_len (Results 1 – 7 of 7) sorted by relevance

/system/bt/stack/avrc/
Davrc_pars_ct.cc239 uint16_t pkt_len; in avrc_pars_browse_rsp() local
242 BE_STREAM_TO_UINT16(pkt_len, p); in avrc_pars_browse_rsp()
244 AVRC_TRACE_DEBUG("%s pdu:%d, pkt_len:%d", __func__, pdu, pkt_len); in avrc_pars_browse_rsp()
246 if (p_msg->browse_len < (pkt_len + 3)) { in avrc_pars_browse_rsp()
249 __func__, p_msg->browse_len, pkt_len + 3); in avrc_pars_browse_rsp()
260 if (pkt_len < min_len) goto browse_length_error; in avrc_pars_browse_rsp()
270 if (pkt_len < min_len) goto browse_length_error; in avrc_pars_browse_rsp()
278 __func__, get_item_rsp->pdu, get_item_rsp->status, pkt_len, in avrc_pars_browse_rsp()
287 if (pkt_len < min_len) goto browse_length_error; in avrc_pars_browse_rsp()
296 if (pkt_len < min_len) goto browse_length_error; in avrc_pars_browse_rsp()
[all …]
Davrc_api.cc239 const int pkt_len = MAX(rsp_pkt_len, p_pkt->len); in avrc_copy_packet() local
240 BT_HDR* p_pkt_copy = (BT_HDR*)osi_malloc(BT_HDR_SIZE + offset + pkt_len); in avrc_copy_packet()
/system/nfc/src/nfa/hci/
Dnfa_hci_main.cc701 uint16_t pkt_len; in nfa_hci_conn_cback() local
743 pkt_len = p_pkt->len; in nfa_hci_conn_cback()
745 if (pkt_len < 1) { in nfa_hci_conn_cback()
747 pkt_len); in nfa_hci_conn_cback()
755 if (pkt_len != 0) pkt_len--; in nfa_hci_conn_cback()
758 if (pkt_len < 1) { in nfa_hci_conn_cback()
760 "Insufficient packet length! Dropping :%u bytes", pkt_len); in nfa_hci_conn_cback()
768 if (pkt_len != 0) pkt_len--; in nfa_hci_conn_cback()
775 nfa_hci_assemble_msg(p, pkt_len); in nfa_hci_conn_cback()
780 nfa_hci_assemble_msg(p, pkt_len); in nfa_hci_conn_cback()
[all …]
/system/bt/stack/l2cap/
Dl2c_main.cc46 static void process_l2cap_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len);
259 static void process_l2cap_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) { in process_l2cap_cmd() argument
268 if (pkt_len > L2CAP_DEFAULT_MTU) { in process_l2cap_cmd()
274 L2CAP_TRACE_ERROR("L2CAP SIG MTU pkt_len=%d Exceeded 672", pkt_len); in process_l2cap_cmd()
278 uint8_t* p_pkt_end = p + pkt_len; in process_l2cap_cmd()
305 pkt_len, cmd_len, cmd_code); in process_l2cap_cmd()
Dl2c_ble.cc472 void l2cble_process_sig_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) { in l2cble_process_sig_cmd() argument
482 p_pkt_end = p + pkt_len; in l2cble_process_sig_cmd()
498 pkt_len, cmd_len, cmd_code); in l2cble_process_sig_cmd()
Dl2c_int.h786 uint16_t pkt_len);
/system/nfc/src/nfa/include/
Dnfa_hci_int.h519 uint8_t instruction, uint16_t pkt_len,