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
409 smp_build_pairing_cmd(uint8_t cmd_code, tSMP_CB* p_cb) argument
439 smp_build_confirm_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
465 smp_build_rand_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
489 smp_build_encrypt_info_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
514 smp_build_master_id_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
540 smp_build_identity_info_cmd(UNUSED_ATTR uint8_t cmd_code, UNUSED_ATTR tSMP_CB* p_cb) argument
569 smp_build_id_addr_cmd(UNUSED_ATTR uint8_t cmd_code, UNUSED_ATTR tSMP_CB* p_cb) argument
595 smp_build_signing_info_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
620 smp_build_pairing_fail(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
645 smp_build_security_request(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
672 smp_build_pair_public_key_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
702 smp_build_pairing_commitment_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
727 smp_build_pair_dhkey_check_cmd(UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
752 smp_build_pairing_keypress_notification_cmd( UNUSED_ATTR uint8_t cmd_code, tSMP_CB* p_cb) argument
952 uint8_t cmd_code = p_cb->rcvd_cmd_code; local
988 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.cc99 BT_HDR* attp_build_err_cmd(uint8_t cmd_code, uint16_t err_handle, argument
106 UINT8_TO_STREAM(p, cmd_code);
371 return attp_build_err_cmd(p_msg->error.cmd_code, p_msg->error.handle,
420 uint8_t cmd_code, BT_HDR* p_cmd) {
421 cmd_code &= ~GATT_AUTH_SIGN_MASK;
423 if (!tcb.cl_cmd_q.empty() && cmd_code != GATT_HANDLE_VALUE_CONF) {
424 gatt_cmd_enq(tcb, p_clcb, true, cmd_code, p_cmd);
435 if (cmd_code == GATT_HANDLE_VALUE_CONF || cmd_code == GATT_CMD_WRITE) {
440 gatt_cmd_enq(tcb, p_clcb, false, cmd_code, NUL
419 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.cc472 << StringPrintf("reason: %02x cmd_code %04x", reason, opcode);
983 uint8_t gatt_cmd_to_rsp_code(uint8_t cmd_code) { argument
986 if (cmd_code > 1 && cmd_code != GATT_CMD_WRITE) {
987 rsp_code = cmd_code + 1;
1044 uint8_t cmd_code = 0; local
1045 tGATT_CLCB* p_clcb = gatt_cmd_dequeue(tcb, &cmd_code);
1046 uint8_t rsp_code = gatt_cmd_to_rsp_code(cmd_code);
H A Dgatt_int.h130 uint8_t cmd_code; member in struct:__anon905
H A Dgatt_utils.cc856 msg.error.cmd_code = op_code;
/system/bt/stack/l2cap/
H A Dl2c_main.cc83 uint8_t cmd_code; local
91 STREAM_TO_UINT8(cmd_code, p);
94 (cmd_code == L2CAP_CMD_INFO_REQ || cmd_code == L2CAP_CMD_CONN_REQ)) {
98 handle, p_msg->layer_specific, rcv_cid, cmd_code,
113 handle, p_msg->layer_specific, rcv_cid, cmd_code,
253 uint8_t cmd_code, cfg_code, cfg_len, id; local
292 STREAM_TO_UINT8(cmd_code, p);
306 pkt_len, cmd_len, cmd_code);
310 L2CAP_TRACE_DEBUG("cmd_code
[all...]
H A Dl2c_ble.cc566 uint8_t cmd_code, id; local
576 STREAM_TO_UINT8(cmd_code, p);
584 pkt_len, cmd_len, cmd_code);
588 switch (cmd_code) {
817 L2CAP_TRACE_WARNING("L2CAP - LE - unknown cmd code: %d", cmd_code);
H A Dl2c_int.h617 extern bool l2c_is_cmd_rejected(uint8_t cmd_code, uint8_t id, tL2C_LCB* p_lcb);
H A Dl2c_utils.cc293 * Description Checks if cmd_code is command or response
298 * Returns bool - true if cmd_code is a command and it is rejected,
302 bool l2c_is_cmd_rejected(uint8_t cmd_code, uint8_t id, tL2C_LCB* p_lcb) { argument
303 switch (cmd_code) {
314 L2CAP_TRACE_WARNING("Dumping first Command (%d)", cmd_code);
/system/bt/bta/av/
H A Dbta_av_api.cc443 void BTA_AvVendorCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code, argument
450 p_buf->msg.hdr.ctype = cmd_code;
588 void BTA_AvMetaCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CMD cmd_code, argument
596 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:__anon2117
505 uint8_t cmd_code, uint16_t cmd_size,
/system/nfc/src/nfa/hci/
H A Dnfa_hci_api.c575 uint8_t cmd_code, uint16_t cmd_size,
597 hci_handle, pipe, cmd_code);
606 p_msg->cmd_code = cmd_code;
574 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.c876 p_evt_data->send_cmd.cmd_code,
1877 evt_data.cmd_rcvd.cmd_code = nfa_hci_cb.inst;
/system/bt/bta/include/
H A Dbta_av_api.h690 void BTA_AvVendorCmd(uint8_t rc_handle, uint8_t label, tBTA_AV_CODE cmd_code,
763 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.cc362 void bnep_send_command_not_understood(tBNEP_CONN* p_bcb, uint8_t cmd_code) { argument
368 p_bcb->l2cap_cid, cmd_code);
379 UINT8_TO_BE_STREAM(p, cmd_code);
/system/nfc/src/nfa/int/
H A Dnfa_hci_int.h246 uint8_t cmd_code; member in struct:__anon2252
/system/bt/btif/src/
H A Dbtif_rc.cc3053 tBTA_AV_CODE cmd_code,
3065 BTA_AvVendorCmd(p_dev->rc_handle, p_transaction->lbl, cmd_code, data_start,
3068 if (cmd_code == AVRC_CMD_STATUS) {
3070 } else if (cmd_code == AVRC_CMD_CTRL) {

Completed in 1688 milliseconds