Home
last modified time | relevance | path

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

/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
153 if (!e.hci_event->IsValid()) return PairingFailure("Received invalid HCI event"); in WaitEncryptionChanged()
155 if (e.hci_event->GetEventCode() == hci::EventCode::ENCRYPTION_CHANGE) { in WaitEncryptionChanged()
156 EncryptionChangeView enc_chg_packet = EncryptionChangeView::Create(*e.hci_event); in WaitEncryptionChanged()
163 if (e.hci_event->GetEventCode() == hci::EventCode::ENCRYPTION_KEY_REFRESH_COMPLETE) { in WaitEncryptionChanged()
164 …cryptionKeyRefreshCompleteView enc_packet = EncryptionKeyRefreshCompleteView::Create(*e.hci_event); in WaitEncryptionChanged()
253 void OnHciEvent(hci::EventPacketView hci_event) { in OnHciEvent() argument
256 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()