Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fdd72a76 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix A2DP metrics session duration"

parents 61df78ee 4308e8f5
Loading
Loading
Loading
Loading
+5 −2
Original line number Original line Diff line number Diff line
@@ -82,7 +82,7 @@ message BluetoothSession {
  // The information about the RFComm session.
  // The information about the RFComm session.
  optional RFCommSession rfcomm_session = 6;
  optional RFCommSession rfcomm_session = 6;


  // The information about the A2DP session.
  // The information about the A2DP audio session.
  optional A2DPSession a2dp_session = 7;
  optional A2DPSession a2dp_session = 7;
}
}


@@ -95,7 +95,7 @@ message RFCommSession {
  optional int32 tx_bytes = 2;
  optional int32 tx_bytes = 2;
}
}


// Session information that gets logged for every A2DP session.
// Session information that gets logged for A2DP session.
message A2DPSession {
message A2DPSession {


  // Media timer in milliseconds.
  // Media timer in milliseconds.
@@ -118,6 +118,9 @@ message A2DPSession {


  // Buffer underruns count.
  // Buffer underruns count.
  optional int32 buffer_underruns_count = 7;
  optional int32 buffer_underruns_count = 7;

  // Total audio time in this A2DP session
  optional int64 audio_duration_millis = 8;
}
}


message PairEvent {
message PairEvent {