Searched defs:op_code (Results 1 - 16 of 16) sorted by path

/system/bt/bta/gatt/
H A Dbta_gattc_int.h142 uint8_t op_code; member in struct:__anon109
/system/bt/stack/btm/
H A Dbtm_ble.cc1160 void btm_ble_rand_enc_complete(uint8_t* p, uint16_t op_code, argument
1175 params.opcode = op_code;
1177 if (op_code == HCI_BLE_RAND)
H A Dbtm_ble_privacy.cc67 uint8_t op_code) {
71 p_q->resolve_q_action[p_q->q_next] = op_code;
66 btm_ble_enq_resolving_list_pending(const RawAddress& pseudo_bda, uint8_t op_code) argument
/system/bt/stack/gatt/
H A Datt_protocol.cc48 BT_HDR* attp_build_mtu_cmd(uint8_t op_code, uint16_t rx_mtu) { argument
54 UINT8_TO_STREAM(p, op_code);
71 BT_HDR* attp_build_exec_write_cmd(uint8_t op_code, uint8_t flag) { argument
80 UINT8_TO_STREAM(p, op_code);
82 if (op_code == GATT_REQ_EXEC_WRITE) {
127 BT_HDR* attp_build_browse_cmd(uint8_t op_code, uint16_t s_hdl, uint16_t e_hdl, argument
139 UINT8_TO_STREAM(p, op_code);
219 BT_HDR* attp_build_handle_cmd(uint8_t op_code, uint16_t handle, argument
227 UINT8_TO_STREAM(p, op_code);
233 if (op_code
250 attp_build_opcode_cmd(uint8_t op_code) argument
272 attp_build_value_cmd(uint16_t payload_size, uint8_t op_code, uint16_t handle, uint16_t offset, uint16_t len, uint8_t* p_data) argument
344 attp_build_sr_msg(tGATT_TCB& tcb, uint8_t op_code, tGATT_SR_MSG* p_msg) argument
459 attp_send_cl_msg(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, uint8_t op_code, tGATT_CL_MSG* p_msg) argument
[all...]
H A Dgatt_auth.cc98 uint8_t op_code; local
117 STREAM_TO_UINT8(op_code, p_orig);
118 gatt_server_handle_client_req(tcb, op_code, (uint16_t)(p_buf->len - 1),
H A Dgatt_cl.cc82 uint8_t op_code = disc_type_to_att_opcode[p_clcb->op_subtype]; local
124 tGATT_STATUS st = attp_send_cl_msg(*p_clcb->p_tcb, p_clcb, op_code, &cl_req);
143 uint8_t op_code = 0; local
150 op_code = GATT_REQ_READ_BY_TYPE;
163 op_code = GATT_REQ_READ;
173 op_code = GATT_REQ_READ_BLOB;
181 op_code = GATT_REQ_READ_BLOB;
187 op_code = GATT_REQ_READ_MULTI;
192 op_code = GATT_REQ_READ;
202 if (op_code !
219 uint8_t op_code = (sec_act == GATT_SEC_SIGN_DATA) ? GATT_SIGN_CMD_WRITE local
418 gatt_process_read_info_rsp(UNUSED_ATTR tGATT_TCB& tcb, tGATT_CLCB* p_clcb, UNUSED_ATTR uint8_t op_code, uint16_t len, uint8_t* p_data) argument
507 gatt_process_error_rsp(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, UNUSED_ATTR uint8_t op_code, UNUSED_ATTR uint16_t len, uint8_t* p_data) argument
564 gatt_process_prep_write_rsp(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, uint8_t op_code, uint16_t len, uint8_t* p_data) argument
609 gatt_process_notification(tGATT_TCB& tcb, uint8_t op_code, uint16_t len, uint8_t* p_data) argument
696 gatt_process_read_by_type_rsp(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, uint8_t op_code, uint16_t len, uint8_t* p_data) argument
889 gatt_process_read_rsp(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, UNUSED_ATTR uint8_t op_code, uint16_t len, uint8_t* p_data) argument
1055 gatt_client_handle_server_rsp(tGATT_TCB& tcb, uint8_t op_code, uint16_t len, uint8_t* p_data) argument
1138 LOG(ERROR) << __func__ << ": Unknown opcode = " << std::hex << op_code; local
[all...]
H A Dgatt_db.cc46 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,
277 status = gatts_send_app_read_request(tcb, op_code, attr.handle, 0,
443 tGATT_TCB& tcb, tGATT_SVC_DB* p_db, uint8_t op_code, uint16_t handle,
451 (bool)(op_code == GATT_REQ_READ_BLOB),
455 status = gatts_send_app_read_request(tcb, op_code, p_attr->handle, offset,
497 * op_code:op code of this write.
508 tGATT_STATUS gatts_write_attr_perm_check(tGATT_SVC_DB* p_db, uint8_t op_code, argument
514 "%s: op_code=0x%0x handle=0x%04x offset=%d len=%d sec_flag=0x%0x "
516 __func__, op_code, handl
254 gatts_db_read_attr_value_by_type( tGATT_TCB& tcb, tGATT_SVC_DB* p_db, uint8_t op_code, BT_HDR* p_rsp, uint16_t s_handle, uint16_t e_handle, const Uuid& type, uint16_t* p_len, tGATT_SEC_FLAG sec_flag, uint8_t key_size, uint32_t trans_id, uint16_t* p_cur_handle) argument
442 gatts_read_attr_value_by_handle( tGATT_TCB& tcb, tGATT_SVC_DB* p_db, uint8_t op_code, uint16_t handle, uint16_t offset, uint8_t* p_value, uint16_t* p_len, uint16_t mtu, tGATT_SEC_FLAG sec_flag, uint8_t key_size, uint32_t trans_id) argument
678 gatts_send_app_read_request( tGATT_TCB& tcb, uint8_t op_code, uint16_t handle, uint16_t offset, uint32_t trans_id, bt_gatt_db_attribute_type_t gatt_type) argument
[all...]
H A Dgatt_int.h204 uint8_t op_code; member in struct:__anon1007
223 uint8_t op_code; member in struct:__anon1008
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...]
H A Dgatt_main.cc956 uint8_t op_code, pseudo_op_code; local
964 STREAM_TO_UINT8(op_code, p);
967 pseudo_op_code = op_code & (~GATT_WRITE_CMD_MASK);
973 << ": ATT - Rcvd L2CAP data, unknown cmd: " << loghex(op_code);
974 gatt_send_error_rsp(tcb, GATT_REQ_NOT_SUPPORTED, op_code, 0, false);
978 if (op_code == GATT_SIGN_CMD_WRITE) {
982 if ((op_code % 2) == 0)
983 gatt_server_handle_client_req(tcb, op_code, msg_len, p);
985 gatt_client_handle_server_rsp(tcb, op_code, msg_len, p);
H A Dgatt_sr.cc49 uint32_t gatt_sr_enqueue_cmd(tGATT_TCB& tcb, uint8_t op_code, uint16_t handle) { argument
53 if ((p_cmd->op_code == 0) ||
54 (op_code == GATT_HANDLE_VALUE_CONF)) /* no pending request */
56 if (op_code == GATT_CMD_WRITE || op_code == GATT_SIGN_CMD_WRITE ||
57 op_code == GATT_REQ_MTU || op_code == GATT_HANDLE_VALUE_CONF) {
61 p_cmd->op_code = op_code;
81 bool gatt_sr_cmd_empty(tGATT_TCB& tcb) { return (tcb.sr_cmd.op_code
228 gatt_sr_process_app_rsp(tGATT_TCB& tcb, tGATT_IF gatt_if, UNUSED_ATTR uint32_t trans_id, uint8_t op_code, tGATT_STATUS status, tGATTS_RSP* p_msg) argument
287 gatt_process_exec_write_req(tGATT_TCB& tcb, uint8_t op_code, uint16_t len, uint8_t* p_data) argument
352 gatt_process_read_multi_req(tGATT_TCB& tcb, uint8_t op_code, uint16_t len, uint8_t* p_data) argument
452 gatt_build_primary_service_rsp( BT_HDR* p_msg, tGATT_TCB& tcb, uint8_t op_code, uint16_t s_hdl, uint16_t e_hdl, UNUSED_ATTR uint8_t* p_data, const Uuid& value) argument
584 gatts_validate_packet_format(uint8_t op_code, uint16_t& len, uint8_t*& p, Uuid* p_uuid, uint16_t& s_hdl, uint16_t& e_hdl) argument
616 gatts_process_primary_service_req(tGATT_TCB& tcb, uint8_t op_code, uint16_t len, uint8_t* p_data) argument
675 gatts_process_find_info(tGATT_TCB& tcb, uint8_t op_code, uint16_t len, uint8_t* p_data) argument
790 gatts_process_read_by_type_req(tGATT_TCB& tcb, uint8_t op_code, uint16_t len, uint8_t* p_data) argument
863 gatts_process_write_req(tGATT_TCB& tcb, tGATT_SRV_LIST_ELEM& el, uint16_t handle, uint8_t op_code, uint16_t len, uint8_t* p_data, bt_gatt_db_attribute_type_t gatt_type) argument
951 gatts_process_read_req(tGATT_TCB& tcb, tGATT_SRV_LIST_ELEM& el, uint8_t op_code, uint16_t handle, uint16_t len, uint8_t* p_data) argument
1008 gatts_process_attribute_req(tGATT_TCB& tcb, uint8_t op_code, uint16_t len, uint8_t* p_data) argument
1154 gatts_process_value_conf(tGATT_TCB& tcb, uint8_t op_code) argument
1181 gatt_server_handle_client_req(tGATT_TCB& tcb, uint8_t op_code, uint16_t len, uint8_t* p_data) argument
[all...]
H A Dgatt_utils.cc724 uint8_t op_code, uint16_t handle, bool deq) {
729 msg.error.cmd_code = op_code;
819 << StringPrintf(" enable=%d op_code=%d, err_status=%d", enable,
1125 uint8_t op_code, BT_HDR* p_buf) {
1128 cmd.op_code = op_code;
1146 *p_op_code = cmd.op_code;
1153 uint8_t gatt_send_write_msg(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, uint8_t op_code, argument
1163 return attp_send_cl_msg(tcb, p_clcb, op_code, &msg);
1293 uint8_t* gatt_dbg_op_name(uint8_t op_code) { argument
723 gatt_send_error_rsp(tGATT_TCB& tcb, uint8_t err_code, uint8_t op_code, uint16_t handle, bool deq) argument
1124 gatt_cmd_enq(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, bool to_send, uint8_t op_code, BT_HDR* p_buf) argument
[all...]
/system/bt/stack/include/
H A Dmca_api.h140 uint8_t op_code; /* The op (request/response) code */ member in struct:__anon1246
146 uint8_t op_code; /* The op (request/response) code */ member in struct:__anon1247
153 uint8_t op_code; /* The op (request/response) code */ member in struct:__anon1248
161 uint8_t op_code; /* The op (request/response) code */ member in struct:__anon1249
/system/bt/stack/mcap/
H A Dmca_int.h45 uint8_t op_code; /* the request/response opcode */ member in struct:__anon1289
46 uint8_t rsp_code; /* valid only if op_code is a response */
/system/bt/stack/smp/
H A Dsmp_keys.cc318 void smp_concatenate_local(tSMP_CB* p_cb, uint8_t** p_data, uint8_t op_code) { argument
322 UINT8_TO_STREAM(p, op_code);
337 void smp_concatenate_peer(tSMP_CB* p_cb, uint8_t** p_data, uint8_t op_code) { argument
341 UINT8_TO_STREAM(p, op_code);
/system/nfc/src/nfc/include/
H A Drw_int.h157 uint8_t op_code; /* Command sent */ member in struct:__anon2526
/system/nfc/src/nfc/nci/
H A Dnci_hrcv.cc54 uint8_t *pp, len, op_code; local
61 NCI_MSG_PRS_HDR1(pp, op_code);
63 << StringPrintf("nci_proc_core_rsp opcode:0x%x", op_code);
67 switch (op_code) {
96 LOG(ERROR) << StringPrintf("unknown opcode:0x%x", op_code);
114 uint8_t *pp, len, op_code; local
120 NCI_MSG_PRS_HDR1(pp, op_code);
122 << StringPrintf("nci_proc_core_ntf opcode:0x%x", op_code);
126 switch (op_code) {
148 LOG(ERROR) << StringPrintf("unknown opcode:0x%x", op_code);
164 uint8_t *pp, len, op_code; local
235 uint8_t *pp, len, op_code; local
312 uint8_t *pp, len, op_code; local
376 uint8_t *pp, len, op_code; local
464 uint8_t *pp, len, op_code; local
489 uint8_t op_code; local
519 uint8_t *pp, len, op_code; local
[all...]

Completed in 188 milliseconds