/packages/modules/Bluetooth/system/gd/security/ |
D | pairing_handler_le.h | 67 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/ |
D | btu_hcif.cc | 366 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/ |
D | mock_stack_metrics_logging.h | 45 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()
|
D | mock_stack_metrics_logging.cc | 58 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()
|
D | mock_main_shim_metrics_api.h | 48 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()
|
D | mock_main_shim_metrics_api.cc | 67 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/ |
D | stack_metrics_logging.cc | 27 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/ |
D | invalid_packet_handler_unittest.cc | 57 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/ |
D | metrics.cc | 70 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/ |
D | metrics_api.cc | 33 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()
|
D | metrics_api.h | 47 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/ |
D | stack_metrics_logging.h | 27 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/ |
D | metrics.cc | 31 uint16_t hci_event, in LogMetricClassicPairingEvent() argument 76 uint16_t hci_event, in LogMetricLinkLayerConnectionEvent() argument
|
/packages/modules/Bluetooth/system/common/ |
D | metrics_linux.cc | 92 uint32_t hci_cmd, uint16_t hci_event, in LogClassicPairingEvent() argument 138 uint16_t hci_event, uint16_t hci_ble_event, in LogLinkLayerConnectionEvent() argument
|
D | metrics.h | 312 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,
|
D | metrics.cc | 598 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/ |
D | metrics.h | 58 uint16_t hci_event, 252 uint16_t hci_event,
|
/packages/modules/Bluetooth/system/gd/os/chromeos/ |
D | metrics.cc | 36 uint16_t hci_event, in LogMetricClassicPairingEvent() argument 160 uint16_t hci_event, in LogMetricLinkLayerConnectionEvent() argument
|
/packages/modules/Bluetooth/tools/rootcanal/hal/ |
D | bluetooth_hci.cc | 122 hidl_vec<uint8_t> hci_event(packet->begin(), packet->end()); in initialize_impl() local 123 auto ret = cb->hciEventReceived(hci_event); in initialize_impl()
|