Loading system/gd/hci/acl_manager/classic_impl.h +3 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ #include "hci/event_checkers.h" #include "hci/hci_layer.h" #include "hci/remote_name_request.h" #include "metrics/bluetooth_event.h" #include "os/metrics.h" namespace bluetooth { Loading Loading @@ -258,6 +259,8 @@ public: client_handler_->CallOn(client_callbacks_, &ConnectionCallbacks::OnConnectRequest, address, cod); bluetooth::metrics::LogIncomingAclStartEvent(address); acl_scheduler_->RegisterPendingIncomingConnection(address); if (is_classic_link_already_connected(address)) { Loading system/gd/metrics/bluetooth_event.cc +5 −0 Original line number Diff line number Diff line Loading @@ -92,6 +92,11 @@ State MapHCIStatusToState(tHCI_STATUS status) { } } void LogIncomingAclStartEvent(const hci::Address& address) { bluetooth::os::LogMetricBluetoothEvent(address, EventType::ACL_CONNECTION_RESPONDER, State::START); } void LogAclCompletionEvent(const hci::Address& address, ErrorCode reason, bool is_locally_initiated) { bluetooth::os::LogMetricBluetoothEvent(address, Loading system/gd/metrics/bluetooth_event.h +2 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,8 @@ namespace bluetooth { namespace metrics { void LogIncomingAclStartEvent(const hci::Address& address); void LogAclCompletionEvent(const hci::Address& address, hci::ErrorCode reason, bool is_locally_initiated); Loading Loading
system/gd/hci/acl_manager/classic_impl.h +3 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ #include "hci/event_checkers.h" #include "hci/hci_layer.h" #include "hci/remote_name_request.h" #include "metrics/bluetooth_event.h" #include "os/metrics.h" namespace bluetooth { Loading Loading @@ -258,6 +259,8 @@ public: client_handler_->CallOn(client_callbacks_, &ConnectionCallbacks::OnConnectRequest, address, cod); bluetooth::metrics::LogIncomingAclStartEvent(address); acl_scheduler_->RegisterPendingIncomingConnection(address); if (is_classic_link_already_connected(address)) { Loading
system/gd/metrics/bluetooth_event.cc +5 −0 Original line number Diff line number Diff line Loading @@ -92,6 +92,11 @@ State MapHCIStatusToState(tHCI_STATUS status) { } } void LogIncomingAclStartEvent(const hci::Address& address) { bluetooth::os::LogMetricBluetoothEvent(address, EventType::ACL_CONNECTION_RESPONDER, State::START); } void LogAclCompletionEvent(const hci::Address& address, ErrorCode reason, bool is_locally_initiated) { bluetooth::os::LogMetricBluetoothEvent(address, Loading
system/gd/metrics/bluetooth_event.h +2 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,8 @@ namespace bluetooth { namespace metrics { void LogIncomingAclStartEvent(const hci::Address& address); void LogAclCompletionEvent(const hci::Address& address, hci::ErrorCode reason, bool is_locally_initiated); Loading