Searched refs:cmd_code (Results 1 - 19 of 19) sorted by relevance

/system/bt/stack/smp/
H A Dsmp_utils.cc133 typedef BT_HDR* (*tSMP_CMD_ACT)(uint8_t cmd_code, tSMP_CB* p_cb);
135 static BT_HDR* smp_build_pairing_cmd(uint8_t cmd_code, tSMP_CB* p_cb);
136 static BT_HDR* smp_build_confirm_cmd(UNUSED_ATTR uint8_t cmd_code,
138 static BT_HDR* smp_build_rand_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb);
139 static BT_HDR* smp_build_pairing_fail(UNUSED_ATTR uint8_t cmd_code,
141 static BT_HDR* smp_build_identity_info_cmd(UNUSED_ATTR uint8_t cmd_code,
143 static BT_HDR* smp_build_encrypt_info_cmd(UNUSED_ATTR uint8_t cmd_code,
145 static BT_HDR* smp_build_security_request(UNUSED_ATTR uint8_t cmd_code,
147 static BT_HDR* smp_build_signing_info_cmd(UNUSED_ATTR uint8_t cmd_code,
149 static BT_HDR* smp_build_master_id_cmd(UNUSED_ATTR uint8_t cmd_code,
331 smp_send_cmd(uint8_t cmd_code, tSMP_CB* p_cb) argument
415 smp_build_pairing_cmd(uint8_t cmd_code, tSMP_CB* p_cb) argument
445 smp_build_confirm_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
471 smp_build_rand_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
495 smp_build_encrypt_info_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
520 smp_build_master_id_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
546 smp_build_identity_info_cmd(UNUSED_ATTR uint8_t cmd_code, UNUSED_ATTR tSMP_CB* p_cb) argument
575 smp_build_id_addr_cmd(UNUSED_ATTR uint8_t cmd_code, UNUSED_ATTR tSMP_CB* p_cb) argument
601 smp_build_signing_info_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
626 smp_build_pairing_fail(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
651 smp_build_security_request(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
678 smp_build_pair_public_key_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
708 smp_build_pairing_commitment_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
733 smp_build_pair_dhkey_check_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
758 smp_build_pairing_keypress_notification_cmd( UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
961 uint8_t cmd_code = p_cb->rcvd_cmd_code; local
997 uint8_t cmd_code = p_cb->rcvd_cmd_code; local
[all...]
H A Dsmp_int.h470 extern bool smp_send_cmd(uint8_t cmd_code, tSMP_CB* p_cb);
/system/bt/stack/gatt/
H A Datt_protocol.cc100 BT_HDR* attp_build_err_cmd(uint8_t cmd_code, uint16_t err_handle, argument
107 UINT8_TO_STREAM(p, cmd_code);
370 return attp_build_err_cmd(p_msg->error.cmd_code, p_msg->error.handle,
419 uint8_t cmd_code, BT_HDR* p_cmd) {
420 cmd_code &= ~GATT_AUTH_SIGN_MASK;
422 if (!tcb.cl_cmd_q.empty() && cmd_code != GATT_HANDLE_VALUE_CONF) {
423 gatt_cmd_enq(tcb, p_clcb, true, cmd_code, p_cmd);
434 if (cmd_code == GATT_HANDLE_VALUE_CONF || cmd_code == GATT_CMD_WRITE) {
439 gatt_cmd_enq(tcb, p_clcb, false, cmd_code, NUL
418 attp_cl_send_cmd(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, uint8_t cmd_code, BT_HDR* p_cmd) argument
[all...]
H A Dgatt_cl.cc477 << StringPrintf("reason: %02x cmd_code %04x", reason, opcode);
1008 uint8_t gatt_cmd_to_rsp_code(uint8_t cmd_code) { argument
1011 if (cmd_code > 1 && cmd_code != GATT_CMD_WRITE) {
1012 rsp_code = cmd_code + 1;
1069 uint8_t cmd_code = 0; local
1070 tGATT_CLCB* p_clcb = gatt_cmd_dequeue(tcb, &cmd_code);
1071 uint8_t rsp_code = gatt_cmd_to_rsp_code(cmd_code);
H A Dgatt_int.h130 uint8_t cmd_code; member in struct:__anon1000
H A Dgatt_utils.cc729 msg.error.cmd_code = op_code;
/system/bt/stack/l2cap/
H A Dl2c_main.cc99 uint8_t cmd_code; local
100 STREAM_TO_UINT8(cmd_code, p);
103 (cmd_code != L2CAP_CMD_INFO_REQ && cmd_code != L2CAP_CMD_CONN_REQ)) {
105 (handle == 3804 && cmd_code == 10 && p_msg->layer_specific == 0);
111 handle, p_msg->layer_specific, rcv_cid, cmd_code,
122 handle, p_msg->layer_specific, rcv_cid, cmd_code,
290 uint8_t cmd_code, id; local
292 STREAM_TO_UINT8(cmd_code, p);
306 pkt_len, cmd_len, cmd_code);
[all...]
H A Dl2c_ble.cc587 uint8_t cmd_code, id; local
597 STREAM_TO_UINT8(cmd_code, p);
605 pkt_len, cmd_len, cmd_code);
609 switch (cmd_code) {
835 L2CAP_TRACE_WARNING("L2CAP - LE - unknown cmd code: %d", cmd_code);
H A Dl2c_int.h612 extern bool l2c_is_cmd_rejected(uint8_t cmd_code, uint8_t id, tL2C_LCB* p_lcb);
H A Dl2c_utils.cc285 * Description Checks if cmd_code is command or response
290 * Returns bool - true if cmd_code is a command and it is rejected,
294 bool l2c_is_cmd_rejected(uint8_t cmd_code, uint8_t id, tL2C_LCB* p_lcb) { argument
295 switch (cmd_code) {
306 L2CAP_TRACE_WARNING("Dumping first Command (%d)", cmd_code);
/system/bt/bta/av/
H A Dbta_av_api.cc466 void BTA_AvVendorCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code, argument
473 p_buf->msg.hdr.ctype = cmd_code;
611 void BTA_AvMetaCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code, argument
619 p_buf->rsp_code = cmd_code;
/system/nfc/src/nfa/include/
H A Dnfa_hci_api.h215 uint8_t cmd_code; /* HCP CMD id */ member in struct:__anon2296
482 uint8_t cmd_code, uint16_t cmd_size,
H A Dnfa_hci_int.h246 uint8_t cmd_code; member in struct:__anon2320
/system/nfc/src/nfa/hci/
H A Dnfa_hci_api.cc527 uint8_t cmd_code, uint16_t cmd_size,
551 hci_handle, pipe, cmd_code);
560 p_msg->cmd_code = cmd_code;
526 NFA_HciSendCommand(tNFA_HANDLE hci_handle, uint8_t pipe, uint8_t cmd_code, uint16_t cmd_size, uint8_t* p_data) argument
H A Dnfa_hci_act.cc878 p_evt_data->send_cmd.cmd_code,
1875 evt_data.cmd_rcvd.cmd_code = nfa_hci_cb.inst;
/system/bt/bta/include/
H A Dbta_av_api.h605 void BTA_AvVendorCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code,
678 void BTA_AvMetaCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code,
/system/bt/stack/bnep/
H A Dbnep_int.h212 uint8_t cmd_code);
H A Dbnep_utils.cc368 void bnep_send_command_not_understood(tBNEP_CONN* p_bcb, uint8_t cmd_code) { argument
374 p_bcb->l2cap_cid, cmd_code);
385 UINT8_TO_BE_STREAM(p, cmd_code);
/system/bt/btif/src/
H A Dbtif_rc.cc3066 tBTA_AV_CODE cmd_code,
3078 BTA_AvVendorCmd(p_dev->rc_handle, p_transaction->lbl, cmd_code, data_start,
3081 if (cmd_code == AVRC_CMD_STATUS) {
3083 } else if (cmd_code == AVRC_CMD_CTRL) {

Completed in 343 milliseconds