Lines Matching refs:op_code
56 static void abort_after_time_out(OpCode op_code) { in abort_after_time_out() argument
57 bluetooth::os::LogMetricHciTimeoutEvent(static_cast<uint32_t>(op_code)); in abort_after_time_out()
58 …ASSERT_LOG(false, "Done waiting for debug information after HCI timeout (%s)", OpCodeText(op_code)… in abort_after_time_out()
140 OpCode op_code = response_view.GetCommandOpCode(); in on_command_status() local
146 op_code, in on_command_status()
147 OpCodeText(op_code).c_str()); in on_command_status()
161 OpCode op_code = response_view.GetCommandOpCode(); in handle_command_response() local
162 if (op_code == OpCode::NONE) { in handle_command_response()
168 …ommand_queue_.empty(), "Unexpected %s event with OpCode 0x%02hx (%s)", logging_id.c_str(), op_code, in handle_command_response()
169 OpCodeText(op_code).c_str()); in handle_command_response()
170 …ASSERT_LOG(waiting_command_ == op_code, "Waiting for 0x%02hx (%s), got 0x%02hx (%s)", waiting_comm… 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()
204 hci_abort_alarm_->Schedule(BindOnce(&abort_after_time_out, op_code), kHciTimeoutRestartMs); in on_hci_timeout()
227 OpCode op_code = cmd_view.GetOpCode(); in send_next_command() local
231 waiting_command_ = op_code; in send_next_command()
234 …larm_->Schedule(BindOnce(&impl::on_hci_timeout, common::Unretained(this), op_code), kHciTimeoutMs); in send_next_command()
236 LOG_WARN("%s sent without an hci-timeout timer", OpCodeText(op_code).c_str()); in send_next_command()