| /packages/modules/Bluetooth/system/stack/smp/ |
| D | smp_utils.cc | 144 typedef BT_HDR* (*tSMP_CMD_ACT)(uint8_t cmd_code, tSMP_CB* p_cb); 146 static BT_HDR* smp_build_pairing_cmd(uint8_t cmd_code, tSMP_CB* p_cb); 147 static BT_HDR* smp_build_confirm_cmd(UNUSED_ATTR uint8_t cmd_code, 149 static BT_HDR* smp_build_rand_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb); 150 static BT_HDR* smp_build_pairing_fail(UNUSED_ATTR uint8_t cmd_code, 152 static BT_HDR* smp_build_identity_info_cmd(UNUSED_ATTR uint8_t cmd_code, 154 static BT_HDR* smp_build_encrypt_info_cmd(UNUSED_ATTR uint8_t cmd_code, 156 static BT_HDR* smp_build_security_request(UNUSED_ATTR uint8_t cmd_code, 158 static BT_HDR* smp_build_signing_info_cmd(UNUSED_ATTR uint8_t cmd_code, 160 static BT_HDR* smp_build_central_id_cmd(UNUSED_ATTR uint8_t cmd_code, [all …]
|
| D | smp_int.h | 415 bool smp_send_cmd(uint8_t cmd_code, tSMP_CB* p_cb);
|
| /packages/modules/Bluetooth/system/stack/gatt/ |
| D | att_protocol.cc | 107 static BT_HDR* attp_build_err_cmd(uint8_t cmd_code, uint16_t err_handle, in attp_build_err_cmd() argument 114 UINT8_TO_STREAM(p, cmd_code); in attp_build_err_cmd() 381 return attp_build_err_cmd(p_msg->error.cmd_code, p_msg->error.handle, in attp_build_sr_msg() 434 uint8_t cmd_code, BT_HDR* p_cmd) { in attp_cl_send_cmd() argument 435 cmd_code &= ~GATT_AUTH_SIGN_MASK; in attp_cl_send_cmd() 438 cmd_code != GATT_HANDLE_VALUE_CONF) { in attp_cl_send_cmd() 439 gatt_cmd_enq(tcb, p_clcb, true, cmd_code, p_cmd); in attp_cl_send_cmd() 456 if (cmd_code == GATT_HANDLE_VALUE_CONF || cmd_code == GATT_CMD_WRITE) { in attp_cl_send_cmd() 463 gatt_cmd_enq(tcb, p_clcb, false, cmd_code, NULL); in attp_cl_send_cmd()
|
| D | gatt_cl.cc | 1150 uint8_t gatt_cmd_to_rsp_code(uint8_t cmd_code) { in gatt_cmd_to_rsp_code() argument 1153 if (cmd_code > 1 && cmd_code != GATT_CMD_WRITE) { in gatt_cmd_to_rsp_code() 1154 rsp_code = cmd_code + 1; in gatt_cmd_to_rsp_code() 1234 uint8_t cmd_code = 0; in gatt_client_handle_server_rsp() local 1235 tGATT_CLCB* p_clcb = gatt_cmd_dequeue(tcb, cid, &cmd_code); in gatt_client_handle_server_rsp() 1242 uint8_t rsp_code = gatt_cmd_to_rsp_code(cmd_code); in gatt_client_handle_server_rsp()
|
| D | gatt_int.h | 138 uint8_t cmd_code; member
|
| D | gatt_utils.cc | 850 msg.error.cmd_code = op_code; in gatt_send_error_rsp()
|
| /packages/modules/Bluetooth/system/stack/l2cap/ |
| D | l2c_main.cc | 266 uint8_t cmd_code, id; in process_l2cap_cmd() local 268 STREAM_TO_UINT8(cmd_code, p); in process_l2cap_cmd() 286 cmd_len, cmd_code); in process_l2cap_cmd() 290 LOG_DEBUG("cmd_code: %d, id:%d, cmd_len:%d", cmd_code, id, cmd_len); in process_l2cap_cmd() 295 if (l2c_is_cmd_rejected(cmd_code, id, p_lcb)) { in process_l2cap_cmd() 296 LOG_WARN("Rejected command %d due to bad packet length", cmd_code); in process_l2cap_cmd() 299 LOG_WARN("No need to reject command %d for bad packet len", cmd_code); in process_l2cap_cmd() 304 switch (cmd_code) { in process_l2cap_cmd() 817 LOG_WARN("Bad cmd code: %d", cmd_code); in process_l2cap_cmd()
|
| D | l2c_ble.cc | 484 uint8_t cmd_code, id; in l2cble_process_sig_cmd() local 501 STREAM_TO_UINT8(cmd_code, p); in l2cble_process_sig_cmd() 509 pkt_len, cmd_len, cmd_code); in l2cble_process_sig_cmd() 513 switch (cmd_code) { in l2cble_process_sig_cmd() 1167 L2CAP_TRACE_WARNING("L2CAP - LE - unknown cmd code: %d", cmd_code); in l2cble_process_sig_cmd()
|
| D | l2c_int.h | 726 bool l2c_is_cmd_rejected(uint8_t cmd_code, uint8_t id, tL2C_LCB* p_lcb);
|
| D | l2c_utils.cc | 270 bool l2c_is_cmd_rejected(uint8_t cmd_code, uint8_t signal_id, tL2C_LCB* p_lcb) { in l2c_is_cmd_rejected() argument 271 switch (cmd_code) { in l2c_is_cmd_rejected() 282 L2CAP_TRACE_WARNING("Dumping first Command (%d)", cmd_code); in l2c_is_cmd_rejected()
|
| /packages/modules/Bluetooth/system/test/mock/ |
| D | mock_bta_av_api.cc | 48 void BTA_AvMetaCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code, in BTA_AvMetaCmd() argument 97 void BTA_AvVendorCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code, in BTA_AvVendorCmd() argument
|
| D | mock_stack_l2cap_utils.cc | 40 bool l2c_is_cmd_rejected(uint8_t cmd_code, uint8_t signal_id, tL2C_LCB* p_lcb) { in l2c_is_cmd_rejected() argument
|
| /packages/modules/Bluetooth/system/bta/av/ |
| D | bta_av_api.cc | 461 void BTA_AvVendorCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code, in BTA_AvVendorCmd() argument 468 p_buf->msg.hdr.ctype = cmd_code; in BTA_AvVendorCmd() 606 void BTA_AvMetaCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code, in BTA_AvMetaCmd() argument 614 p_buf->rsp_code = cmd_code; in BTA_AvMetaCmd()
|
| /packages/modules/Bluetooth/system/btif/test/ |
| D | btif_rc_test.cc | 68 void BTA_AvMetaCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code, in BTA_AvMetaCmd() argument 77 void BTA_AvVendorCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code, in BTA_AvVendorCmd() argument
|
| /packages/modules/Bluetooth/system/bta/include/ |
| D | bta_av_api.h | 602 void BTA_AvVendorCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code, 675 void BTA_AvMetaCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code,
|
| /packages/modules/Bluetooth/system/stack/bnep/ |
| D | bnep_utils.cc | 369 void bnep_send_command_not_understood(tBNEP_CONN* p_bcb, uint8_t cmd_code) { in bnep_send_command_not_understood() argument 375 p_bcb->l2cap_cid, cmd_code); in bnep_send_command_not_understood() 386 UINT8_TO_BE_STREAM(p, cmd_code); in bnep_send_command_not_understood()
|
| D | bnep_int.h | 191 void bnep_send_command_not_understood(tBNEP_CONN* p_bcb, uint8_t cmd_code);
|
| /packages/modules/Bluetooth/system/btif/src/ |
| D | btif_rc.cc | 2917 tBTA_AV_CODE cmd_code, in build_and_send_vendor_cmd() argument 2944 BTA_AvVendorCmd(p_dev->rc_handle, p_transaction->label, cmd_code, in build_and_send_vendor_cmd()
|