7ab4b59672013eddcb706e288962ab7309a75628 |
|
18-Jan-2017 |
Jack He <siyuanh@google.com> |
Fix A2DP Metrics Logging Capacity * Set the maximum number of wake events logged to 1000 * Stop logging wake log name as it takes too much memory * Add counters for each of the repeated values in BluetoothLog so that the true number of events can be determined while oldest event get dropped * Log Bluetooth session disconnect reasons using enum instead of string in order to save memory usage * Apply changes to bluetooth.proto in ag/1460462 on system/bt Bug: 33694310 Test: Code compilation and unit tests Change-Id: I2cc6f9304725938b63b211d615eb1941eac60edf
/system/bt/osi/include/metrics.h
|
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/include/metrics.h
|
4e6b1c82b78aa17c887376c14cf323bed02e1fd4 |
|
18-Feb-2016 |
Pavlin Radoslavov <pavlin@google.com> |
Add support for collecting A2DP Protobuf metrics * Add new function metrics_a2dp_session() to connect A2DP metrics into Protobuf * Add new function btif_update_a2dp_metrics() that is called when the metrics should be callected * Add few more statistics to the BTIF media stats. Change-Id: I5862ac82e55b3546dc1fbde0c78cb4683e40d19e
/system/bt/osi/include/metrics.h
|
aa11644f763b1d33123b3f71d1a6c3977e7d69cf |
|
16-Jan-2016 |
Marie Janssen <jamuraa@google.com> |
osi: add metrics API Add a metrics API, which supports creating events which are eventually passed up to the clearcut logging to track pairings and other events. Connect this to the dumpsys call when it is called. Change-Id: Idcf75541fd18b0413cc843d6c7e23a5f08a634a5
/system/bt/osi/include/metrics.h
|