Home
last modified time | relevance | path

Searched refs:hci_event (Results 1 – 6 of 6) sorted by relevance

/system/bt/gd/cert/
Dmatchers.py36hci_event = HciMatchers.extract_hci_event_with_code(packet_bytes, EventCode.COMMAND_COMPLETE)
37 if hci_event is None:
39 frame = hci_packets.CommandCompleteView(hci_event)
49hci_event = hci_packets.EventPacketView(bt_packets.PacketViewLittleEndian(list(packet_bytes)))
50 if hci_event is None:
52 if event_code is not None and hci_event.GetEventCode() != event_code:
54 return hci_event
105 hci_event = HciMatchers.extract_hci_event_with_code(packet, EventCode.INQUIRY_RESULT)
106 if hci_event is None:
108 inquiry_view = hci_packets.InquiryResultView(hci_event)
[all …]
/system/bt/gd/security/
Dpairing_handler_le.h71 std::optional<hci::EventPacketView> hci_event; variable
80 PairingEvent(hci::EventPacketView hci_event) : type(HCI_EVENT), hci_event(hci_event) {} in PairingEvent() argument
152 if (!e.hci_event->IsValid()) return PairingFailure("Received invalid HCI event"); in WaitEncryptionChanged()
154 if (e.hci_event->GetEventCode() == hci::EventCode::ENCRYPTION_CHANGE) { in WaitEncryptionChanged()
155 EncryptionChangeView enc_chg_packet = EncryptionChangeView::Create(*e.hci_event); in WaitEncryptionChanged()
162 if (e.hci_event->GetEventCode() == hci::EventCode::ENCRYPTION_KEY_REFRESH_COMPLETE) { in WaitEncryptionChanged()
163 …cryptionKeyRefreshCompleteView enc_packet = EncryptionKeyRefreshCompleteView::Create(*e.hci_event); in WaitEncryptionChanged()
245 void OnHciEvent(hci::EventPacketView hci_event) { in OnHciEvent() argument
248 queue.push(PairingEvent(std::move(hci_event))); in OnHciEvent()
/system/bt/stack/btu/
Dbtu_hcif.cc524 uint16_t hci_event = android::bluetooth::hci::EVT_COMMAND_STATUS; in btu_hcif_log_command_metrics() local
526 hci_event = android::bluetooth::hci::EVT_UNKNOWN; in btu_hcif_log_command_metrics()
541 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, kUnknownBleEvt, in btu_hcif_log_command_metrics()
549 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
557 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
567 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
577 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
613 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, in btu_hcif_log_command_metrics()
643 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, in btu_hcif_log_command_metrics()
655 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, in btu_hcif_log_command_metrics()
[all …]
/system/bt/common/
Dmetrics.h305 uint16_t hci_event, uint16_t hci_ble_event,
426 …assicPairingEvent(const RawAddress& address, uint16_t handle, uint32_t hci_cmd, uint16_t hci_event,
Dmetrics.cc577 uint16_t hci_event, uint16_t hci_ble_event, in LogLinkLayerConnectionEvent() argument
591 connection_handle, direction, link_type, hci_cmd, hci_event, in LogLinkLayerConnectionEvent()
596 << loghex(hci_cmd) << ", event " << loghex(hci_event) in LogLinkLayerConnectionEvent()
775 …assicPairingEvent(const RawAddress& address, uint16_t handle, uint32_t hci_cmd, uint16_t hci_event, in LogClassicPairingEvent() argument
789 obfuscated_id_field, handle, hci_cmd, hci_event, cmd_status, reason_code, in LogClassicPairingEvent()
793 … << ", hci_event " << loghex(hci_event) << ", cmd_status " << loghex(cmd_status) << ", reason " in LogClassicPairingEvent()
/system/bt/test/rootcanal/
Dbluetooth_hci.cc112 hidl_vec<uint8_t> hci_event(packet->begin(), packet->end()); in initialize_impl() local
113 auto ret = cb->hciEventReceived(hci_event); in initialize_impl()