/system/nfc/src/nfc/nci/ |
D | nci_hrcv.cc | 54 uint8_t *pp, len, op_code; in nci_proc_core_rsp() local 61 NCI_MSG_PRS_HDR1(pp, op_code); in nci_proc_core_rsp() 63 << StringPrintf("nci_proc_core_rsp opcode:0x%x", op_code); in nci_proc_core_rsp() 67 switch (op_code) { in nci_proc_core_rsp() 96 LOG(ERROR) << StringPrintf("unknown opcode:0x%x", op_code); in nci_proc_core_rsp() 114 uint8_t *pp, len, op_code; in nci_proc_core_ntf() local 120 NCI_MSG_PRS_HDR1(pp, op_code); in nci_proc_core_ntf() 122 << StringPrintf("nci_proc_core_ntf opcode:0x%x", op_code); in nci_proc_core_ntf() 126 switch (op_code) { in nci_proc_core_ntf() 148 LOG(ERROR) << StringPrintf("unknown opcode:0x%x", op_code); in nci_proc_core_ntf() [all …]
|
/system/bt/stack/gatt/ |
D | gatt_sr.cc | 49 uint32_t gatt_sr_enqueue_cmd(tGATT_TCB& tcb, uint8_t op_code, uint16_t handle) { in gatt_sr_enqueue_cmd() argument 53 if ((p_cmd->op_code == 0) || in gatt_sr_enqueue_cmd() 54 (op_code == GATT_HANDLE_VALUE_CONF)) /* no pending request */ in gatt_sr_enqueue_cmd() 56 if (op_code == GATT_CMD_WRITE || op_code == GATT_SIGN_CMD_WRITE || in gatt_sr_enqueue_cmd() 57 op_code == GATT_REQ_MTU || op_code == GATT_HANDLE_VALUE_CONF) { in gatt_sr_enqueue_cmd() 61 p_cmd->op_code = op_code; in gatt_sr_enqueue_cmd() 81 bool gatt_sr_cmd_empty(tGATT_TCB& tcb) { return (tcb.sr_cmd.op_code == 0); } in gatt_sr_cmd_empty() 230 uint8_t op_code, tGATT_STATUS status, in gatt_sr_process_app_rsp() argument 238 if (op_code == GATT_REQ_READ_MULTI) { in gatt_sr_process_app_rsp() 243 if (op_code == GATT_REQ_PREPARE_WRITE && status == GATT_SUCCESS) in gatt_sr_process_app_rsp() [all …]
|
D | att_protocol.cc | 48 BT_HDR* attp_build_mtu_cmd(uint8_t op_code, uint16_t rx_mtu) { in attp_build_mtu_cmd() argument 54 UINT8_TO_STREAM(p, op_code); in attp_build_mtu_cmd() 71 BT_HDR* attp_build_exec_write_cmd(uint8_t op_code, uint8_t flag) { in attp_build_exec_write_cmd() argument 80 UINT8_TO_STREAM(p, op_code); in attp_build_exec_write_cmd() 82 if (op_code == GATT_REQ_EXEC_WRITE) { in attp_build_exec_write_cmd() 127 BT_HDR* attp_build_browse_cmd(uint8_t op_code, uint16_t s_hdl, uint16_t e_hdl, in attp_build_browse_cmd() argument 139 UINT8_TO_STREAM(p, op_code); in attp_build_browse_cmd() 219 BT_HDR* attp_build_handle_cmd(uint8_t op_code, uint16_t handle, in attp_build_handle_cmd() argument 227 UINT8_TO_STREAM(p, op_code); in attp_build_handle_cmd() 233 if (op_code == GATT_REQ_READ_BLOB) { in attp_build_handle_cmd() [all …]
|
D | gatt_cl.cc | 82 uint8_t op_code = disc_type_to_att_opcode[p_clcb->op_subtype]; in gatt_act_discovery() local 124 tGATT_STATUS st = attp_send_cl_msg(*p_clcb->p_tcb, p_clcb, op_code, &cl_req); in gatt_act_discovery() 143 uint8_t op_code = 0; in gatt_act_read() local 150 op_code = GATT_REQ_READ_BY_TYPE; in gatt_act_read() 163 op_code = GATT_REQ_READ; in gatt_act_read() 173 op_code = GATT_REQ_READ_BLOB; in gatt_act_read() 181 op_code = GATT_REQ_READ_BLOB; in gatt_act_read() 187 op_code = GATT_REQ_READ_MULTI; in gatt_act_read() 192 op_code = GATT_REQ_READ; in gatt_act_read() 202 if (op_code != 0) rt = attp_send_cl_msg(tcb, p_clcb, op_code, &msg); in gatt_act_read() [all …]
|
D | gatt_db.cc | 46 tGATT_TCB& tcb, uint8_t op_code, uint16_t handle, uint16_t offset, 255 tGATT_TCB& tcb, tGATT_SVC_DB* p_db, uint8_t op_code, BT_HDR* p_rsp, in gatts_db_read_attr_value_by_type() argument 277 status = gatts_send_app_read_request(tcb, op_code, attr.handle, 0, in gatts_db_read_attr_value_by_type() 443 tGATT_TCB& tcb, tGATT_SVC_DB* p_db, uint8_t op_code, uint16_t handle, in gatts_read_attr_value_by_handle() argument 451 (bool)(op_code == GATT_REQ_READ_BLOB), in gatts_read_attr_value_by_handle() 455 status = gatts_send_app_read_request(tcb, op_code, p_attr->handle, offset, in gatts_read_attr_value_by_handle() 508 tGATT_STATUS gatts_write_attr_perm_check(tGATT_SVC_DB* p_db, uint8_t op_code, in gatts_write_attr_perm_check() argument 516 __func__, op_code, handle, offset, len, sec_flag, key_size); in gatts_write_attr_perm_check() 529 if ((op_code == GATT_CMD_WRITE || op_code == GATT_REQ_WRITE) && in gatts_write_attr_perm_check() 549 if ((op_code == GATT_SIGN_CMD_WRITE) && !(perm & GATT_WRITE_SIGNED_PERM)) { in gatts_write_attr_perm_check() [all …]
|
D | gatt_int.h | 204 uint8_t op_code; member 223 uint8_t op_code; member 427 uint8_t op_code, tGATT_CL_MSG* p_msg); 428 extern BT_HDR* attp_build_sr_msg(tGATT_TCB& tcb, uint8_t op_code, 434 extern uint8_t* gatt_dbg_op_name(uint8_t op_code); 452 uint8_t op_code, uint16_t handle, 489 uint32_t trans_id, uint8_t op_code, 492 extern void gatt_server_handle_client_req(tGATT_TCB& p_tcb, uint8_t op_code, 495 uint8_t op_code, tGATTS_DATA* p_req_data); 496 extern uint32_t gatt_sr_enqueue_cmd(tGATT_TCB& tcb, uint8_t op_code, [all …]
|
D | gatt_utils.cc | 724 uint8_t op_code, uint16_t handle, bool deq) { in gatt_send_error_rsp() argument 729 msg.error.cmd_code = op_code; in gatt_send_error_rsp() 1125 uint8_t op_code, BT_HDR* p_buf) { in gatt_cmd_enq() argument 1128 cmd.op_code = op_code; in gatt_cmd_enq() 1146 *p_op_code = cmd.op_code; in gatt_cmd_dequeue() 1153 uint8_t gatt_send_write_msg(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, uint8_t op_code, in gatt_send_write_msg() argument 1163 return attp_send_cl_msg(tcb, p_clcb, op_code, &msg); in gatt_send_write_msg() 1293 uint8_t* gatt_dbg_op_name(uint8_t op_code) { in gatt_dbg_op_name() argument 1294 uint8_t pseduo_op_code_idx = op_code & (~GATT_WRITE_CMD_MASK); in gatt_dbg_op_name() 1296 if (op_code == GATT_CMD_WRITE) { in gatt_dbg_op_name() [all …]
|
D | gatt_main.cc | 956 uint8_t op_code, pseudo_op_code; in gatt_data_process() local 964 STREAM_TO_UINT8(op_code, p); in gatt_data_process() 967 pseudo_op_code = op_code & (~GATT_WRITE_CMD_MASK); in gatt_data_process() 973 << ": ATT - Rcvd L2CAP data, unknown cmd: " << loghex(op_code); in gatt_data_process() 974 gatt_send_error_rsp(tcb, GATT_REQ_NOT_SUPPORTED, op_code, 0, false); in gatt_data_process() 978 if (op_code == GATT_SIGN_CMD_WRITE) { in gatt_data_process() 982 if ((op_code % 2) == 0) in gatt_data_process() 983 gatt_server_handle_client_req(tcb, op_code, msg_len, p); in gatt_data_process() 985 gatt_client_handle_server_rsp(tcb, op_code, msg_len, p); in gatt_data_process()
|
D | gatt_auth.cc | 98 uint8_t op_code; in gatt_verify_signature() local 117 STREAM_TO_UINT8(op_code, p_orig); in gatt_verify_signature() 118 gatt_server_handle_client_req(tcb, op_code, (uint16_t)(p_buf->len - 1), in gatt_verify_signature()
|
D | gatt_attr.cc | 48 uint8_t op_code, tGATTS_DATA* p_data);
|
D | gatt_api.cc | 546 conn_id, p_tcb->sr_cmd.op_code); in GATTS_SendRsp() 552 p_tcb->sr_cmd.op_code, status, p_msg); in GATTS_SendRsp()
|
/system/bt/stack/mcap/ |
D | mca_cact.cc | 100 p_msg->op_code); in mca_ccb_snd_req() 103 (p_msg->op_code == MCA_OP_MDL_ABORT_REQ)) { in mca_ccb_snd_req() 123 *p++ = p_msg->op_code; in mca_ccb_snd_req() 125 if (p_msg->op_code == MCA_OP_MDL_CREATE_REQ) { in mca_ccb_snd_req() 158 MCA_TRACE_DEBUG("%s cong=%d req=%d", __func__, p_ccb->cong, p_msg->op_code); in mca_ccb_snd_rsp() 163 *p++ = p_msg->op_code; in mca_ccb_snd_rsp() 169 if (p_msg->op_code == MCA_OP_MDL_CREATE_RSP) { in mca_ccb_snd_rsp() 173 if (p_msg->op_code == MCA_OP_MDL_CREATE_RSP || in mca_ccb_snd_rsp() 174 p_msg->op_code == MCA_OP_MDL_RECONNECT_RSP) { in mca_ccb_snd_rsp() 254 evt_data.hdr.op_code = *p++; in mca_ccb_hdl_req() [all …]
|
D | mca_api.cc | 429 p_evt_data->op_code = MCA_OP_MDL_CREATE_REQ; in MCA_CreateMdl() 473 (p_ccb->p_rx_msg->op_code == MCA_OP_MDL_CREATE_REQ)) { in MCA_CreateMdlRsp() 493 evt_data.op_code = MCA_OP_MDL_CREATE_RSP; in MCA_CreateMdlRsp() 584 p_evt_data->op_code = MCA_OP_MDL_RECONNECT_REQ; in MCA_ReconnectMdl() 621 (p_ccb->p_rx_msg->op_code == MCA_OP_MDL_RECONNECT_REQ)) { in MCA_ReconnectMdlRsp() 640 evt_data.op_code = MCA_OP_MDL_RECONNECT_RSP; in MCA_ReconnectMdlRsp() 737 p_evt_data->op_code = MCA_OP_MDL_ABORT_REQ; in MCA_Abort() 774 p_evt_data->op_code = MCA_OP_MDL_DELETE_REQ; in MCA_Delete()
|
D | mca_int.h | 45 uint8_t op_code; /* the request/response opcode */ member
|
/system/bt/stack/include/ |
D | mca_api.h | 140 uint8_t op_code; /* The op (request/response) code */ member 146 uint8_t op_code; /* The op (request/response) code */ member 153 uint8_t op_code; /* The op (request/response) code */ member 161 uint8_t op_code; /* The op (request/response) code */ member
|
/system/nfc/src/nfc/tags/ |
D | rw_t1t.cc | 96 ((p_t1t->prev_cmd_rsp_info.op_code == T1T_CMD_RID) || in rw_t1t_data_cback() 97 (p_t1t->prev_cmd_rsp_info.op_code == T1T_CMD_RALL) || in rw_t1t_data_cback() 103 p_t1t->prev_cmd_rsp_info.op_code, in rw_t1t_data_cback() 134 ((p_t1t->prev_cmd_rsp_info.op_code == T1T_CMD_RID) || in rw_t1t_data_cback() 135 (p_t1t->prev_cmd_rsp_info.op_code == T1T_CMD_RALL) || in rw_t1t_data_cback() 140 p_t1t->prev_cmd_rsp_info.op_code, in rw_t1t_data_cback() 180 p_t1t->prev_cmd_rsp_info.op_code = p_cmd_rsp_info->opcode; in rw_t1t_data_cback() 618 p_t1t->prev_cmd_rsp_info.op_code = p_cmd_rsp_info->opcode; in rw_t1t_process_error()
|
/system/bt/tools/mcap_tool/ |
D | mcap_test_app.cc | 67 mcap_rsp->mdl_id, mcap_rsp->op_code, mcap_rsp->rsp_code); in print_mcap_event() 72 mcap_evt_hdr->mdl_id, mcap_evt_hdr->op_code); in print_mcap_event() 77 mcap_create_ind->mdl_id, mcap_create_ind->op_code, in print_mcap_event() 83 mcap_create_cfm->mdl_id, mcap_create_cfm->op_code, in print_mcap_event()
|
/system/bt/stack/btm/ |
D | btm_ble_privacy.cc | 67 uint8_t op_code) { in btm_ble_enq_resolving_list_pending() argument 71 p_q->resolve_q_action[p_q->q_next] = op_code; in btm_ble_enq_resolving_list_pending()
|
D | btm_ble_int.h | 107 extern void btm_ble_rand_enc_complete(uint8_t* p, uint16_t op_code,
|
D | btm_ble.cc | 1161 void btm_ble_rand_enc_complete(uint8_t* p, uint16_t op_code, in btm_ble_rand_enc_complete() argument 1176 params.opcode = op_code; in btm_ble_rand_enc_complete() 1178 if (op_code == HCI_BLE_RAND) in btm_ble_rand_enc_complete()
|
/system/bt/stack/srvc/ |
D | srvc_eng.cc | 31 uint8_t op_code, tGATTS_DATA* p_data);
|
/system/bt/stack/smp/ |
D | smp_keys.cc | 318 void smp_concatenate_local(tSMP_CB* p_cb, uint8_t** p_data, uint8_t op_code) { in smp_concatenate_local() argument 322 UINT8_TO_STREAM(p, op_code); in smp_concatenate_local() 337 void smp_concatenate_peer(tSMP_CB* p_cb, uint8_t** p_data, uint8_t op_code) { in smp_concatenate_peer() argument 341 UINT8_TO_STREAM(p, op_code); in smp_concatenate_peer()
|
/system/bt/bta/gatt/ |
D | bta_gattc_int.h | 142 uint8_t op_code; member
|
D | bta_gattc_act.cc | 913 uint8_t op = (uint8_t)p_data->op_cmpl.op_code; in bta_gattc_op_cmpl() 1314 p_buf->op_code = op; in bta_gattc_cmpl_sendmsg()
|
/system/nfc/src/nfc/include/ |
D | rw_int.h | 157 uint8_t op_code; /* Command sent */ member
|