Searched refs:pkt_len (Results 1 – 9 of 9) sorted by relevance
/system/bt/stack/avrc/ |
D | avrc_pars_ct.cc | 239 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 …]
|
D | avrc_api.cc | 238 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/ |
D | nfa_hci_main.cc | 701 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/ |
D | mock_stack_l2cap_ble.h | 157 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()
|
D | mock_stack_l2cap_ble.cc | 124 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/ |
D | l2c_main.cc | 43 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()
|
D | l2c_ble.cc | 414 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()
|
D | l2c_int.h | 838 uint16_t pkt_len);
|
/system/nfc/src/nfa/include/ |
D | nfa_hci_int.h | 519 uint8_t instruction, uint16_t pkt_len,
|