/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 126 NCI_MSG_PRS_HDR1(pp, op_code); in nci_proc_core_ntf() 128 << StringPrintf("nci_proc_core_ntf opcode:0x%x", op_code); in nci_proc_core_ntf() 132 switch (op_code) { in nci_proc_core_ntf() 154 LOG(ERROR) << StringPrintf("unknown opcode:0x%x", op_code); in nci_proc_core_ntf() [all …]
|
/system/bt/stack/gatt/ |
D | gatt_sr.cc | 50 uint32_t gatt_sr_enqueue_cmd(tGATT_TCB& tcb, uint8_t op_code, uint16_t handle) { in gatt_sr_enqueue_cmd() argument 54 if ((p_cmd->op_code == 0) || in gatt_sr_enqueue_cmd() 55 (op_code == GATT_HANDLE_VALUE_CONF)) /* no pending request */ in gatt_sr_enqueue_cmd() 57 if (op_code == GATT_CMD_WRITE || op_code == GATT_SIGN_CMD_WRITE || in gatt_sr_enqueue_cmd() 58 op_code == GATT_REQ_MTU || op_code == GATT_HANDLE_VALUE_CONF) { in gatt_sr_enqueue_cmd() 62 p_cmd->op_code = op_code; in gatt_sr_enqueue_cmd() 82 bool gatt_sr_cmd_empty(tGATT_TCB& tcb) { return (tcb.sr_cmd.op_code == 0); } in gatt_sr_cmd_empty() 231 uint8_t op_code, tGATT_STATUS status, in gatt_sr_process_app_rsp() argument 239 if (op_code == GATT_REQ_READ_MULTI) { in gatt_sr_process_app_rsp() 244 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 421 uint8_t op_code, tGATT_CL_MSG* p_msg); 422 extern BT_HDR* attp_build_sr_msg(tGATT_TCB& tcb, uint8_t op_code, 428 extern uint8_t* gatt_dbg_op_name(uint8_t op_code); 446 uint8_t op_code, uint16_t handle, 477 uint32_t trans_id, uint8_t op_code, 480 extern void gatt_server_handle_client_req(tGATT_TCB& p_tcb, uint8_t op_code, 483 uint8_t op_code, tGATTS_DATA* p_req_data); 484 extern uint32_t gatt_sr_enqueue_cmd(tGATT_TCB& tcb, uint8_t op_code, [all …]
|
D | gatt_utils.cc | 735 uint8_t op_code, uint16_t handle, bool deq) { in gatt_send_error_rsp() argument 740 msg.error.cmd_code = op_code; in gatt_send_error_rsp() 1130 uint8_t op_code, BT_HDR* p_buf) { in gatt_cmd_enq() argument 1133 cmd.op_code = op_code; in gatt_cmd_enq() 1151 *p_op_code = cmd.op_code; in gatt_cmd_dequeue() 1158 uint8_t gatt_send_write_msg(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, uint8_t op_code, in gatt_send_write_msg() argument 1168 return attp_send_cl_msg(tcb, p_clcb, op_code, &msg); in gatt_send_write_msg() 1298 uint8_t* gatt_dbg_op_name(uint8_t op_code) { in gatt_dbg_op_name() argument 1299 uint8_t pseduo_op_code_idx = op_code & (~GATT_WRITE_CMD_MASK); in gatt_dbg_op_name() 1301 if (op_code == GATT_CMD_WRITE) { in gatt_dbg_op_name() [all …]
|
D | gatt_main.cc | 852 uint8_t op_code, pseudo_op_code; in gatt_data_process() local 860 STREAM_TO_UINT8(op_code, p); in gatt_data_process() 863 pseudo_op_code = op_code & (~GATT_WRITE_CMD_MASK); in gatt_data_process() 869 << ": ATT - Rcvd L2CAP data, unknown cmd: " << loghex(op_code); in gatt_data_process() 870 gatt_send_error_rsp(tcb, GATT_REQ_NOT_SUPPORTED, op_code, 0, false); in gatt_data_process() 874 if (op_code == GATT_SIGN_CMD_WRITE) { in gatt_data_process() 878 if ((op_code % 2) == 0) in gatt_data_process() 879 gatt_server_handle_client_req(tcb, op_code, msg_len, p); in gatt_data_process() 881 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 | 537 << " waiting for op_code=" << loghex(p_tcb->sr_cmd.op_code); in GATTS_SendRsp() 542 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 …]
|
/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() 619 p_t1t->prev_cmd_rsp_info.op_code = p_cmd_rsp_info->opcode; in rw_t1t_process_error()
|
/system/bt/stack/smp/ |
D | smp_keys.cc | 236 void smp_concatenate_local(tSMP_CB* p_cb, uint8_t** p_data, uint8_t op_code) { in smp_concatenate_local() argument 240 UINT8_TO_STREAM(p, op_code); in smp_concatenate_local() 255 void smp_concatenate_peer(tSMP_CB* p_cb, uint8_t** p_data, uint8_t op_code) { in smp_concatenate_peer() argument 259 UINT8_TO_STREAM(p, op_code); in smp_concatenate_peer()
|
/system/bt/stack/btm/ |
D | btm_ble_int.h | 106 extern void btm_ble_rand_enc_complete(uint8_t* p, uint16_t op_code,
|
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.cc | 1144 void btm_ble_rand_enc_complete(uint8_t* p, uint16_t op_code, in btm_ble_rand_enc_complete() argument 1159 params.opcode = op_code; in btm_ble_rand_enc_complete() 1161 if (op_code == HCI_BLE_RAND) in btm_ble_rand_enc_complete()
|
/system/bt/stack/srvc/ |
D | srvc_eng.cc | 30 uint8_t op_code, tGATTS_DATA* p_data);
|
/system/bt/bta/gatt/ |
D | bta_gattc_int.h | 143 uint8_t op_code; member
|
D | bta_gattc_act.cc | 917 uint8_t op = (uint8_t)p_data->op_cmpl.op_code; in bta_gattc_op_cmpl() 1321 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
|