/aosp12/system/bt/stack/gatt/ |
H A D | gatt_sr.cc | 71 if (op_code == GATT_CMD_WRITE || op_code == GATT_SIGN_CMD_WRITE || in gatt_sr_enqueue_cmd() 72 op_code == GATT_REQ_MTU || op_code == GATT_HANDLE_VALUE_CONF) { in gatt_sr_enqueue_cmd() 76 p_cmd->op_code = op_code; in gatt_sr_enqueue_cmd() 757 *p++ = op_code + 1; in gatts_process_find_info() 887 *p++ = op_code + 1; in gatts_process_read_by_type_req() 945 switch (op_code) { in gatts_process_write_req() 966 if (op_code == GATT_REQ_WRITE || op_code == GATT_REQ_PREPARE_WRITE) in gatts_process_write_req() 1013 (op_code == GATT_REQ_PREPARE_WRITE || op_code == GATT_REQ_WRITE)) { in gatts_process_write_req() 1045 *p++ = op_code + 1; in gatts_process_read_req() 1266 switch (op_code) { in gatts_process_db_out_of_sync() [all …]
|
H A D | att_protocol.cc | 55 UINT8_TO_STREAM(p, op_code); in attp_build_mtu_cmd() 81 UINT8_TO_STREAM(p, op_code); in attp_build_exec_write_cmd() 141 UINT8_TO_STREAM(p, op_code); in attp_build_browse_cmd() 204 UINT8_TO_STREAM(p, op_code); in attp_build_read_multi_cmd() 230 UINT8_TO_STREAM(p, op_code); in attp_build_handle_cmd() 293 if (op_code != GATT_RSP_READ_BLOB && op_code != GATT_RSP_READ) { in attp_build_value_cmd() 298 if (op_code == GATT_REQ_PREPARE_WRITE || op_code == GATT_RSP_PREPARE_WRITE) { in attp_build_value_cmd() 355 switch (op_code) { in attp_build_sr_msg() 514 switch (op_code) { in attp_send_cl_msg() 519 op_code); in attp_send_cl_msg() [all …]
|
H A D | gatt_cl.cc | 151 uint8_t op_code = 0; in gatt_act_read() local 171 op_code = GATT_REQ_READ; in gatt_act_read() 189 op_code = GATT_REQ_READ_BLOB; in gatt_act_read() 195 op_code = GATT_REQ_READ_MULTI; in gatt_act_read() 200 op_code = GATT_REQ_READ; in gatt_act_read() 210 if (op_code != 0) rt = attp_send_cl_msg(tcb, p_clcb, op_code, &msg); in gatt_act_read() 1153 if (cmd.op_code == GATT_CMD_WRITE || cmd.op_code == GATT_SIGN_CMD_WRITE) { in gatt_cl_send_next_cmd_inq() 1182 if (op_code == GATT_HANDLE_VALUE_IND || op_code == GATT_HANDLE_VALUE_NOTIF || in gatt_client_handle_server_rsp() 1198 if (!p_clcb || (rsp_code != op_code && op_code != GATT_RSP_ERROR)) { in gatt_client_handle_server_rsp() 1201 op_code, rsp_code); in gatt_client_handle_server_rsp() [all …]
|
H A D | gatt_db.cc | 48 tGATT_TCB& tcb, uint16_t cid, uint8_t op_code, uint16_t handle, 268 tGATT_TCB& tcb, uint16_t cid, tGATT_SVC_DB* p_db, uint8_t op_code, in gatts_db_read_attr_value_by_type() argument 470 tGATT_TCB& tcb, uint16_t cid, tGATT_SVC_DB* p_db, uint8_t op_code, in gatts_read_attr_value_by_handle() argument 483 status = gatts_send_app_read_request(tcb, cid, op_code, p_attr->handle, in gatts_read_attr_value_by_handle() 544 __func__, op_code, handle, offset, len, sec_flag, key_size); in gatts_write_attr_perm_check() 557 if ((op_code == GATT_CMD_WRITE || op_code == GATT_REQ_WRITE) && in gatts_write_attr_perm_check() 581 if ((op_code == GATT_SIGN_CMD_WRITE) && in gatts_write_attr_perm_check() 653 if (op_code == GATT_REQ_PREPARE_WRITE && offset != 0) { in gatts_write_attr_perm_check() 707 tGATT_TCB& tcb, uint16_t cid, uint8_t op_code, uint16_t handle, in gatts_send_app_read_request() argument 713 trans_id = gatt_sr_enqueue_cmd(tcb, cid, op_code, handle); in gatts_send_app_read_request() [all …]
|
H A D | gatt_int.h | 205 uint8_t op_code; member 225 uint8_t op_code; member 478 extern BT_HDR* attp_build_sr_msg(tGATT_TCB& tcb, uint8_t op_code, 486 extern uint8_t* gatt_dbg_op_name(uint8_t op_code); 543 uint8_t op_code, uint16_t len, 548 uint8_t op_code, uint16_t handle); 598 uint8_t op_code, uint16_t handle, 613 uint8_t op_code, BT_HDR* p_buf); 615 uint8_t op_code, uint16_t len, 642 tGATT_TCB& tcb, uint16_t cid, tGATT_SVC_DB* p_db, uint8_t op_code, [all …]
|
H A D | gatt_main.cc | 804 uint8_t op_code, pseudo_op_code; in gatt_data_process() local 812 STREAM_TO_UINT8(op_code, p); in gatt_data_process() 815 pseudo_op_code = op_code & (~GATT_WRITE_CMD_MASK); in gatt_data_process() 821 << ": ATT - Rcvd L2CAP data, unknown cmd: " << loghex(op_code); in gatt_data_process() 822 gatt_send_error_rsp(tcb, cid, GATT_REQ_NOT_SUPPORTED, op_code, 0, false); in gatt_data_process() 826 if (op_code == GATT_SIGN_CMD_WRITE) { in gatt_data_process() 830 if ((op_code % 2) == 0) in gatt_data_process() 831 gatt_server_handle_client_req(tcb, cid, op_code, msg_len, p); in gatt_data_process() 833 gatt_client_handle_server_rsp(tcb, cid, op_code, msg_len, p); in gatt_data_process()
|
H A D | gatt_utils.cc | 804 uint8_t op_code, uint16_t handle, bool deq) { in gatt_send_error_rsp() argument 809 msg.error.cmd_code = op_code; in gatt_send_error_rsp() 1414 uint8_t op_code, BT_HDR* p_buf) { in gatt_cmd_enq() argument 1417 cmd.op_code = op_code; in gatt_cmd_enq() 1449 *p_op_code = cmd.op_code; in gatt_cmd_dequeue() 1458 uint8_t op_code, uint16_t handle, uint16_t len, in gatt_send_write_msg() argument 1467 return attp_send_cl_msg(tcb, p_clcb, op_code, &msg); in gatt_send_write_msg() 1596 uint8_t* gatt_dbg_op_name(uint8_t op_code) { in gatt_dbg_op_name() argument 1597 uint8_t pseduo_op_code_idx = op_code & (~GATT_WRITE_CMD_MASK); in gatt_dbg_op_name() 1599 if (op_code == GATT_CMD_WRITE) { in gatt_dbg_op_name() [all …]
|
H A D | gatt_auth.cc | 101 uint8_t op_code; in gatt_verify_signature() local 120 STREAM_TO_UINT8(op_code, p_orig); in gatt_verify_signature() 121 gatt_server_handle_client_req(tcb, cid, op_code, (uint16_t)(p_buf->len - 1), in gatt_verify_signature()
|
/aosp12/system/nfc/src/nfc/nci/ |
H A D | nci_hrcv.cc | 55 uint8_t *pp, len, op_code; in nci_proc_core_rsp() local 68 switch (op_code) { in nci_proc_core_rsp() 115 uint8_t *pp, len, op_code; in nci_proc_core_ntf() local 133 switch (op_code) { in nci_proc_core_ntf() 171 uint8_t *pp, len, op_code; in nci_proc_rf_management_rsp() local 180 switch (op_code) { in nci_proc_rf_management_rsp() 242 uint8_t *pp, len, op_code; in nci_proc_rf_management_ntf() local 250 switch (op_code) { in nci_proc_rf_management_ntf() 348 switch (op_code) { in nci_proc_ee_management_rsp() 427 switch (op_code) { in nci_proc_ee_management_ntf() [all …]
|
/aosp12/system/bt/gd/hci/ |
H A D | hci_packets.pdl | 648 op_code : OpCode, 854 packet Inquiry : DiscoveryCommand (op_code = INQUIRY) { 960 packet Disconnect : AclCommand (op_code = DISCONNECT) { 1630 packet SetEventMask : Command (op_code = SET_EVENT_MASK) { 1638 packet Reset : Command (op_code = RESET) { 1737 packet ReadPinType : Command (op_code = READ_PIN_TYPE) { 1745 packet WritePinType : Command (op_code = WRITE_PIN_TYPE) { 2603 packet ReadBdAddr : Command (op_code = READ_BD_ADDR) { 2742 packet ReadRssi : AclCommand (op_code = READ_RSSI) { 3154 packet LeRand : LeSecurityCommand (op_code = LE_RAND) { [all …]
|
H A D | hci_layer.cc | 56 static void abort_after_time_out(OpCode op_code) { in abort_after_time_out() argument 146 op_code, in on_command_status() 147 OpCodeText(op_code).c_str()); in on_command_status() 162 if (op_code == OpCode::NONE) { in handle_command_response() 169 OpCodeText(op_code).c_str()); in handle_command_response() 171 OpCodeText(waiting_command_).c_str(), op_code, OpCodeText(op_code).c_str()); in handle_command_response() 173 op_code, OpCodeText(op_code).c_str(), logging_id.c_str()); in handle_command_response() 184 void on_hci_timeout(OpCode op_code) { in on_hci_timeout() 186 LOG_ERROR("Timed out waiting for 0x%02hx (%s)", op_code, OpCodeText(op_code).c_str()); in on_hci_timeout() 227 OpCode op_code = cmd_view.GetOpCode(); in send_next_command() local [all …]
|
H A D | hci_metrics_logging.cc | 68 OpCode op_code = command_view->GetOpCode(); in log_link_layer_connection_command_status() local 83 switch (op_code) { in log_link_layer_connection_command_status() 238 static_cast<uint32_t>(op_code), in log_link_layer_connection_command_status() 248 OpCode op_code = command_complete_view.GetCommandOpCode(); in log_link_layer_connection_command_complete() local 265 switch (op_code) { in log_link_layer_connection_command_complete() 319 static_cast<uint32_t>(op_code), in log_link_layer_connection_command_complete() 534 OpCode op_code = command_view->GetOpCode(); in log_classic_pairing_command_status() local 556 switch (op_code) { in log_classic_pairing_command_status() 689 static_cast<uint32_t>(op_code), in log_classic_pairing_command_status() 720 switch (op_code) { in log_classic_pairing_command_complete() [all …]
|
H A D | le_scanning_manager_test.cc | 52 bool IsSupported(OpCode op_code) const override { in IsSupported() 53 return supported_opcodes_.count(op_code) == 1; in IsSupported() 56 void AddSupported(OpCode op_code) { in AddSupported() argument 57 supported_opcodes_.insert(op_code); in AddSupported() 109 ConnectionManagementCommandView GetCommand(OpCode op_code) { in GetCommand() argument 113 EXPECT_EQ(command.GetOpCode(), op_code); in GetCommand()
|
H A D | le_advertising_manager_test.cc | 53 bool IsSupported(OpCode op_code) const override { in IsSupported() 54 return supported_opcodes_.count(op_code) == 1; in IsSupported() 57 void AddSupported(OpCode op_code) { in AddSupported() argument 58 supported_opcodes_.insert(op_code); in AddSupported() 122 void SetCommandFuture(OpCode op_code = OpCode::NONE) { in SetCommandFuture() argument 124 command_op_code_ = op_code; in SetCommandFuture() 144 ConnectionManagementCommandView GetCommand(OpCode op_code) { in GetCommand() argument 156 …d_queue_.empty(), "Expecting command %s but command queue was empty", OpCodeText(op_code).c_str()); in GetCommand() 162 EXPECT_EQ(command.GetOpCode(), op_code); in GetCommand()
|
H A D | le_address_manager_test.cc | 73 CommandView GetCommand(OpCode op_code) { in GetCommand() argument 86 …d_queue_.empty(), "Expecting command %s but command queue was empty", OpCodeText(op_code).c_str()); in GetCommand() 89 EXPECT_EQ(command_packet_view.GetOpCode(), op_code); in GetCommand()
|
/aosp12/system/bt/gd/hci/acl_manager/ |
H A D | event_checkers.h | 32 OpCode op_code = status_view.GetCommandOpCode(); in check_command_complete() local 35 …ERROR("Received command complete with error code %s, opcode 0x%02hx", error_code.c_str(), op_code); in check_command_complete() 49 OpCode op_code = status_view.GetCommandOpCode(); in check_command_status() local 52 …G_ERROR("Received command status with error code %s, opcode 0x%02hx", error_code.c_str(), op_code); in check_command_status()
|
/aosp12/system/bt/bta/test/ |
H A D | bta_gatt_test.cc | 158 .op_code = GATTC_OPTYPE_READ, in TEST_F() 193 .op_code = GATTC_OPTYPE_WRITE, in TEST_F() 225 .op_code = GATTC_OPTYPE_CONFIG, in TEST_F() 255 .op_code = GATTC_OPTYPE_EXE_WRITE, in TEST_F() 287 .op_code = GATTC_OPTYPE_READ, in TEST_F()
|
/aosp12/hardware/broadcom/libbt/include/ |
H A D | uipc_msg.h | 130 uint8_t op_code; member 173 uint8_t op_code; /* L2C_SYNC_TO_LITE_REQ */ member 194 uint8_t op_code; /* L2C_SYNC_TO_LITE_RESP */ member 202 uint8_t op_code; /* L2C_REMOVE_TO_LITE_REQ */ member 213 uint8_t op_code; member 274 uint8_t op_code; member 283 uint8_t op_code; member
|
/aosp12/system/bt/stack/test/gatt/ |
H A D | mock_gatt_utils_ref.cc | 42 BT_HDR* attp_build_sr_msg(tGATT_TCB& tcb, uint8_t op_code, in attp_build_sr_msg() argument 50 uint8_t op_code, tGATT_CL_MSG* p_msg) { in attp_send_cl_msg() argument 72 uint32_t gatt_sr_enqueue_cmd(tGATT_TCB& tcb, uint16_t cid, uint8_t op_code, in gatt_sr_enqueue_cmd() argument
|
H A D | gatt_sr_test.cc | 66 BT_HDR* attp_build_sr_msg(tGATT_TCB& tcb, uint8_t op_code, in attp_build_sr_msg() argument 68 test_state_.attp_build_sr_msg.op_code_ = op_code; in attp_build_sr_msg() 75 uint8_t op_code, tGATT_CL_MSG* p_msg) { in attp_send_cl_msg() argument 96 tGATT_TCB& tcb, uint16_t cid, tGATT_SVC_DB* p_db, uint8_t op_code, in gatts_db_read_attr_value_by_type() argument 115 tGATT_TCB& tcb, uint16_t cid, tGATT_SVC_DB* p_db, uint8_t op_code, in gatts_read_attr_value_by_handle() argument 121 tGATT_STATUS gatts_write_attr_perm_check(tGATT_SVC_DB* p_db, uint8_t op_code, in gatts_write_attr_perm_check() argument
|
/aosp12/system/nfc/src/nfc/tags/ |
H A 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()
|
/aosp12/system/bt/main/shim/ |
H A D | hci_layer.cc | 388 auto op_code = static_cast<const bluetooth::hci::OpCode>(command_op_code); in transmit_command() local 392 bluetooth::hci::CommandBuilder::Create(op_code, std::move(payload)); in transmit_command() 394 LOG_DEBUG("Sending command %s", bluetooth::hci::OpCodeText(op_code).c_str()); in transmit_command() 396 if (bluetooth::hci::Checker::IsCommandStatusOpcode(op_code)) { in transmit_command() 571 auto op_code = static_cast<const bluetooth::hci::OpCode>(command_op_code); in transmit_command() local 573 LOG_DEBUG("Sending command %s", bluetooth::hci::OpCodeText(op_code).c_str()); in transmit_command() 575 if (bluetooth::hci::Checker::IsCommandStatusOpcode(op_code)) { in transmit_command()
|
/aosp12/hardware/qcom/sm7250/display/sde-drm/ |
H A D | drm_atomic_req.h | 48 virtual int Perform(DRMOps op_code, uint32_t obj_id, ...);
|
/aosp12/system/bt/stack/include/ |
H A D | ble_hci_link_interface.h | 35 extern void btm_ble_rand_enc_complete(uint8_t* p, uint16_t op_code,
|
/aosp12/system/bt/profile/avrcp/ |
H A D | connection_handler.cc | 558 uint16_t op_code = (uint16_t)(::bluetooth::Packet::Specialize<Packet>(packet)->GetOpcode()); in SendMessage() local 559 if (!browse && (op_code == (uint16_t)(Opcode::VENDOR))) { in SendMessage() 560 pkt->event = op_code; in SendMessage()
|