Home
last modified time | relevance | path

Searched refs:command_packet (Results 1 – 15 of 15) sorted by relevance

/external/pigweed/pw_bluetooth_hci/
Duart_transport_fuzzer.cc36 const CommandPacket& command_packet = packet.command_packet(); in LLVMFuzzerTestOneInput() local
38 const uint16_t opcode = command_packet.opcode(); in LLVMFuzzerTestOneInput()
42 command_packet.opcode_command_field(); in LLVMFuzzerTestOneInput()
46 const uint8_t opcode_group_field = command_packet.opcode_group_field(); in LLVMFuzzerTestOneInput()
50 stream.Write(command_packet.parameters()).IgnoreError(); in LLVMFuzzerTestOneInput()
/external/pigweed/pw_bluetooth_sapphire/host/testing/
Dfake_controller.cc3457 const PacketView<hci_spec::CommandHeader>& command_packet) { in OnCommandPacketReceived() argument
3459 cpp20::endian::little, command_packet.header().opcode); in OnCommandPacketReceived()
3466 HandleReceivedCommandPacket(command_packet); in OnCommandPacketReceived()
3472 [this, packet_data = DynamicByteBuffer(command_packet.data())]() { in OnCommandPacketReceived()
3473 PacketView<hci_spec::CommandHeader> command_packet( in OnCommandPacketReceived() local
3475 HandleReceivedCommandPacket(command_packet); in OnCommandPacketReceived()
3630 const PacketView<hci_spec::CommandHeader>& command_packet) { in OnAndroidA2dpOffloadCommand() argument
3631 const auto& payload = command_packet.payload_data(); in OnAndroidA2dpOffloadCommand()
3637 command_packet.data().data(), command_packet.size()); in OnAndroidA2dpOffloadCommand()
3993 const PacketView<hci_spec::CommandHeader>& command_packet) { in OnAndroidLEMultiAdvt() argument
[all …]
Dfake_signaling_server.cc246 MutablePacketView<l2cap::CommandHeader> command_packet(&response_buffer, in SendCFrame() local
248 command_packet.mutable_header()->code = code; in SendCFrame()
249 command_packet.mutable_header()->id = id; in SendCFrame()
250 command_packet.mutable_header()->length = in SendCFrame()
252 command_packet.mutable_payload_data().Write(payload_buffer); in SendCFrame()
/external/pigweed/pw_bluetooth_sapphire/host/transport/public/pw_bluetooth_sapphire/internal/host/transport/
Dcommand_channel.h101 TransactionId SendCommand(CommandPacket command_packet,
112 TransactionId SendLeAsyncCommand(CommandPacket command_packet,
122 CommandPacket command_packet,
131 CommandPacket command_packet,
233 CommandPacket command_packet,
323 QueuedCommand(CommandPacket command_packet,
/external/pigweed/pw_bluetooth_sapphire/host/transport/
Dcommand_channel.cc49 CommandPacket command_packet, in QueuedCommand() argument
51 : packet(std::move(command_packet)), data(std::move(transaction_data)) { in QueuedCommand()
149 CommandPacket command_packet, in SendCommand() argument
153 std::move(command_packet), std::move(callback), complete_event_code); in SendCommand()
157 CommandPacket command_packet, in SendLeAsyncCommand() argument
161 std::move(command_packet), std::move(callback), le_meta_subevent_code); in SendLeAsyncCommand()
165 CommandPacket command_packet, in SendExclusiveCommand() argument
169 return SendExclusiveCommandInternal(std::move(command_packet), in SendExclusiveCommand()
177 CommandPacket command_packet, in SendLeAsyncExclusiveCommand() argument
181 return SendExclusiveCommandInternal(std::move(command_packet), in SendLeAsyncExclusiveCommand()
[all …]
/external/pigweed/pw_bluetooth_sapphire/host/hci/
Dsequential_command_runner.cc34 CommandPacket command_packet, in QueueCommand() argument
40 QueuedCommand{.packet = std::move(command_packet), in QueueCommand()
53 CommandPacket command_packet, in QueueLeAsyncCommand() argument
58 QueuedCommand{.packet = std::move(command_packet), in QueueLeAsyncCommand()
/external/pigweed/pw_bluetooth_sapphire/host/hci/public/pw_bluetooth_sapphire/internal/host/hci/
Dsequential_command_runner.h70 CommandPacket command_packet,
80 CommandPacket command_packet,
/external/pigweed/pw_bluetooth_sapphire/host/l2cap/
Dsignaling_channel.cc83 auto command_packet = BuildPacket(req_code, id, payload); in SendRequest() local
86 EnqueueResponse(*command_packet, id, response_code, std::move(cb)); in SendRequest()
88 return Send(std::move(command_packet)); in SendRequest()
368 Send(std::make_unique<DynamicByteBuffer>(*pending_command.command_packet)); in RetransmitPendingCommand()
/external/pigweed/pw_bluetooth_sapphire/host/l2cap/public/pw_bluetooth_sapphire/internal/host/l2cap/
Dsignaling_channel.h254 command_packet(std::make_unique<DynamicByteBuffer>(request_packet)), in PendingCommand()
262 ByteBufferPtr command_packet; member
/external/pigweed/pw_bluetooth_sapphire/host/testing/public/pw_bluetooth_sapphire/internal/host/testing/
Dfake_controller.h933 const PacketView<hci_spec::CommandHeader>& command_packet);
941 const PacketView<hci_spec::CommandHeader>& command_packet);
960 const PacketView<hci_spec::CommandHeader>& command_packet);
966 const PacketView<hci_spec::CommandHeader>& command_packet);
967 void HandleReceivedCommandPacket(const hci::CommandPacket& command_packet);
970 const PacketView<hci_spec::CommandHeader>& command_packet);
/external/pigweed/pw_bluetooth_hci/public/pw_bluetooth_hci/
Dpacket.h50 const CommandPacket& command_packet() const { in command_packet() function
55 CommandPacket& command_packet() { in command_packet() function
/external/pigweed/pw_bluetooth_sapphire/host/sco/public/pw_bluetooth_sapphire/internal/host/sco/
Dsco_connection_manager.h169 void SendCommandWithStatusCallback(hci::CommandPacket command_packet,
/external/pigweed/pw_bluetooth_sapphire/host/sco/
Dsco_connection_manager.cc473 hci::CommandPacket command_packet, hci::ResultFunction<> result_cb) { in SendCommandWithStatusCallback() argument
481 transport_->command_channel()->SendCommand(std::move(command_packet), in SendCommandWithStatusCallback()
/external/pigweed/pw_bluetooth_sapphire/host/gap/public/pw_bluetooth_sapphire/internal/host/gap/
Dbredr_connection_manager.h367 void SendCommandWithStatusCallback(T command_packet,
/external/pigweed/pw_bluetooth_sapphire/host/gap/
Dbredr_connection_manager.cc2126 T command_packet, hci::ResultFunction<> cb) { in SendCommandWithStatusCallback() argument
2134 hci_->command_channel()->SendCommand(std::move(command_packet), in SendCommandWithStatusCallback()