Home
last modified time | relevance | path

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

12

/aosp_15_r20/packages/modules/Bluetooth/system/gd/hci/
Dcontroller.cc323 void write_secure_connections_host_support_complete_handler(CommandCompleteView view) { in write_secure_connections_host_support_complete_handler()
330 void read_local_name_complete_handler(CommandCompleteView view) { in read_local_name_complete_handler()
342 void read_local_version_information_complete_handler(CommandCompleteView view) { in read_local_version_information_complete_handler()
357 void read_local_supported_commands_complete_handler(CommandCompleteView view) { in read_local_supported_commands_complete_handler()
366 CommandCompleteView view) { in read_local_extended_features_complete_handler()
395 void read_buffer_size_complete_handler(CommandCompleteView view) { in read_buffer_size_complete_handler()
407 void read_controller_mac_address_handler(std::promise<void> promise, CommandCompleteView view) { in read_controller_mac_address_handler()
416 void le_read_buffer_size_handler(CommandCompleteView view) { in le_read_buffer_size_handler()
433 void read_local_supported_codecs_v1_handler(CommandCompleteView view) { in read_local_supported_codecs_v1_handler()
442 void set_min_encryption_key_size_handler(CommandCompleteView view) { in set_min_encryption_key_size_handler()
[all …]
Dhci_layer.cc49 using bluetooth::hci::CommandCompleteView;
79 static void fail_if_reset_complete_not_success(CommandCompleteView complete) { in fail_if_reset_complete_not_success()
97 ContextualOnceCallback<void(CommandCompleteView)> on_complete_function) in CommandQueueEntry()
120 ContextualOnceCallback<void(CommandCompleteView)> on_complete;
134 ContextualOnceCallback<void(CommandCompleteView)>* GetCallback<CommandCompleteView>() { in GetCallback()
211 handle_command_response<CommandCompleteView>(event, "complete"); in on_command_complete()
255 CommandCompleteView command_complete_view = in handle_command_response()
256 CommandCompleteView::Create(EventView::Create(PacketView<kLittleEndian>(complete))); in handle_command_response()
259 (*command_queue_.front().GetCallback<CommandCompleteView>())(command_complete_view); in handle_command_response()
320 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()
350 CommandCompleteView::Create(EventView::Create(*event))) in TEST_F()
390 CommandCompleteView::Create(EventView::Create(*event))) in TEST_F()
415 ASSERT_TRUE(ReadLocalSupportedCommandsCompleteView::Create(CommandCompleteView::Create(*event)) in TEST_F()
436 ASSERT_TRUE(ReadLocalSupportedFeaturesCompleteView::Create(CommandCompleteView::Create(*event)) in TEST_F()
461 ASSERT_TRUE(LeRandCompleteView::Create(CommandCompleteView::Create(*event)).IsValid()); in TEST_F()
485 ASSERT_TRUE(WriteSimplePairingModeCompleteView::Create(CommandCompleteView::Create(*event)) in TEST_F()
Dmsft.cc224 void on_msft_read_supported_features_complete(CommandCompleteView view) { in on_msft_read_supported_features_complete()
264 void on_msft_adv_monitor_add_complete(CommandCompleteView view) { in on_msft_adv_monitor_add_complete()
279 void on_msft_adv_monitor_remove_complete(CommandCompleteView view) { in on_msft_adv_monitor_remove_complete()
294 void on_msft_adv_monitor_enable_complete(CommandCompleteView view) { in on_msft_adv_monitor_enable_complete()
Dcommand_interface.h27 typedef std::variant<CommandStatusView, CommandCompleteView> CommandStatusOrCompleteView;
40 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) = 0;
Dhci_layer_fake.cc91 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) { in EnqueueCommand()
201 CommandCompleteView complete_view = CommandCompleteView::Create(event); in CommandCompleteCallback()
Dhci_layer_fake.h41 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override;
100 std::list<common::ContextualOnceCallback<void(CommandCompleteView)>> command_complete_callbacks;
Dcontroller_test.cc68 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) override { in EnqueueCommand()
87 common::ContextualOnceCallback<void(CommandCompleteView)> on_complete) { in HandleCommand()
261 CommandCompleteView command_complete = CommandCompleteView::Create(event); in HandleCommand()
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.cc417 hci_handler_->BindOnce([](CommandCompleteView /* view */) { in TEST_F() argument
440 [](std::promise<OpCode> promise, CommandCompleteView view) { in TEST_F()
459 hci_handler_->BindOnce([](CommandCompleteView /* view */) {})); in TEST_F() argument
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()
Dle_scanning_manager.cc1314 void on_set_scan_parameter_complete(CommandCompleteView view) { in on_set_scan_parameter_complete()
1345 void on_advertising_filter_complete(CommandCompleteView view) { in on_advertising_filter_complete()
1430 void on_apcf_read_extended_features_complete(CommandCompleteView view) { in on_apcf_read_extended_features_complete()
1453 void on_batch_scan_complete(CommandCompleteView view) { in on_batch_scan_complete()
1464 void on_batch_scan_enable_complete(CommandCompleteView view) { in on_batch_scan_enable_complete()
1479 void on_batch_scan_disable_complete(CommandCompleteView view) { in on_batch_scan_disable_complete()
1491 CommandCompleteView view) { in on_batch_scan_read_result_complete()
/aosp_15_r20/hardware/interfaces/bluetooth/aidl/vts/
H A DVtsHalBluetoothTargetTest.cpp53 using ::bluetooth::hci::CommandCompleteView;
400 auto complete_view = ::bluetooth::hci::CommandCompleteView::Create( in handle_no_ops()
403 auto status_view = ::bluetooth::hci::CommandCompleteView::Create( in handle_no_ops()
460 auto complete_view = ::bluetooth::hci::CommandCompleteView::Create( in wait_for_command_complete_event()
487 ::bluetooth::hci::CommandCompleteView::Create( in setBufferSizes()
669 ::bluetooth::hci::CommandCompleteView::Create(event_view)); in enterLoopbackMode()
718 ::bluetooth::hci::CommandCompleteView::Create( in TEST_P()
751 ::bluetooth::hci::CommandCompleteView::Create(event_view); in TEST_P()
913 CommandCompleteView::Create(EventView::Create(PacketView<true>( in TEST_P()
932 CommandCompleteView::Create(EventView::Create(PacketView<true>( in TEST_P()
[all …]
/aosp_15_r20/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)>>
/aosp_15_r20/out/soong/.intermediates/packages/modules/Bluetooth/system/pdl/hci/BluetoothGeneratedPacketsHci_h/gen/hci/
Dhci_packets.h3109CommandCompleteView : public EventView { public:static CommandCompleteView Create(EventView parent… in CreateOptional()
3111 …atic CommandCompleteView FromBytes(std::vector<uint8_t> bytes) {auto vec = std::make_shared<std::v… in CreateOptional()
3131 explicit CommandCompleteView(EventView parent) : EventView(std::move(parent)) { was_validated_ = fa… in CreateOptional() function
3161CommandCompleteView { public:static NoCommandCompleteView Create(CommandCompleteView parent){ retu… in CreateOptional()
3163 …<std::vector<uint8_t>>(bytes);return NoCommandCompleteView::Create(CommandCompleteView::Create(Eve… in CreateOptional()
3167 if (!CommandCompleteView::Validate()) { in CreateOptional()
3175 explicit NoCommandCompleteView(CommandCompleteView parent) : CommandCompleteView(std::move(parent))… in CreateOptional()
3236CommandCompleteView { public:static InquiryCancelCompleteView Create(CommandCompleteView parent){ … in CreateOptional()
3238 …::vector<uint8_t>>(bytes);return InquiryCancelCompleteView::Create(CommandCompleteView::Create(Eve… in CreateOptional()
3243 if (!CommandCompleteView::Validate()) { in CreateOptional()
[all …]
/aosp_15_r20/packages/modules/Bluetooth/system/test/mock/
Dmock_main_shim_hci_layer.h63 bluetooth::hci::CommandCompleteView view)>
65 bluetooth::hci::CommandCompleteView /* view */) {}};
67 bluetooth::hci::CommandCompleteView view) { in operator()
/aosp_15_r20/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()
/aosp_15_r20/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_;
/aosp_15_r20/packages/modules/Bluetooth/system/btif/test/
Dbtif_core_test.cc87 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()
815 EnqueueCommand(_, Matcher<ContextualOnceCallback<void(CommandCompleteView)>>(_))) in TearDown()
/aosp_15_r20/packages/modules/Bluetooth/system/gd/hal/fuzz/
Dfuzz_hci_hal.cc68 hci::CommandCompleteView complete = hci::CommandCompleteView::Create(event); in injectHciEvent()
/aosp_15_r20/packages/modules/Bluetooth/tools/rootcanal/include/hci/
Dpcap_filter.h65 bluetooth::hci::CommandCompleteView& command_complete);
67 bluetooth::hci::CommandCompleteView& command_complete);
/aosp_15_r20/packages/modules/Bluetooth/system/gd/neighbor/
Dscan.cc53 void OnCommandComplete(hci::CommandCompleteView status);
65 void neighbor::ScanModule::impl::OnCommandComplete(hci::CommandCompleteView view) { in OnCommandComplete()
/aosp_15_r20/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