History log of /system/bt/osi/src/metrics_linux.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
14248c4ce8cb2a4e156006a868ef6f0ad0d41fa6 09-Dec-2016 Jack He <siyuanh@google.com> Fix A2DP metrics session duration

* Fixed A2DP duration counting. It is now counting from music play start
to music play end.
* Start logging a2dp connection as Bluetooth sessions. Currently, only
A2DP connections are logged. Thus the bluetooth session length will be
the total connection length and the length within A2DP session message
will be the audio connection length.
* Add a audio_duration_millis field in A2DPSession to record audio duration
* Add bonded memory constraint for metrics entries
* Use a builder mechanism to only build metrics upon dumping
* Refactor metrics module into BluetoothMetricsLogger class
* Created unit test for BluetoothMetricsLogger

Bug: 33694310
Test: Code compilation, Unit test, BtFunhausMetricsTest
Merged-In: Iea2a997c4ea074687a5d50860e9229f0e1b82659
Change-Id: Iea2a997c4ea074687a5d50860e9229f0e1b82659
(cherry picked from commit f3175629208a64b190dde4dcf5f92cacef70d3e9)
/system/bt/osi/src/metrics_linux.cpp
e4bc35bf8bfe06ea174607fde3b645f5f6e9b941 24-Feb-2016 Jakub Pawlowski <jpawlowski@google.com> Add Linux-specific version of metrics.

This patch adds empty metrics implementation for Linux in
order to fix build errors.

Bug: 27324453
Change-Id: I2f45db6147689bf295176b7ad30a613a7f5a8d9f
/system/bt/osi/src/metrics_linux.cpp