Home
last modified time | relevance | path

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

12

/system/bt/gd/hci/
Dhci_metrics_logging.h25 …std::unique_ptr<CommandView>& command_view, EventView packet, storage::StorageModule* storage_modu…
27 void log_link_layer_connection_command_complete(EventView event, std::unique_ptr<CommandView>& comm…
29 void log_link_layer_connection_other_hci_event(EventView packet, storage::StorageModule* storage_mo…
32 void log_classic_pairing_command_complete(EventView event, std::unique_ptr<CommandView>& command_vi…
33 void log_classic_pairing_other_hci_event(EventView packet);
Dhci_layer.h61 …virtual void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)…
70 …virtual SecurityInterface* GetSecurityInterface(common::ContextualCallback<void(EventView)> event_…
75 common::ContextualCallback<void(EventView)> event_handler,
113 …virtual void RegisterLeMetaEventHandler(common::ContextualCallback<void(EventView)> event_handler);
142 void on_disconnection_complete(EventView event_view);
143 void on_read_remote_version_complete(EventView event_view);
Dhci_layer.cc38 using bluetooth::hci::EventView;
111 void drop(EventView event) { in drop()
137 void on_command_status(EventView event) { in on_command_status()
152 void on_command_complete(EventView event) { in on_command_complete()
157 void handle_command_response(EventView event, std::string logging_id) { in handle_command_response()
240 void register_event(EventCode event, ContextualCallback<void(EventView)> handler) { in register_event()
255 void register_le_meta_event(ContextualCallback<void(EventView)> handler) { in register_le_meta_event()
300 void on_hci_event(EventView event) { in on_hci_event()
324 void on_le_meta_event(EventView event) { in on_le_meta_event()
341 std::map<EventCode, ContextualCallback<void(EventView)>> event_handlers_;
[all …]
Dle_scanning_manager_test.cc117 …void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)> event_… in RegisterEventHandler()
136 EventView event = EventView::Create(packet); in IncomingEvent()
145 EventView event = EventView::Create(packet); in IncomingLeMetaEvent()
154 void CommandCompleteCallback(EventView event) { in CommandCompleteCallback()
162 void CommandStatusCallback(EventView event) { in CommandStatusCallback()
179 std::map<EventCode, common::ContextualCallback<void(EventView)>> registered_events_;
Dcontroller_test.cc199 EventView event = EventView::Create(packet); in HandleCommand()
206 …void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)> event_… in RegisterEventHandler()
227 EventView event = EventView::Create(packet); in IncomingCredit()
264 common::ContextualCallback<void(EventView)> number_of_completed_packets_callback_;
Dhci_layer_test.cc202 … hci_->GetSecurityInterface(GetHandler()->BindOn(this, &DependsOnHci::handle_event<EventView>)); in SendSecurityCommandExpectingComplete()
235 EventView GetReceivedEvent() { in GetReceivedEvent()
237 EventView packetview = incoming_events_.front(); in GetReceivedEvent()
279 …ventCode::CONNECTION_COMPLETE, GetHandler()->BindOn(this, &DependsOnHci::handle_event<EventView>)); in Start()
307 std::list<EventView> incoming_events_;
457 …ASSERT_TRUE(LeConnectionCompleteView::Create(LeMetaEventView::Create(EventView::Create(event))).Is… in TEST_F()
521 …ReadLocalVersionInformationCompleteView::Create(CommandCompleteView::Create(EventView::Create(even… in TEST_F()
568 …ReadLocalVersionInformationCompleteView::Create(CommandCompleteView::Create(EventView::Create(even… in TEST_F()
597 …ReadLocalSupportedCommandsCompleteView::Create(CommandCompleteView::Create(EventView::Create(event… in TEST_F()
621 …ReadLocalSupportedFeaturesCompleteView::Create(CommandCompleteView::Create(EventView::Create(event… in TEST_F()
Dvendor_specific_event_manager.cc81 void on_vendor_specific_event(EventView event_view) { in on_vendor_specific_event()
Dle_advertising_manager_test.cc167 …void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)> event_… in RegisterEventHandler()
178 EventView event = EventView::Create(packet); in IncomingEvent()
187 EventView event = EventView::Create(packet); in IncomingLeMetaEvent()
196 void CommandCompleteCallback(EventView event) { in CommandCompleteCallback()
203 void CommandStatusCallback(EventView event) { in CommandStatusCallback()
219 std::map<EventCode, common::ContextualCallback<void(EventView)>> registered_events_;
Dle_address_manager_test.cc95 EventView event = EventView::Create(packet); in IncomingEvent()
100 void CommandCompleteCallback(EventView event) { in CommandCompleteCallback()
/system/bt/gd/security/test/
Dfake_hci_layer.h30 using hci::EventView;
86 …void RegisterEventHandler(EventCode event_code, common::ContextualCallback<void(EventView)> event_… in RegisterEventHandler()
96 EventView event = EventView::Create(packet); in IncomingEvent()
108 std::map<EventCode, common::ContextualCallback<void(EventView)>> registered_events_;
Dfake_l2cap_test.cc46 using bluetooth::hci::EventView;
/system/bt/gd/hci/acl_manager/
Dclassic_impl.h78 void on_classic_event(EventView event_packet) { in on_classic_event()
159 void on_incoming_connection(EventView packet) { in on_incoming_connection()
236 void on_connection_complete(EventView packet) { in on_connection_complete()
307 void on_connection_packet_type_changed(EventView packet) { in on_connection_packet_type_changed()
328 void on_central_link_key_complete(EventView packet) { in on_central_link_key_complete()
350 void on_authentication_complete(EventView packet) { in on_authentication_complete()
402 void on_change_connection_link_key_complete(EventView packet) { in on_change_connection_link_key_complete()
423 void on_read_clock_offset_complete(EventView packet) { in on_read_clock_offset_complete()
445 void on_mode_change(EventView packet) { in on_mode_change()
462 void on_sniff_subrating(EventView packet) { in on_sniff_subrating()
[all …]
/system/bt/gd/hci/fuzz/
Dfuzz_hci_layer.cc28 hci::SecurityInterface* FuzzHciLayer::GetSecurityInterface(ContextualCallback<void(hci::EventView)>… in GetSecurityInterface()
38 ContextualCallback<void(hci::EventView)> event_handler, in GetAclConnectionInterface()
142 InvokeIfValid<EventView>(handler_pair->second, GetArbitraryBytes(&fdp)); in injectEvent()
154 InvokeIfValid<EventView>(security_event_handler_, data); in injectSecurityEvent()
162 InvokeIfValid<EventView>(acl_event_handler_, data); in injectAclEvent()
Dfuzz_hci_layer.h78 …void RegisterEventHandler(hci::EventCode event, common::ContextualCallback<void(hci::EventView)> h… in RegisterEventHandler()
101 …hci::SecurityInterface* GetSecurityInterface(common::ContextualCallback<void(hci::EventView)> even…
107 common::ContextualCallback<void(hci::EventView)> event_handler,
179 std::map<hci::EventCode, common::ContextualCallback<void(hci::EventView)>> event_handlers_;
182 common::ContextualCallback<void(hci::EventView)> security_event_handler_;
184 common::ContextualCallback<void(hci::EventView)> acl_event_handler_;
Dhci_layer_fuzz_client.cc38 GetHandler()->Bind([](EventView) {}), in Start() argument
/system/bt/gd/cert/
Dcaptures.py35 … hci_packets.EventView(bt_packets.PacketViewLittleEndian(list(packet.payload))))))
41 hci_packets.EventView(bt_packets.PacketViewLittleEndian(list(packet.payload)))))
47 hci_packets.EventView(bt_packets.PacketViewLittleEndian(list(packet.payload)))))
53 hci_packets.EventView(bt_packets.PacketViewLittleEndian(list(packet.payload)))))
61 … hci_packets.EventView(bt_packets.PacketViewLittleEndian(list(packet.payload))))))
/system/bt/gd/neighbor/
Dinquiry_test.cc191 hci::EventView event = hci::EventView::Create(GetPacketView(std::move(event_builder))); in HandleCommand()
222 hci::EventView event = hci::EventView::Create(GetPacketView(std::move(event_builder))); in HandleStatus()
234 …hci::EventCode event_code, common::ContextualCallback<void(hci::EventView)> event_handler) overrid… in RegisterEventHandler()
292 hci::EventView view = hci::EventView::Create(GetPacketView(std::move(result))); in InjectInquiryResult()
304 common::ContextualCallback<void(hci::EventView)> inquiry_result_callback_;
305 common::ContextualCallback<void(hci::EventView)> inquiry_result_with_rssi_callback_;
306 common::ContextualCallback<void(hci::EventView)> extended_inquiry_result_callback_;
307 common::ContextualCallback<void(hci::EventView)> inquiry_complete_callback_;
Dname.cc69 void OnEvent(hci::EventView view);
121 void neighbor::NameModule::impl::OnEvent(hci::EventView view) { in OnEvent()
/system/bt/gd/security/channel/
Dsecurity_manager_channel.h44 virtual void OnHciEventReceived(hci::EventView packet) = 0;
115 void OnHciEventReceived(hci::EventView packet);
Dsecurity_manager_channel.cc88 void SecurityManagerChannel::OnHciEventReceived(hci::EventView packet) { in OnHciEventReceived()
/system/bt/gd/btaa/
Dhci_processor.h55 …_le_event(std::vector<BtaaHciPacket>& btaa_hci_packets, int16_t byte_count, hci::EventView& event);
60 hci::EventView& event);
/system/bt/gd/hal/fuzz/
Dfuzz_hci_hal.cc64 hci::EventView event = hci::EventView::FromBytes(data); in injectHciEvent()
/system/bt/gd/btaa/linux_generic/
Dhci_processor.cc35 std::vector<BtaaHciPacket>& btaa_hci_packets, int16_t byte_count, hci::EventView& event) { in process_le_event()
66 hci::EventView& event) { in process_special_event()
147 hci::EventView event = hci::EventView::Create(packet_view); in process_event()
/system/bt/gd/hci/cert/
Dle_acl_manager_test.py141 … hci_packets.EventView(bt_packets.PacketViewLittleEndian(list(packet_bytes)))))
148 … hci_packets.EventView(bt_packets.PacketViewLittleEndian(list(packet_bytes)))))
259 … hci_packets.EventView(bt_packets.PacketViewLittleEndian(list(packet_bytes)))))
265 … hci_packets.EventView(bt_packets.PacketViewLittleEndian(list(packet_bytes)))))
/system/bt/gd/security/
Dpairing_handler_le.h71 std::optional<hci::EventView> hci_event;
80 PairingEvent(hci::EventView hci_event) : type(HCI_EVENT), hci_event(hci_event) {} in PairingEvent()
276 void OnHciEvent(hci::EventView hci_event) { in OnHciEvent()

12