Home
last modified time | relevance | path

Searched refs:CommandView (Results 1 – 25 of 30) sorted by relevance

12

/aosp_15_r20/packages/modules/Bluetooth/tools/rootcanal/model/controller/
Ddual_mode_controller.h41 using ::bluetooth::hci::CommandView;
115 void Inquiry(CommandView command);
118 void InquiryCancel(CommandView command);
121 void CreateConnection(CommandView command);
124 void Disconnect(CommandView command);
127 void AddScoConnection(CommandView command);
130 void CreateConnectionCancel(CommandView command);
133 void AcceptConnectionRequest(CommandView command);
136 void RejectConnectionRequest(CommandView command);
139 void ChangeConnectionPacketType(CommandView command);
[all …]
Ddual_mode_controller.cc110 void DualModeController::ForwardToLm(CommandView command) { in ForwardToLm()
115 void DualModeController::ForwardToLl(CommandView command) { in ForwardToLl()
175 auto command_packet = bluetooth::hci::CommandView::Create(pdl::packet::slice(packet)); in HandleCommand()
287 void DualModeController::Reset(CommandView command) { in Reset()
300 void DualModeController::ReadBufferSize(CommandView command) { in ReadBufferSize()
312 void DualModeController::ReadFailedContactCounter(CommandView command) { in ReadFailedContactCounter()
329 void DualModeController::ResetFailedContactCounter(CommandView command) { in ResetFailedContactCounter()
345 void DualModeController::ReadRssi(CommandView command) { in ReadRssi()
360 void DualModeController::ReadEncryptionKeySize(CommandView command) { in ReadEncryptionKeySize()
372 void DualModeController::HostBufferSize(CommandView command) { in HostBufferSize()
[all …]
Dlink_layer_controller.h91 void ForwardToLm(bluetooth::hci::CommandView command);
92 void ForwardToLl(bluetooth::hci::CommandView command);
/aosp_15_r20/out/soong/.intermediates/packages/modules/Bluetooth/system/pdl/security/BluetoothGeneratedPacketsSmp_h/gen/security/
Dsmp_packets.h119CommandView : public PacketView<kLittleEndian> { public:static CommandView Create(PacketView<kLitt… in CreateOptional()
121 static CommandView FromBytes(std::vector<uint8_t> bytes) {auto vec = std::make_shared<std::vector<u… in CreateOptional()
145 explicit CommandView(PacketView<kLittleEndian> packet) : PacketView<kLittleEndian>(packet) { was_v… in CreateOptional() function
148CommandView { public:static PairingRequestView Create(CommandView parent){ return PairingRequestVi… in CreateOptional()
150 …_shared<std::vector<uint8_t>>(bytes);return PairingRequestView::Create(CommandView::Create(PacketV… in CreateOptional()
161 if (!CommandView::Validate()) { in CreateOptional()
176 explicit PairingRequestView(CommandView parent) : CommandView(std::move(parent)) { was_validated_ =… in CreateOptional()
179CommandView { public:static PairingResponseView Create(CommandView parent){ return PairingResponse… in CreateOptional()
181 …shared<std::vector<uint8_t>>(bytes);return PairingResponseView::Create(CommandView::Create(PacketV… in CreateOptional()
192 if (!CommandView::Validate()) { in CreateOptional()
[all …]
/aosp_15_r20/packages/modules/Bluetooth/system/gd/hci/
Dhci_packets_test.cc80 auto view = WriteExtendedInquiryResponseView::Create(CommandView::Create(packet_bytes_view)); in TEST()
117 LeScanningCommandView::Create(CommandView::Create(packet_bytes_view))); in TEST()
134 LeScanningCommandView::Create(CommandView::Create(packet_bytes_view))); in TEST()
150 VendorCommandView::Create(CommandView::Create(packet_bytes_view))); in TEST()
183 LeScanningCommandView::Create(CommandView::Create(packet_bytes_view))); in TEST()
202 LeScanningCommandView::Create(CommandView::Create(packet_bytes_view))); in TEST()
221 LeScanningCommandView::Create(CommandView::Create(packet_bytes_view))); in TEST()
238 LeScanningCommandView::Create(CommandView::Create(packet_bytes_view))); in TEST()
257 AclCommandView::Create(CommandView::Create(packet_bytes_view)))); in TEST()
270 LeAdvertisingCommandView::Create(CommandView::Create(packet_bytes_view))); in TEST()
[all …]
Dhci_metrics_logging.h25 void log_hci_event(std::unique_ptr<CommandView>& command_view, EventView packet,
27 void log_link_layer_connection_command(std::unique_ptr<CommandView>& command_view);
28 void log_link_layer_connection_command_status(std::unique_ptr<CommandView>& command_view,
31 std::unique_ptr<CommandView>& command_view);
36 void log_classic_pairing_command_status(std::unique_ptr<CommandView>& command_view,
39 std::unique_ptr<CommandView>& command_view);
Dhci_layer_fake.cc66 auto temp_cmd_view = CommandView::Create(packet_bytes_view); in DebugPrintCommandOpcode()
112 CommandView HciLayerFake::GetCommand() { in GetCommand()
130 CommandView command_packet_view = CommandView::Create(GetPacketView(std::move(last))); in GetCommand()
135 CommandView HciLayerFake::GetCommand(OpCode op_code) { in GetCommand()
217 empty_command_view_ = CommandView::Create(GetPacketView(std::move(command_builder))); in InitEmptyCommand()
Dhci_layer_fake.h47 CommandView GetCommand();
49 CommandView GetCommand(OpCode op_code);
126 CommandView empty_command_view_ = CommandView::Create(
Dhci_layer_test.cc221 auto reset_view = ResetView::Create(CommandView::Create(*sent_command)); in SetUp()
366 auto version_view = ReadLocalVersionInformationView::Create(CommandView::Create(*sent_command)); in TEST_F()
397 ReadLocalSupportedCommandsView::Create(CommandView::Create(*sent_command)); in TEST_F()
421 ReadLocalSupportedFeaturesView::Create(CommandView::Create(*sent_command)); in TEST_F()
448 LeRandView::Create(LeSecurityCommandView::Create(CommandView::Create(*sent_command))); in TEST_F()
473 SecurityCommandView::Create(CommandView::Create(*sent_command))); in TEST_F()
506 AclCommandView::Create(CommandView::Create(*sent_command)))); in TEST_F()
Dhci_metrics_logging.cc30 void log_hci_event(std::unique_ptr<CommandView>& command_view, EventView event_view, in log_hci_event()
69 void log_link_layer_connection_command(std::unique_ptr<CommandView>& command_view) { in log_link_layer_connection_command()
256 void log_link_layer_connection_command_status(std::unique_ptr<CommandView>& command_view, in log_link_layer_connection_command_status()
458 std::unique_ptr<CommandView>& command_view) { in log_link_layer_connection_command_complete()
798 void log_classic_pairing_command_status(std::unique_ptr<CommandView>& command_view, in log_classic_pairing_command_status()
979 std::unique_ptr<CommandView>& command_view) { in log_classic_pairing_command_complete()
Dle_periodic_sync_manager_test.cc86 CommandView GetLastCommand() { in GetLastCommand()
88 return CommandView::Create( in GetLastCommand()
93 return CommandView::Create(GetPacketView(std::move(last))); in GetLastCommand()
96 CommandView GetCommand(OpCode op_code) { in GetCommand()
110 CommandView command_packet_view = GetLastCommand(); in GetCommand()
Dhci_layer.cc116 unique_ptr<CommandView> command_view;
351 auto cmd_view = CommandView::Create(PacketView<kLittleEndian>(bytes)); in send_next_command()
355 command_queue_.front().command_view = std::make_unique<CommandView>(std::move(cmd_view)); in send_next_command()
459 std::unique_ptr<CommandView> no_waiting_command{nullptr}; in on_hci_event()
Dcontroller_test.cc93 CommandView command = CommandView::Create(packet_view); in HandleCommand()
/aosp_15_r20/packages/modules/Bluetooth/tools/rootcanal/include/hci/
Dpcap_filter.h55 std::vector<uint8_t> FilterWriteLocalName(bluetooth::hci::CommandView& command);
56 std::vector<uint8_t> FilterWriteExtendedInquiryResponse(bluetooth::hci::CommandView& command);
57 std::vector<uint8_t> FilterLeSetAdvertisingData(bluetooth::hci::CommandView& command);
58 std::vector<uint8_t> FilterLeSetScanResponseData(bluetooth::hci::CommandView& command);
59 std::vector<uint8_t> FilterLeSetExtendedAdvertisingData(bluetooth::hci::CommandView& command);
60 std::vector<uint8_t> FilterLeSetExtendedScanResponseData(bluetooth::hci::CommandView& command);
61 std::vector<uint8_t> FilterLeSetPeriodicAdvertisingData(bluetooth::hci::CommandView& command);
/aosp_15_r20/packages/modules/Bluetooth/tools/rootcanal/lib/hci/
Dpcap_filter.cc69 auto command = CommandView::Create(create_packet_view(packet)); in FilterHciCommand()
205 std::vector<uint8_t> PcapFilter::FilterWriteLocalName(CommandView& command) { in FilterWriteLocalName()
214 std::vector<uint8_t> PcapFilter::FilterWriteExtendedInquiryResponse(CommandView& command) { in FilterWriteExtendedInquiryResponse()
226 std::vector<uint8_t> PcapFilter::FilterLeSetAdvertisingData(CommandView& command) { in FilterLeSetAdvertisingData()
236 std::vector<uint8_t> PcapFilter::FilterLeSetScanResponseData(CommandView& command) { in FilterLeSetScanResponseData()
246 std::vector<uint8_t> PcapFilter::FilterLeSetExtendedAdvertisingData(CommandView& command) { in FilterLeSetExtendedAdvertisingData()
260 std::vector<uint8_t> PcapFilter::FilterLeSetExtendedScanResponseData(CommandView& command) { in FilterLeSetExtendedScanResponseData()
275 bluetooth::hci::CommandView& command) { in FilterLeSetPeriodicAdvertisingData()
/aosp_15_r20/packages/modules/Bluetooth/system/gd/hal/fuzz/
Dfuzz_hci_hal.cc52 hci::CommandView command = hci::CommandView::FromBytes(packet); in sendHciCommand()
/aosp_15_r20/out/soong/.intermediates/packages/modules/Bluetooth/system/pdl/hci/BluetoothGeneratedPacketsHci_h/gen/hci/
Dhci_packets.h2793CommandView : public PacketView<kLittleEndian> { public:static CommandView Create(PacketView<kLitt… in CreateOptional()
2795 static CommandView FromBytes(std::vector<uint8_t> bytes) {auto vec = std::make_shared<std::vector<u… in CreateOptional()
2822 explicit CommandView(PacketView<kLittleEndian> packet) : PacketView<kLittleEndian>(packet) { was_v… in CreateOptional() function
2825CommandView { public:static DiscoveryCommandView Create(CommandView parent){ return DiscoveryComma… in CreateOptional()
2827 …hared<std::vector<uint8_t>>(bytes);return DiscoveryCommandView::Create(CommandView::Create(PacketV… in CreateOptional()
2834 if (!CommandView::Validate()) { in CreateOptional()
2843 explicit DiscoveryCommandView(CommandView parent) : CommandView(std::move(parent)) { was_validated_… in CreateOptional()
2846CommandView { public:static AclCommandView Create(CommandView parent){ return AclCommandView(std::… in CreateOptional()
2848 …make_shared<std::vector<uint8_t>>(bytes);return AclCommandView::Create(CommandView::Create(PacketV… in CreateOptional()
2855 if (!CommandView::Validate()) { in CreateOptional()
[all …]
/aosp_15_r20/packages/modules/Bluetooth/system/gd/hal/
Dhci_hal_fake.cc37 std::optional<hci::CommandView> TestHciHal::GetSentCommand(std::chrono::milliseconds timeout) { in GetSentCommand()
42 auto command = hci::CommandView::Create(GetPacketView(outgoing_commands_.take())); in GetSentCommand()
Dhci_hal_fake.h61 std::optional<hci::CommandView> GetSentCommand(
/aosp_15_r20/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dle_impl_test.cc127 T CreateAclCommandView(hci::CommandView command) { in CreateAclCommandView()
132 T CreateLeConnectionManagementCommandView(hci::CommandView command) { in CreateLeConnectionManagementCommandView()
137 T CreateLeSecurityCommandView(hci::CommandView command) { in CreateLeSecurityCommandView()
388 CommandView cancel_connection = CommandView::Create( in test_direct_connect_after_direct_connect()
Dle_acl_connection_test.cc44 return T::Create(hci::CommandView::Create(hci::PacketView<hci::kLittleEndian>(bytes))); in CreateCommandView()
Dclassic_impl_test.cc75 return T::Create(hci::CommandView::Create(hci::PacketView<hci::kLittleEndian>(bytes))); in CreateCommandView()
Dclassic_acl_connection_test.cc112 hci::CommandView::Create(hci::PacketView<hci::kLittleEndian>(bytes)))); in CreateCommand()
/aosp_15_r20/packages/modules/Bluetooth/system/gd/hci/fuzz/
Dhci_layer_fuzz_client.cc102 inject_command<CommandView, CommandBuilder>(data, hci_); in injectHciCommand()
/aosp_15_r20/packages/modules/Bluetooth/system/btif/test/
Dbtif_core_test.cc90 using bluetooth::hci::CommandView;
779 CommandView::Create(BuilderToView(std::move(cmd)))); in SetUp()
794 CommandView::Create(BuilderToView(std::move(cmd))))); in SetUp()

12