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.cc277 uint8_t* p_next_cmd = p; in process_l2cap_cmd() local
286 p = p_next_cmd; in process_l2cap_cmd()
302 p_next_cmd = p + cmd_len; in process_l2cap_cmd()
303 if (p_next_cmd > p_pkt_end) { in process_l2cap_cmd()
323 if (p + 2 > p_next_cmd) return; in process_l2cap_cmd()
327 if (p + 2 > p_next_cmd) return; in process_l2cap_cmd()
337 if (p + 4 > p_next_cmd) return; in process_l2cap_cmd()
373 if (p + 4 > p_next_cmd) return; in process_l2cap_cmd()
415 if (p + 8 > p_next_cmd) return; in process_l2cap_cmd()
458 if (p + 4 > p_next_cmd) return; in process_l2cap_cmd()
[all …]
/system/bt/stack/avrc/
Davrc_api.cc163 BT_HDR* p_next_cmd; in avrc_send_next_vendor_cmd() local
166 while ((p_next_cmd = (BT_HDR*)fixed_queue_try_dequeue( in avrc_send_next_vendor_cmd()
168 p_next_cmd->event &= 0xFF; /* opcode */ in avrc_send_next_vendor_cmd()
169 next_label = (p_next_cmd->layer_specific) >> 8; /* extract label */ in avrc_send_next_vendor_cmd()
170 p_next_cmd->layer_specific &= 0xFF; /* AVCT_DATA_CTRL or AVCT_DATA_BROWSE */ in avrc_send_next_vendor_cmd()
174 p_next_cmd, handle, next_label); in avrc_send_next_vendor_cmd()
177 if ((AVCT_MsgReq(handle, next_label, AVCT_CMD, p_next_cmd)) == in avrc_send_next_vendor_cmd()
185 if (p_next_cmd == NULL) { in avrc_send_next_vendor_cmd()