Home
last modified time | relevance | path

Searched refs:CommandCompleteView (Results 1 – 25 of 42) sorted by relevance

12

/packages/modules/Bluetooth/system/gd/hci/
Dcontroller.cc321 void write_secure_connections_host_support_complete_handler(CommandCompleteView view) { in write_secure_connections_host_support_complete_handler()
328 void read_local_name_complete_handler(CommandCompleteView view) { in read_local_name_complete_handler()
340 void read_local_version_information_complete_handler(CommandCompleteView view) { in read_local_version_information_complete_handler()
355 void read_local_supported_commands_complete_handler(CommandCompleteView view) { in read_local_supported_commands_complete_handler()
364 CommandCompleteView view) { in read_local_extended_features_complete_handler()
393 void read_buffer_size_complete_handler(CommandCompleteView view) { in read_buffer_size_complete_handler()
405 void read_controller_mac_address_handler(std::promise<void> promise, CommandCompleteView view) { in read_controller_mac_address_handler()
414 void le_read_buffer_size_handler(CommandCompleteView view) { in le_read_buffer_size_handler()
431 void read_local_supported_codecs_v1_handler(CommandCompleteView view) { in read_local_supported_codecs_v1_handler()
440 void set_min_encryption_key_size_handler(CommandCompleteView view) { in set_min_encryption_key_size_handler()
[all …]
Dhci_layer.cc50 using bluetooth::hci::CommandCompleteView;
85 static void fail_if_reset_complete_not_success(CommandCompleteView complete) { in fail_if_reset_complete_not_success()
103 ContextualOnceCallback<void(CommandCompleteView)> on_complete_function) in CommandQueueEntry()
126 ContextualOnceCallback<void(CommandCompleteView)> on_complete;
140 ContextualOnceCallback<void(CommandCompleteView)>* GetCallback<CommandCompleteView>() { in GetCallback()
217 handle_command_response<CommandCompleteView>(event, "complete"); in on_command_complete()
261 CommandCompleteView command_complete_view = in handle_command_response()
262 CommandCompleteView::Create(EventView::Create(PacketView<kLittleEndian>(complete))); in handle_command_response()
265 (*command_queue_.front().GetCallback<CommandCompleteView>())(command_complete_view); in handle_command_response()
332 module_.GetHandler()->BindOnce([](CommandCompleteView) {})); in on_hci_timeout() argument
[all …]
Dhci_layer_test.cc67 GetHandler()->BindOnceOn(this, &DependsOnHci::handle_event<CommandCompleteView>)); in SendHciCommandExpectingComplete()
77 GetHandler()->BindOnceOn(this, &DependsOnHci::handle_event<CommandCompleteView>)); in SendSecurityCommandExpectingComplete()
87 GetHandler()->BindOnceOn(this, &DependsOnHci::handle_event<CommandCompleteView>)); in SendLeSecurityCommandExpectingComplete()
351 CommandCompleteView::Create(EventView::Create(*event))) in TEST_F()
391 CommandCompleteView::Create(EventView::Create(*event))) in TEST_F()
416 ASSERT_TRUE(ReadLocalSupportedCommandsCompleteView::Create(CommandCompleteView::Create(*event)) in TEST_F()
437 ASSERT_TRUE(ReadLocalSupportedFeaturesCompleteView::Create(CommandCompleteView::Create(*event)) in TEST_F()
462 ASSERT_TRUE(LeRandCompleteView::Create(CommandCompleteView::Create(*event)).IsValid()); in TEST_F()
486 ASSERT_TRUE(WriteSimplePairingModeCompleteView::Create(CommandCompleteView::Create(*event)) in TEST_F()
Dcommand_interface.h27 typedef std::variant<CommandStatusView, CommandCompleteView> CommandStatusOrCompleteView;
40 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) = 0;
Dmsft.cc214 void on_msft_read_supported_features_complete(CommandCompleteView view) { in on_msft_read_supported_features_complete()
258 void on_msft_adv_monitor_add_complete(CommandCompleteView view) { in on_msft_adv_monitor_add_complete()
273 void on_msft_adv_monitor_remove_complete(CommandCompleteView view) { in on_msft_adv_monitor_remove_complete()
288 void on_msft_adv_monitor_enable_complete(CommandCompleteView view) { in on_msft_adv_monitor_enable_complete()
Dhci_layer_fake.h41 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override;
100 std::list<common::ContextualOnceCallback<void(CommandCompleteView)>> command_complete_callbacks;
Dhci_layer_fake.cc91 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) { in EnqueueCommand()
201 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback()
Dhci_interface.h47 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override = 0;
141 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override { in EnqueueCommand()
Dle_address_manager.h100 void OnCommandComplete(CommandCompleteView view);
170 void on_command_complete(CommandCompleteView view);
Dhci_layer_unittest.cc407 hci_handler_->BindOnce([](CommandCompleteView /* view */) { in TEST_F() argument
430 [](std::promise<OpCode> promise, CommandCompleteView view) { in TEST_F()
449 hci_handler_->BindOnce([](CommandCompleteView /* view */) {})); in TEST_F() argument
Dcontroller_test.cc65 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override { in EnqueueCommand()
84 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) { in HandleCommand()
258 CommandCompleteView command_complete = CommandCompleteView::Create(event); in HandleCommand()
Devent_checkers.h27 void check_complete(CommandCompleteView view) { in check_complete()
Dhci_metrics_logging.cc36 CommandCompleteView complete_view = CommandCompleteView::Create(event_view); in log_hci_event()
459 CommandCompleteView command_complete_view = CommandCompleteView::Create(std::move(event_view)); in log_link_layer_connection_command_complete()
981 CommandCompleteView command_complete_view = CommandCompleteView::Create(std::move(event_view)); in log_classic_pairing_command_complete()
Dhci_packets_test.cc162 CommandCompleteView::Create(EventView::Create(packet_bytes_view))); in TEST()
352 CommandCompleteView::Create(EventView::Create(packet_bytes_view))); in TEST()
623 CommandCompleteView::Create(EventView::Create(packet_bytes_view)))); in TEST()
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dclassic_acl_connection.cc163 void on_role_discovery_complete(CommandCompleteView view) { in on_role_discovery_complete()
177 void on_read_link_policy_settings_complete(CommandCompleteView view) { in on_read_link_policy_settings_complete()
191 void on_read_automatic_flush_timeout_complete(CommandCompleteView view) { in on_read_automatic_flush_timeout_complete()
206 void on_read_transmit_power_level_complete(CommandCompleteView view) { in on_read_transmit_power_level_complete()
220 void on_read_link_supervision_timeout_complete(CommandCompleteView view) { in on_read_link_supervision_timeout_complete()
235 void on_read_failed_contact_counter_complete(CommandCompleteView view) { in on_read_failed_contact_counter_complete()
249 void on_read_link_quality_complete(CommandCompleteView view) { in on_read_link_quality_complete()
263 void on_read_afh_channel_map_complete(CommandCompleteView view) { in on_read_afh_channel_map_complete()
277 void on_read_rssi_complete(CommandCompleteView view) { in on_read_rssi_complete()
303 void on_read_clock_complete(CommandCompleteView view) { in on_read_clock_complete()
Dle_acl_connection_test.cc81 common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_complete) override { in EnqueueCommand()
134 std::list<common::ContextualOnceCallback<void(hci::CommandCompleteView)>>
Dclassic_impl_test.cc95 [[maybe_unused]] hci::CommandCompleteView ReturnCommandComplete(hci::OpCode op_code, in ReturnCommandComplete()
101 return hci::CommandCompleteView::Create( in ReturnCommandComplete()
Dclassic_acl_connection_test.cc134 common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_complete) override { in EnqueueCommand()
181 std::list<common::ContextualOnceCallback<void(hci::CommandCompleteView)>>
/packages/modules/Bluetooth/system/btif/src/
Dbtif_hci_vs.cc30 using hci::CommandCompleteView;
48 } else if (std::holds_alternative<CommandCompleteView>(status_or_complete)) { in CommandStatusOrCompleteCallback()
49 auto view = std::get<CommandCompleteView>(status_or_complete); in CommandStatusOrCompleteCallback()
/packages/modules/Bluetooth/system/gd/hal/fuzz/
Dfuzz_hci_hal.cc68 hci::CommandCompleteView complete = hci::CommandCompleteView::Create(event); in injectHciEvent()
/packages/modules/Bluetooth/tools/rootcanal/include/hci/
Dpcap_filter.h65 bluetooth::hci::CommandCompleteView& command_complete);
67 bluetooth::hci::CommandCompleteView& command_complete);
/packages/modules/Bluetooth/system/gd/hci/fuzz/
Dfuzz_hci_layer.h39 common::ContextualOnceCallback<void(hci::CommandCompleteView)> /* on_complete */) in EnqueueCommand() argument
60 common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_complete) override { in EnqueueCommand()
198 common::ContextualOnceCallback<void(hci::CommandCompleteView)> on_command_complete_;
Dhci_layer_fuzz_client.h77 GetHandler()->BindOnce([](CommandCompleteView /* status */) {})); in inject_command()
/packages/modules/Bluetooth/system/btif/test/
Dbtif_core_test.cc84 using bluetooth::hci::CommandCompleteView;
772 EnqueueCommand(_, Matcher<ContextualOnceCallback<void(CommandCompleteView)>>(_))) in SetUp()
777 ContextualOnceCallback<void(CommandCompleteView)> callback) { in SetUp()
781 auto response = CommandCompleteView::Create( in SetUp()
790 EnqueueCommand(_, Matcher<ContextualOnceCallback<void(CommandCompleteView)>>(_))) in SetUp()
792 ContextualOnceCallback<void(CommandCompleteView)> callback) { in SetUp()
796 auto response = ControllerBqrCompleteView::Create(CommandCompleteView::Create( in SetUp()
817 EnqueueCommand(_, Matcher<ContextualOnceCallback<void(CommandCompleteView)>>(_))) in TearDown()
/packages/modules/Bluetooth/tools/rootcanal/lib/hci/
Dpcap_filter.cc110 auto command_complete = CommandCompleteView::Create(event); in FilterHciEvent()
288 bluetooth::hci::CommandCompleteView& command_complete) { in FilterReadLocalNameComplete()
304 bluetooth::hci::CommandCompleteView& command_complete) { in FilterReadExtendedInquiryResponseComplete()

12