Home
last modified time | relevance | path

Searched refs:pkt_len (Results 1 – 9 of 9) 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.cc238 const int pkt_len = MAX(rsp_pkt_len, p_pkt->len); in avrc_copy_packet() local
239 BT_HDR* p_pkt_copy = (BT_HDR*)osi_calloc(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/test/mock/
Dmock_stack_l2cap_ble.h157 std::function<void(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len)> body{
158 [](tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) {}};
159 void operator()(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) { in operator()
160 body(p_lcb, p, pkt_len); in operator()
Dmock_stack_l2cap_ble.cc124 void l2cble_process_sig_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) { in l2cble_process_sig_cmd() argument
126 test::mock::stack_l2cap_ble::l2cble_process_sig_cmd(p_lcb, p, pkt_len); in l2cble_process_sig_cmd()
/system/bt/stack/l2cap/
Dl2c_main.cc43 static void process_l2cap_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len);
255 static void process_l2cap_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) { in process_l2cap_cmd() argument
267 if (pkt_len > L2CAP_DEFAULT_MTU) { in process_l2cap_cmd()
273 LOG_WARN("Signaling pkt_len=%d exceeds MTU size %d", pkt_len, in process_l2cap_cmd()
278 uint8_t* p_pkt_end = p + pkt_len; in process_l2cap_cmd()
305 LOG_WARN("cmd_len > pkt_len, pkt_len=%d, cmd_len=%d, code=%d", pkt_len, in process_l2cap_cmd()
Dl2c_ble.cc414 void l2cble_process_sig_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) { in l2cble_process_sig_cmd() argument
426 p_pkt_end = p + pkt_len; in l2cble_process_sig_cmd()
442 pkt_len, cmd_len, cmd_code); in l2cble_process_sig_cmd()
Dl2c_int.h838 uint16_t pkt_len);
/system/nfc/src/nfa/include/
Dnfa_hci_int.h519 uint8_t instruction, uint16_t pkt_len,