Home
last modified time | relevance | path

Searched refs:EventView (Results 1 – 25 of 41) sorted by relevance

12

/packages/modules/Bluetooth/system/stack/btm/
Dsecurity_event_parser.cc63 static void parse_encryption_change(const EventView event) { in parse_encryption_change()
81 static void parse_change_connection_link_key_complete(const EventView event) { in parse_change_connection_link_key_complete()
95 static void parse_central_link_key_complete(const EventView event) { in parse_central_link_key_complete()
103 static void parse_return_link_keys(const EventView event) { in parse_return_link_keys()
111 static void parse_pin_code_request(const EventView event) { in parse_pin_code_request()
118 static void parse_link_key_request(const EventView event) { in parse_link_key_request()
127 static void parse_link_key_notification(const EventView event) { in parse_link_key_notification()
138 static void parse_encryption_key_refresh_complete(const EventView event) { in parse_encryption_key_refresh_complete()
148 static void parse_io_capabilities_req(const EventView event) { in parse_io_capabilities_req()
159 static void parse_io_capabilities_rsp(const EventView event) { in parse_io_capabilities_rsp()
[all …]
Dsecurity_event_parser.h27 void OnSecurityEvent(bluetooth::hci::EventView event);
Dbtm_inq.cc252 static void on_incoming_hci_event(bluetooth::hci::EventView event);
698 get_main_thread()->Bind([](bluetooth::hci::EventView event) { in BTM_StartInquiry()
703 get_main_thread()->Bind([](bluetooth::hci::EventView event) { in BTM_StartInquiry()
708 get_main_thread()->Bind([](bluetooth::hci::EventView event) { in BTM_StartInquiry()
713 get_main_thread()->Bind([](bluetooth::hci::EventView event) { in BTM_StartInquiry()
1274 static void btm_process_inq_results_standard(bluetooth::hci::EventView event) { in btm_process_inq_results_standard()
1392 static void btm_process_inq_results_rssi(bluetooth::hci::EventView event) { in btm_process_inq_results_rssi()
1537 static void btm_process_inq_results_extended(bluetooth::hci::EventView event) { in btm_process_inq_results_extended()
2430 static void on_inquiry_complete(bluetooth::hci::EventView event) { in on_inquiry_complete()
2448 static void on_incoming_hci_event(bluetooth::hci::EventView event) { in on_incoming_hci_event()
/packages/modules/Bluetooth/system/gd/hci/
Dhci_metrics_logging.h26 …std::unique_ptr<CommandView>& command_view, EventView packet, storage::StorageModule* storage_modu…
29 void log_link_layer_connection_command_complete(EventView event, std::unique_ptr<CommandView>& comm…
31 void log_link_layer_connection_other_hci_event(EventView packet, storage::StorageModule* storage_mo…
34 void log_classic_pairing_command_complete(EventView event, std::unique_ptr<CommandView>& command_vi…
35 void log_classic_pairing_other_hci_event(EventView packet);
Dhci_layer.cc49 using bluetooth::hci::EventView;
130 void drop(EventView event) { in drop()
164 void on_command_status(EventView event) { in on_command_status()
178 void on_command_complete(EventView event) { in on_command_complete()
183 void handle_command_response(EventView event, std::string logging_id) { in handle_command_response()
228 CommandCompleteView::Create(EventView::Create(PacketView<kLittleEndian>(complete))); in handle_command_response()
326 void register_event(EventCode event, ContextualCallback<void(EventView)> handler) { in register_event()
395 void on_hci_event(EventView event) { in on_hci_event()
468 void on_hardware_error(EventView event) { in on_hardware_error()
482 void on_le_meta_event(EventView event) { in on_le_meta_event()
[all …]
Dhci_layer.h67 …virtual void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)…
84 …virtual SecurityInterface* GetSecurityInterface(common::ContextualCallback<void(EventView)> event_…
89 common::ContextualCallback<void(EventView)> event_handler,
155 void on_connection_request(EventView event_view);
156 void on_disconnection_complete(EventView event_view);
157 void on_read_remote_version_complete(EventView event_view);
Dhci_layer_fake.cc123 EventCode event_code, common::ContextualCallback<void(EventView)> event_handler) { in RegisterEventHandler()
152 EventView event = EventView::Create(packet); in IncomingEvent()
167 EventView event = EventView::Create(packet); in IncomingLeMetaEvent()
175 void HciLayerFake::CommandCompleteCallback(EventView event) { in CommandCompleteCallback()
182 void HciLayerFake::CommandStatusCallback(EventView event) { in CommandStatusCallback()
Dhci_layer_fake.h50 …void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)> event_…
69 void CommandCompleteCallback(EventView event);
71 void CommandStatusCallback(EventView event);
97 std::map<EventCode, common::ContextualCallback<void(EventView)>> registered_events_;
Dle_periodic_sync_manager_test.cc112 auto event = EventView::Create(GetPacketView(std::move(event_builder))); in CommandCompleteCallback()
121 auto event = EventView::Create(GetPacketView(std::move(event_builder))); in CommandStatusCallback()
291 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder))))); in TEST_F()
333 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder))))); in TEST_F()
376 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder))))); in TEST_F()
533 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder))))); in TEST_F()
542 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder2))))); in TEST_F()
603 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder))))); in TEST_F_WITH_FLAGS()
635 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder2))))); in TEST_F_WITH_FLAGS()
718 LeMetaEventView::Create(EventView::Create(GetPacketView(std::move(builder))))); in TEST_F_WITH_FLAGS()
[all …]
Dhci_layer_mock.h50 (EventCode, common::ContextualCallback<void(EventView)>),
68 (common::ContextualCallback<void(EventView)> event_handler),
85 (common::ContextualCallback<void(EventView)> event_handler,
Dhci_layer_unittest.cc229 EventCode::COMMAND_COMPLETE, hci_handler_->Bind([](EventView /* view */) { in TEST_F() argument
262 EventCode::SIMPLE_PAIRING_COMPLETE, hci_handler_->Bind([](EventView /* view */) {})); in TEST_F() argument
264 EventCode::SIMPLE_PAIRING_COMPLETE, hci_handler_->Bind([](EventView /* view */) {})); in TEST_F() argument
289 [](EventView /* view */) { log::debug("{}", kOurAclEventHandlerWasInvoked); }), in TEST_F() argument
303 hci_handler_->Bind([](EventView /* view */) {}), in TEST_F() argument
320 hci_handler_->Bind([](EventView /* view */) {}), in TEST_F() argument
383 [](EventView /* view */) { log::debug("{}", kOurSecurityEventHandlerWasInvoked); })); in TEST_F() argument
Dhci_interface.h59 EventCode event_code, common::ContextualCallback<void(EventView)> event_handler) = 0;
79 common::ContextualCallback<void(EventView)> event_handler) = 0;
85 common::ContextualCallback<void(EventView)> event_handler,
Dhci_layer_test.cc85 … hci_->GetSecurityInterface(GetHandler()->BindOn(this, &DependsOnHci::handle_event<EventView>)); in SendSecurityCommandExpectingComplete()
112 std::optional<EventView> GetReceivedEvent(std::chrono::milliseconds timeout = kTimeout) { in GetReceivedEvent()
116 auto event = EventView::Create(incoming_events_.take()); in GetReceivedEvent()
144 …ventCode::CONNECTION_COMPLETE, GetHandler()->BindOn(this, &DependsOnHci::handle_event<EventView>)); in Start()
172 common::BlockingQueue<EventView> incoming_events_;
286 ASSERT_TRUE(LeConnectionCompleteView::Create(LeMetaEventView::Create(EventView::Create(*event))) in TEST_F()
320 CreateConnectionStatusView::Create(CommandStatusView::Create(EventView::Create(*event))) in TEST_F()
372 CommandCompleteView::Create(EventView::Create(*event))) in TEST_F()
411 CommandCompleteView::Create(EventView::Create(*event))) in TEST_F()
Dremote_name_request.cc169 void on_remote_host_supported_features_notification(EventView view) { in on_remote_host_supported_features_notification()
207 void on_remote_name_request_complete(EventView view) { in on_remote_name_request_complete()
/packages/modules/Bluetooth/system/gd/security/test/
Dfake_hci_layer.h32 using hci::EventView;
90 …void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)> event_… in RegisterEventHandler()
100 EventView event = EventView::Create(packet); in IncomingEvent()
112 std::map<EventCode, common::ContextualCallback<void(EventView)>> registered_events_;
/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dclassic_impl.h84 void on_classic_event(EventView event_packet) { in on_classic_event()
374 void on_connection_complete(EventView packet) { in on_connection_complete()
446 void on_connection_packet_type_changed(EventView packet) { in on_connection_packet_type_changed()
463 void on_central_link_key_complete(EventView packet) { in on_central_link_key_complete()
481 void on_authentication_complete(EventView packet) { in on_authentication_complete()
493 void on_change_connection_link_key_complete(EventView packet) { in on_change_connection_link_key_complete()
509 void on_read_clock_offset_complete(EventView packet) { in on_read_clock_offset_complete()
527 void on_mode_change(EventView packet) { in on_mode_change()
540 void on_sniff_subrating(EventView packet) { in on_sniff_subrating()
557 void on_qos_setup_complete(EventView packet) { in on_qos_setup_complete()
[all …]
Dle_acl_connection_test.cc235 hci::EventView event = hci::EventView::Create(GetPacketView(std::move(status_builder))); in TEST_F()
256 hci::EventView event = hci::EventView::Create(GetPacketView(std::move(status_builder))); in TEST_F()
Dclassic_impl_test.cc92 return T::Create(hci::EventView::Create(hci::PacketView<hci::kLittleEndian>(bytes))); in CreateEventView()
102 hci::EventView::Create(hci::PacketView<hci::kLittleEndian>(bytes))); in ReturnCommandComplete()
112 hci::EventView::Create(hci::PacketView<hci::kLittleEndian>(bytes))); in ReturnCommandStatus()
/packages/modules/Bluetooth/system/gd/hci/fuzz/
Dfuzz_hci_layer.h87 …void RegisterEventHandler(hci::EventCode event, common::ContextualCallback<void(hci::EventView)> h… in RegisterEventHandler()
110 …hci::SecurityInterface* GetSecurityInterface(common::ContextualCallback<void(hci::EventView)> even…
116 common::ContextualCallback<void(hci::EventView)> event_handler,
197 std::map<hci::EventCode, common::ContextualCallback<void(hci::EventView)>> event_handlers_;
200 common::ContextualCallback<void(hci::EventView)> security_event_handler_;
202 common::ContextualCallback<void(hci::EventView)> acl_event_handler_;
Dfuzz_hci_layer.cc31 ContextualCallback<void(hci::EventView)> /* event_handler */) { in GetSecurityInterface() argument
41 ContextualCallback<void(hci::EventView)> /* event_handler */, in GetAclConnectionInterface() argument
160 InvokeIfValid<EventView>(handler_pair->second, GetArbitraryBytes(&fdp)); in injectEvent()
172 InvokeIfValid<EventView>(security_event_handler_, data); in injectSecurityEvent()
180 InvokeIfValid<EventView>(acl_event_handler_, data); in injectAclEvent()
/packages/modules/Bluetooth/system/gd/security/channel/
Dsecurity_manager_channel.h41 virtual void OnHciEventReceived(hci::EventView packet) = 0;
112 void OnHciEventReceived(hci::EventView packet);
/packages/modules/Bluetooth/system/gd/hal/fuzz/
Dfuzz_hci_hal.cc65 hci::EventView event = hci::EventView::FromBytes(data); in injectHciEvent()
/packages/modules/Bluetooth/tools/rootcanal/include/hci/
Dpcap_filter.h77 bluetooth::hci::EventView& event);
79 bluetooth::hci::EventView& event);
/packages/modules/Bluetooth/system/btif/test/
Dbtif_core_test.cc92 using bluetooth::hci::EventView;
895 auto response = CommandCompleteView::Create(EventView::Create( in SetUp()
916 CommandCompleteView::Create(EventView::Create( in SetUp()
971 EventView::Create(BuilderToView(BqrLinkQualityEventBuilder::Create( in TEST_F()
984 auto view = VendorSpecificEventView::Create(EventView::Create(BuilderToView( in TEST_F()
1039 auto view = VendorSpecificEventView::Create(EventView::Create(BuilderToView( in TEST_F()
1074 EventView::Create(BuilderToView(BqrA2dpAudioChoppyEventBuilder::Create( in TEST_F()
1113 EventView::Create(BuilderToView(BqrA2dpAudioChoppyEventBuilder::Create( in TEST_F()
/packages/modules/Bluetooth/tools/rootcanal/lib/hci/
Dpcap_filter.cc97 auto event = EventView::Create(create_packet_view(packet)); in FilterHciEvent()
342 bluetooth::hci::EventView& event) { in FilterRemoteNameRequestComplete()
358 bluetooth::hci::EventView& event) { in FilterExtendedInquiryResult()

12