Home
last modified time | relevance | path

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

/system/bt/stack/smp/
Dsmp_utils.cc135 typedef BT_HDR* (*tSMP_CMD_ACT)(uint8_t cmd_code, tSMP_CB* p_cb);
137 static BT_HDR* smp_build_pairing_cmd(uint8_t cmd_code, tSMP_CB* p_cb);
138 static BT_HDR* smp_build_confirm_cmd(UNUSED_ATTR uint8_t cmd_code,
140 static BT_HDR* smp_build_rand_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb);
141 static BT_HDR* smp_build_pairing_fail(UNUSED_ATTR uint8_t cmd_code,
143 static BT_HDR* smp_build_identity_info_cmd(UNUSED_ATTR uint8_t cmd_code,
145 static BT_HDR* smp_build_encrypt_info_cmd(UNUSED_ATTR uint8_t cmd_code,
147 static BT_HDR* smp_build_security_request(UNUSED_ATTR uint8_t cmd_code,
149 static BT_HDR* smp_build_signing_info_cmd(UNUSED_ATTR uint8_t cmd_code,
151 static BT_HDR* smp_build_master_id_cmd(UNUSED_ATTR uint8_t cmd_code,
[all …]
Dsmp_int.h445 extern bool smp_send_cmd(uint8_t cmd_code, tSMP_CB* p_cb);
/system/bt/stack/gatt/
Datt_protocol.cc100 BT_HDR* attp_build_err_cmd(uint8_t cmd_code, uint16_t err_handle, in attp_build_err_cmd() argument
107 UINT8_TO_STREAM(p, cmd_code); in attp_build_err_cmd()
368 return attp_build_err_cmd(p_msg->error.cmd_code, p_msg->error.handle, in attp_build_sr_msg()
417 uint8_t cmd_code, BT_HDR* p_cmd) { in attp_cl_send_cmd() argument
418 cmd_code &= ~GATT_AUTH_SIGN_MASK; in attp_cl_send_cmd()
420 if (!tcb.cl_cmd_q.empty() && cmd_code != GATT_HANDLE_VALUE_CONF) { in attp_cl_send_cmd()
421 gatt_cmd_enq(tcb, p_clcb, true, cmd_code, p_cmd); in attp_cl_send_cmd()
432 if (cmd_code == GATT_HANDLE_VALUE_CONF || cmd_code == GATT_CMD_WRITE) { in attp_cl_send_cmd()
437 gatt_cmd_enq(tcb, p_clcb, false, cmd_code, NULL); in attp_cl_send_cmd()
Dgatt_cl.cc1023 uint8_t gatt_cmd_to_rsp_code(uint8_t cmd_code) { in gatt_cmd_to_rsp_code() argument
1026 if (cmd_code > 1 && cmd_code != GATT_CMD_WRITE) { in gatt_cmd_to_rsp_code()
1027 rsp_code = cmd_code + 1; in gatt_cmd_to_rsp_code()
1084 uint8_t cmd_code = 0; in gatt_client_handle_server_rsp() local
1085 tGATT_CLCB* p_clcb = gatt_cmd_dequeue(tcb, &cmd_code); in gatt_client_handle_server_rsp()
1086 uint8_t rsp_code = gatt_cmd_to_rsp_code(cmd_code); in gatt_client_handle_server_rsp()
Dgatt_int.h130 uint8_t cmd_code; member
Dgatt_utils.cc740 msg.error.cmd_code = op_code; in gatt_send_error_rsp()
/system/bt/stack/l2cap/
Dl2c_main.cc100 uint8_t cmd_code; in l2c_rcv_acl_data() local
101 STREAM_TO_UINT8(cmd_code, p); in l2c_rcv_acl_data()
104 (cmd_code != L2CAP_CMD_INFO_REQ && cmd_code != L2CAP_CMD_CONN_REQ)) { in l2c_rcv_acl_data()
106 (handle == 3804 && cmd_code == 10 && p_msg->layer_specific == 0); in l2c_rcv_acl_data()
112 handle, p_msg->layer_specific, rcv_cid, cmd_code, in l2c_rcv_acl_data()
123 handle, p_msg->layer_specific, rcv_cid, cmd_code, in l2c_rcv_acl_data()
288 uint8_t cmd_code, id; in process_l2cap_cmd() local
290 STREAM_TO_UINT8(cmd_code, p); in process_l2cap_cmd()
304 pkt_len, cmd_len, cmd_code); in process_l2cap_cmd()
308 L2CAP_TRACE_DEBUG("cmd_code: %d, id:%d, cmd_len:%d", cmd_code, id, cmd_len); in process_l2cap_cmd()
[all …]
Dl2c_ble.cc471 uint8_t cmd_code, id; in l2cble_process_sig_cmd() local
487 STREAM_TO_UINT8(cmd_code, p); in l2cble_process_sig_cmd()
495 pkt_len, cmd_len, cmd_code); in l2cble_process_sig_cmd()
499 switch (cmd_code) { in l2cble_process_sig_cmd()
754 L2CAP_TRACE_WARNING("L2CAP - LE - unknown cmd code: %d", cmd_code); in l2cble_process_sig_cmd()
Dl2c_int.h614 extern bool l2c_is_cmd_rejected(uint8_t cmd_code, uint8_t id, tL2C_LCB* p_lcb);
Dl2c_utils.cc288 bool l2c_is_cmd_rejected(uint8_t cmd_code, uint8_t id, tL2C_LCB* p_lcb) { in l2c_is_cmd_rejected() argument
289 switch (cmd_code) { in l2c_is_cmd_rejected()
300 L2CAP_TRACE_WARNING("Dumping first Command (%d)", cmd_code); in l2c_is_cmd_rejected()
/system/bt/bta/av/
Dbta_av_api.cc466 void BTA_AvVendorCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code, in BTA_AvVendorCmd() argument
473 p_buf->msg.hdr.ctype = cmd_code; in BTA_AvVendorCmd()
611 void BTA_AvMetaCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code, in BTA_AvMetaCmd() argument
619 p_buf->rsp_code = cmd_code; in BTA_AvMetaCmd()
/system/nfc/src/nfa/include/
Dnfa_hci_api.h215 uint8_t cmd_code; /* HCP CMD id */ member
482 uint8_t cmd_code, uint16_t cmd_size,
Dnfa_hci_int.h248 uint8_t cmd_code; member
/system/nfc/src/nfa/hci/
Dnfa_hci_api.cc523 uint8_t cmd_code, uint16_t cmd_size, in NFA_HciSendCommand() argument
547 hci_handle, pipe, cmd_code); in NFA_HciSendCommand()
556 p_msg->cmd_code = cmd_code; in NFA_HciSendCommand()
Dnfa_hci_act.cc879 p_evt_data->send_cmd.cmd_code, in nfa_hci_api_send_cmd()
1910 evt_data.cmd_rcvd.cmd_code = nfa_hci_cb.inst; in nfa_hci_handle_generic_gate_cmd()
/system/bt/bta/include/
Dbta_av_api.h600 void BTA_AvVendorCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code,
673 void BTA_AvMetaCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code,
/system/bt/stack/bnep/
Dbnep_int.h212 uint8_t cmd_code);
Dbnep_utils.cc368 void bnep_send_command_not_understood(tBNEP_CONN* p_bcb, uint8_t cmd_code) { in bnep_send_command_not_understood() argument
374 p_bcb->l2cap_cid, cmd_code); in bnep_send_command_not_understood()
385 UINT8_TO_BE_STREAM(p, cmd_code); in bnep_send_command_not_understood()
/system/bt/btif/src/
Dbtif_rc.cc2994 tBTA_AV_CODE cmd_code, in build_and_send_vendor_cmd() argument
3006 BTA_AvVendorCmd(p_dev->rc_handle, p_transaction->lbl, cmd_code, data_start, in build_and_send_vendor_cmd()
3009 if (cmd_code == AVRC_CMD_STATUS) { in build_and_send_vendor_cmd()
3011 } else if (cmd_code == AVRC_CMD_CTRL) { in build_and_send_vendor_cmd()