Home
last modified time | relevance | path

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

/system/bt/test/mock/
Dmock_stack_metrics_logging.h59 uint32_t hci_cmd, uint16_t hci_event, uint16_t cmd_status,
62 uint16_t hci_event, uint16_t cmd_status, uint16_t reason_code,
65 uint16_t hci_event, uint16_t cmd_status, uint16_t reason_code, in operator()
67 body(address, handle, hci_cmd, hci_event, cmd_status, reason_code, in operator()
80 uint16_t link_type, uint32_t hci_cmd, uint16_t hci_event,
85 uint32_t hci_cmd, uint16_t hci_event, uint16_t hci_ble_event,
89 uint16_t link_type, uint32_t hci_cmd, uint16_t hci_event, in operator()
92 body(address, connection_handle, direction, link_type, hci_cmd, hci_event, in operator()
Dmock_stack_metrics_logging.cc70 uint32_t hci_cmd, uint16_t hci_event, in log_classic_pairing_event() argument
75 address, handle, hci_cmd, hci_event, cmd_status, reason_code, in log_classic_pairing_event()
81 uint32_t hci_cmd, uint16_t hci_event, uint16_t hci_ble_event, in log_link_layer_connection_event() argument
85 address, connection_handle, direction, link_type, hci_cmd, hci_event, in log_link_layer_connection_event()
Dmock_main_shim_metrics_api.h61 uint16_t link_type, uint32_t hci_cmd, uint16_t hci_event,
66 uint32_t hci_cmd, uint16_t hci_event, uint16_t hci_ble_event,
70 uint16_t link_type, uint32_t hci_cmd, uint16_t hci_event, in operator()
74 hci_event, hci_ble_event, cmd_status, reason_code); in operator()
197 uint32_t hci_cmd, uint16_t hci_event, uint16_t cmd_status,
200 uint16_t hci_event, uint16_t cmd_status, uint16_t reason_code,
203 uint32_t hci_cmd, uint16_t hci_event, uint16_t cmd_status, in operator()
205 body(raw_address, handle, hci_cmd, hci_event, cmd_status, reason_code, in operator()
Dmock_main_shim_metrics_api.cc80 uint32_t hci_cmd, uint16_t hci_event, uint16_t hci_ble_event, in LogMetricLinkLayerConnectionEvent() argument
84 raw_address, connection_handle, direction, link_type, hci_cmd, hci_event, in LogMetricLinkLayerConnectionEvent()
141 uint16_t hci_event, uint16_t cmd_status, uint16_t reason_code, in LogMetricClassicPairingEvent() argument
145 raw_address, handle, hci_cmd, hci_event, cmd_status, reason_code, in LogMetricClassicPairingEvent()
Dmock_common_metrics.cc145 uint32_t hci_cmd, uint16_t hci_event, in LogClassicPairingEvent() argument
157 uint16_t hci_event, uint16_t hci_ble_event, in LogLinkLayerConnectionEvent() argument
/system/bt/stack/metrics/
Dstack_metrics_logging.cc27 uint32_t hci_cmd, uint16_t hci_event, in log_classic_pairing_event() argument
32 hci_event, cmd_status, in log_classic_pairing_event()
36 hci_event, cmd_status, in log_classic_pairing_event()
44 uint32_t hci_cmd, uint16_t hci_event, uint16_t hci_ble_event, in log_link_layer_connection_event() argument
48 address, connection_handle, direction, link_type, hci_cmd, hci_event, in log_link_layer_connection_event()
52 address, connection_handle, direction, link_type, hci_cmd, hci_event, in log_link_layer_connection_event()
/system/bt/gd/security/
Dpairing_handler_le.h71 std::optional<hci::EventView> hci_event; variable
80 PairingEvent(hci::EventView hci_event) : type(HCI_EVENT), hci_event(hci_event) {} in PairingEvent() argument
158 if (!e.hci_event->IsValid()) return PairingFailure("Received invalid HCI event"); in WaitEncryptionChanged()
160 if (e.hci_event->GetEventCode() == hci::EventCode::ENCRYPTION_CHANGE) { in WaitEncryptionChanged()
161 EncryptionChangeView enc_chg_packet = EncryptionChangeView::Create(*e.hci_event); in WaitEncryptionChanged()
168 if (e.hci_event->GetEventCode() == hci::EventCode::ENCRYPTION_KEY_REFRESH_COMPLETE) { in WaitEncryptionChanged()
169 …cryptionKeyRefreshCompleteView enc_packet = EncryptionKeyRefreshCompleteView::Create(*e.hci_event); in WaitEncryptionChanged()
183 if (!e.hci_event->IsValid()) return PairingFailure("Received invalid HCI event"); in WaitLeLongTermKeyRequest()
185 …if (e.hci_event->GetEventCode() != hci::EventCode::LE_META_EVENT) return PairingFailure("Was expec… in WaitLeLongTermKeyRequest()
187 hci::LeMetaEventView le_event = hci::LeMetaEventView::Create(*e.hci_event); in WaitLeLongTermKeyRequest()
[all …]
/system/bt/stack/include/
Dstack_metrics_logging.h25 uint32_t hci_cmd, uint16_t hci_event,
32 uint32_t hci_cmd, uint16_t hci_event, uint16_t hci_ble_event,
/system/bt/stack/btu/
Dbtu_hcif.cc468 uint16_t hci_event = android::bluetooth::hci::EVT_COMMAND_STATUS; in btu_hcif_log_command_metrics() local
470 hci_event = android::bluetooth::hci::EVT_UNKNOWN; in btu_hcif_log_command_metrics()
485 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, kUnknownBleEvt, in btu_hcif_log_command_metrics()
493 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
501 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
511 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
521 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
555 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, in btu_hcif_log_command_metrics()
583 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, in btu_hcif_log_command_metrics()
595 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, in btu_hcif_log_command_metrics()
[all …]
/system/bt/main/shim/
Dmetrics_api.cc30 uint32_t hci_cmd, uint16_t hci_event, uint16_t hci_ble_event, in LogMetricLinkLayerConnectionEvent() argument
38 link_type, hci_cmd, hci_event, hci_ble_event, cmd_status, reason_code); in LogMetricLinkLayerConnectionEvent()
100 uint16_t hci_event, uint16_t cmd_status, in LogMetricClassicPairingEvent() argument
104 hci_event, cmd_status, in LogMetricClassicPairingEvent()
Dmetrics_api.h46 uint32_t hci_cmd, uint16_t hci_event, uint16_t hci_ble_event,
154 uint32_t hci_cmd, uint16_t hci_event,
/system/bt/gd/os/android/
Dmetrics.cc46 uint16_t hci_event, in LogMetricLinkLayerConnectionEvent() argument
61 hci_event, in LogMetricLinkLayerConnectionEvent()
73 common::ToHexString(hci_event).c_str(), in LogMetricLinkLayerConnectionEvent()
268 uint16_t hci_event, in LogMetricClassicPairingEvent() argument
281 hci_event, in LogMetricClassicPairingEvent()
293 common::ToHexString(hci_event).c_str(), in LogMetricClassicPairingEvent()
/system/bt/gd/os/linux/
Dmetrics.cc31 uint16_t hci_event, in LogMetricClassicPairingEvent() argument
76 uint16_t hci_event, in LogMetricLinkLayerConnectionEvent() argument
/system/bt/gd/os/host/
Dmetrics.cc31 uint16_t hci_event, in LogMetricClassicPairingEvent() argument
76 uint16_t hci_event, in LogMetricLinkLayerConnectionEvent() argument
/system/bt/gd/os/
Dmetrics.h55 uint16_t hci_event,
187 uint16_t hci_event,
/system/bt/gd/cert/
Dmatchers.py219 hci_event = HciMatchers.ExtractEventWithCode(packet, EventCode.INQUIRY_RESULT)
220 if hci_event is None:
222 inquiry_view = hci_packets.InquiryResultView(hci_event)
234 hci_event = HciMatchers.ExtractEventWithCode(packet, EventCode.INQUIRY_RESULT_WITH_RSSI)
235 if hci_event is None:
237 inquiry_view = hci_packets.InquiryResultWithRssiView(hci_event)
249 hci_event = HciMatchers.ExtractEventWithCode(packet, EventCode.EXTENDED_INQUIRY_RESULT)
250 if hci_event is None:
252 extended_view = hci_packets.ExtendedInquiryResultView(hci_event)
/system/bt/common/
Dmetrics_linux.cc92 uint32_t hci_cmd, uint16_t hci_event, in LogClassicPairingEvent() argument
138 uint16_t hci_event, uint16_t hci_ble_event, in LogLinkLayerConnectionEvent() argument
Dmetrics.h305 uint16_t hci_event, uint16_t hci_ble_event,
436 …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()
798 …assicPairingEvent(const RawAddress& address, uint16_t handle, uint32_t hci_cmd, uint16_t hci_event, in LogClassicPairingEvent() argument
812 obfuscated_id_field, handle, hci_cmd, hci_event, cmd_status, reason_code, in LogClassicPairingEvent()
816 … << ", 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()