Home
last modified time | relevance | path

Searched refs:p_next_cmd (Results 1 – 2 of 2) sorted by relevance

/system/bt/stack/l2cap/
Dl2c_main.cc276 uint8_t* p_next_cmd = p; in process_l2cap_cmd() local
285 p = p_next_cmd; in process_l2cap_cmd()
301 p_next_cmd = p + cmd_len; in process_l2cap_cmd()
302 if (p_next_cmd > p_pkt_end) { in process_l2cap_cmd()
322 if (p + 2 > p_next_cmd) return; in process_l2cap_cmd()
326 if (p + 2 > p_next_cmd) return; in process_l2cap_cmd()
336 if (p + 4 > p_next_cmd) return; in process_l2cap_cmd()
372 if (p + 4 > p_next_cmd) return; in process_l2cap_cmd()
414 if (p + 8 > p_next_cmd) return; in process_l2cap_cmd()
457 if (p + 4 > p_next_cmd) return; in process_l2cap_cmd()
[all …]
/system/bt/stack/avrc/
Davrc_api.cc162 BT_HDR* p_next_cmd; in avrc_send_next_vendor_cmd() local
165 while ((p_next_cmd = (BT_HDR*)fixed_queue_try_dequeue( in avrc_send_next_vendor_cmd()
167 p_next_cmd->event &= 0xFF; /* opcode */ in avrc_send_next_vendor_cmd()
168 next_label = (p_next_cmd->layer_specific) >> 8; /* extract label */ in avrc_send_next_vendor_cmd()
169 p_next_cmd->layer_specific &= 0xFF; /* AVCT_DATA_CTRL or AVCT_DATA_BROWSE */ in avrc_send_next_vendor_cmd()
173 p_next_cmd, handle, next_label); in avrc_send_next_vendor_cmd()
176 if ((AVCT_MsgReq(handle, next_label, AVCT_CMD, p_next_cmd)) == in avrc_send_next_vendor_cmd()
184 if (p_next_cmd == NULL) { in avrc_send_next_vendor_cmd()