OSDN Git Service

Add support for collecting A2DP Protobuf metrics
authorPavlin Radoslavov <pavlin@google.com>
Wed, 17 Feb 2016 23:42:38 +0000 (15:42 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Thu, 18 Feb 2016 00:27:52 +0000 (16:27 -0800)
commita1bccb9b394abf4614bf64259375545f0059972e
tree4c34f0bb05867d9d1fd5869f02ff84c0b7c36cd9
parentddf2af14973968f0dc0e32b457cf6deced34fc43
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
btif/include/btif_media.h
btif/src/bluetooth.c
btif/src/btif_media_task.c
osi/include/metrics.h
osi/src/metrics.cpp