diff options
Diffstat (limited to 'system/common/metrics.cc')
-rw-r--r-- | system/common/metrics.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/system/common/metrics.cc b/system/common/metrics.cc index 0664186cac..baf838b0c4 100644 --- a/system/common/metrics.cc +++ b/system/common/metrics.cc @@ -962,6 +962,13 @@ void LogLeAudioConnectionSessionReported( } } +void LogLeAudioBroadcastSessionReported(int64_t duration_nanos) { + int ret = stats_write(LE_AUDIO_BROADCAST_SESSION_REPORTED, duration_nanos); + if (ret < 0) { + LOG(WARNING) << __func__ << ": failed for duration=" << duration_nanos; + } +} + } // namespace common } // namespace bluetooth |