Commit 4308e8f5 authored by Jack He's avatar Jack He
Browse files

Fix A2DP metrics session duration

* Add one extra item in the A2DPSession message to keep track of audio
  playback time for A2DP source

Bug: 33694310
Test: code compilation
Change-Id: Iee1e47997bf9cf9ba3f7f812c965eab36f19c0f4
parent 61df78ee
......@@ -82,7 +82,7 @@ message BluetoothSession {
// The information about the RFComm session.
optional RFCommSession rfcomm_session = 6;
// The information about the A2DP session.
// The information about the A2DP audio session.
optional A2DPSession a2dp_session = 7;
}
......@@ -95,7 +95,7 @@ message RFCommSession {
optional int32 tx_bytes = 2;
}
// Session information that gets logged for every A2DP session.
// Session information that gets logged for A2DP session.
message A2DPSession {
// Media timer in milliseconds.
......@@ -118,6 +118,9 @@ message A2DPSession {
// Buffer underruns count.
optional int32 buffer_underruns_count = 7;
// Total audio time in this A2DP session
optional int64 audio_duration_millis = 8;
}
message PairEvent {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment