Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/security/
Dpairing_handler_le.h67 std::optional<hci::EventView> hci_event; variable
76 PairingEvent(hci::EventView hci_event) : type(HCI_EVENT), hci_event(hci_event) {} in PairingEvent() argument
159 if (!e.hci_event->IsValid()) return PairingFailure("Received invalid HCI event"); in WaitEncryptionChanged()
161 if (e.hci_event->GetEventCode() == hci::EventCode::ENCRYPTION_CHANGE) { in WaitEncryptionChanged()
162 EncryptionChangeView enc_chg_packet = EncryptionChangeView::Create(*e.hci_event); in WaitEncryptionChanged()
169 if (e.hci_event->GetEventCode() == hci::EventCode::ENCRYPTION_KEY_REFRESH_COMPLETE) { in WaitEncryptionChanged()
170 …cryptionKeyRefreshCompleteView enc_packet = EncryptionKeyRefreshCompleteView::Create(*e.hci_event); in WaitEncryptionChanged()
184 if (!e.hci_event->IsValid()) return PairingFailure("Received invalid HCI event"); in WaitLeLongTermKeyRequest()
186 …if (e.hci_event->GetEventCode() != hci::EventCode::LE_META_EVENT) return PairingFailure("Was expec… in WaitLeLongTermKeyRequest()
188 hci::LeMetaEventView le_event = hci::LeMetaEventView::Create(*e.hci_event); in WaitLeLongTermKeyRequest()
[all …]
/packages/modules/Bluetooth/system/stack/btu/
Dbtu_hcif.cc366 uint16_t hci_event = android::bluetooth::hci::EVT_COMMAND_STATUS; in btu_hcif_log_command_metrics() local
368 hci_event = android::bluetooth::hci::EVT_UNKNOWN; in btu_hcif_log_command_metrics()
383 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, kUnknownBleEvt, in btu_hcif_log_command_metrics()
391 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
399 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
409 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
419 android::bluetooth::LINK_TYPE_UNKNOWN, opcode, hci_event, in btu_hcif_log_command_metrics()
453 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, in btu_hcif_log_command_metrics()
481 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, in btu_hcif_log_command_metrics()
493 android::bluetooth::LINK_TYPE_ACL, opcode, hci_event, in btu_hcif_log_command_metrics()
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_metrics_logging.h45 uint32_t hci_cmd, uint16_t hci_event, uint16_t cmd_status,
52 uint16_t hci_event, uint16_t cmd_status, uint16_t reason_code, in operator()
54 body(address, handle, hci_cmd, hci_event, cmd_status, reason_code, in operator()
67 uint16_t link_type, uint32_t hci_cmd, uint16_t hci_event,
77 uint16_t link_type, uint32_t hci_cmd, uint16_t hci_event, in operator()
80 body(address, connection_handle, direction, link_type, hci_cmd, hci_event, in operator()
Dmock_stack_metrics_logging.cc58 uint32_t hci_cmd, uint16_t hci_event, in log_classic_pairing_event() argument
63 address, handle, hci_cmd, hci_event, cmd_status, reason_code, in log_classic_pairing_event()
69 uint32_t hci_cmd, uint16_t hci_event, uint16_t hci_ble_event, in log_link_layer_connection_event() argument
73 address, connection_handle, direction, link_type, hci_cmd, hci_event, in log_link_layer_connection_event()
Dmock_main_shim_metrics_api.h48 uint16_t link_type, uint32_t hci_cmd, uint16_t hci_event,
59 uint16_t link_type, uint32_t hci_cmd, uint16_t hci_event, in operator()
63 hci_event, hci_ble_event, cmd_status, reason_code); in operator()
251 uint32_t hci_cmd, uint16_t hci_event, uint16_t cmd_status,
258 uint32_t hci_cmd, uint16_t hci_event, uint16_t cmd_status, in operator()
260 body(raw_address, handle, hci_cmd, hci_event, cmd_status, reason_code, in operator()
Dmock_main_shim_metrics_api.cc67 uint32_t hci_cmd, uint16_t hci_event, uint16_t hci_ble_event, in LogMetricLinkLayerConnectionEvent() argument
71 raw_address, connection_handle, direction, link_type, hci_cmd, hci_event, in LogMetricLinkLayerConnectionEvent()
158 uint16_t hci_event, uint16_t cmd_status, uint16_t reason_code, in LogMetricClassicPairingEvent() argument
162 raw_address, handle, hci_cmd, hci_event, cmd_status, reason_code, in LogMetricClassicPairingEvent()
/packages/modules/Bluetooth/system/stack/metrics/
Dstack_metrics_logging.cc27 uint32_t hci_cmd, uint16_t hci_event, in log_classic_pairing_event() argument
31 hci_event, cmd_status, in log_classic_pairing_event()
38 uint32_t hci_cmd, uint16_t hci_event, uint16_t hci_ble_event, in log_link_layer_connection_event() argument
41 address, connection_handle, direction, link_type, hci_cmd, hci_event, in log_link_layer_connection_event()
/packages/modules/Bluetooth/tools/rootcanal/test/
Dinvalid_packet_handler_unittest.cc57 static std::vector<uint8_t> hci_event; in TEST_F() local
71 hci_event = std::vector<uint8_t>(*packet); in TEST_F()
79 ASSERT_EQ(hci_event, kHardwareErrorEvent); in TEST_F()
/packages/modules/Bluetooth/system/gd/os/android/
Dmetrics.cc70 uint16_t hci_event, in LogMetricLinkLayerConnectionEvent() argument
85 hci_event, in LogMetricLinkLayerConnectionEvent()
97 common::ToHexString(hci_event), in LogMetricLinkLayerConnectionEvent()
307 uint16_t hci_event, in LogMetricClassicPairingEvent() argument
320 hci_event, in LogMetricClassicPairingEvent()
332 common::ToHexString(hci_event), in LogMetricClassicPairingEvent()
339 if (static_cast<EventCode>(hci_event) == EventCode::SIMPLE_PAIRING_COMPLETE) { in LogMetricClassicPairingEvent()
/packages/modules/Bluetooth/system/main/shim/
Dmetrics_api.cc33 uint32_t hci_cmd, uint16_t hci_event, uint16_t hci_ble_event, in LogMetricLinkLayerConnectionEvent() argument
41 link_type, hci_cmd, hci_event, hci_ble_event, cmd_status, reason_code); in LogMetricLinkLayerConnectionEvent()
132 uint16_t hci_event, uint16_t cmd_status, in LogMetricClassicPairingEvent() argument
136 hci_event, cmd_status, in LogMetricClassicPairingEvent()
Dmetrics_api.h47 uint32_t hci_cmd, uint16_t hci_event, uint16_t hci_ble_event,
203 uint32_t hci_cmd, uint16_t hci_event,
/packages/modules/Bluetooth/system/stack/include/
Dstack_metrics_logging.h27 uint32_t hci_cmd, uint16_t hci_event,
34 uint32_t hci_cmd, uint16_t hci_event, uint16_t hci_ble_event,
/packages/modules/Bluetooth/system/gd/os/linux/
Dmetrics.cc31 uint16_t hci_event, in LogMetricClassicPairingEvent() argument
76 uint16_t hci_event, in LogMetricLinkLayerConnectionEvent() argument
/packages/modules/Bluetooth/system/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.h312 uint16_t hci_event, uint16_t hci_ble_event,
443 …assicPairingEvent(const RawAddress& address, uint16_t handle, uint32_t hci_cmd, uint16_t hci_event,
Dmetrics.cc598 uint16_t hci_event, uint16_t hci_ble_event, in LogLinkLayerConnectionEvent() argument
611 connection_handle, direction, link_type, hci_cmd, hci_event, in LogLinkLayerConnectionEvent()
617 cmd_status, reason_code, hci_cmd, hci_event, hci_ble_event, *address, in LogLinkLayerConnectionEvent()
804 …assicPairingEvent(const RawAddress& address, uint16_t handle, uint32_t hci_cmd, uint16_t hci_event, in LogClassicPairingEvent() argument
817 obfuscated_id_field, handle, hci_cmd, hci_event, in LogClassicPairingEvent()
823 address, handle, hci_cmd, hci_event, cmd_status, reason_code, in LogClassicPairingEvent()
/packages/modules/Bluetooth/system/gd/os/
Dmetrics.h58 uint16_t hci_event,
252 uint16_t hci_event,
/packages/modules/Bluetooth/system/gd/os/chromeos/
Dmetrics.cc36 uint16_t hci_event, in LogMetricClassicPairingEvent() argument
160 uint16_t hci_event, in LogMetricLinkLayerConnectionEvent() argument
/packages/modules/Bluetooth/tools/rootcanal/hal/
Dbluetooth_hci.cc122 hidl_vec<uint8_t> hci_event(packet->begin(), packet->end()); in initialize_impl() local
123 auto ret = cb->hciEventReceived(hci_event); in initialize_impl()