Add max/min volume and duration in AudioPowerUsageData
Bug: 201353537
Bug: 215756431
Test: Build pass
Change-Id: I7e95fb54cbc3f871b48168f4249b1ab6f102ff5c
diff --git a/stats/atoms.proto b/stats/atoms.proto
index 9a651a9..a65675b 100644
--- a/stats/atoms.proto
+++ b/stats/atoms.proto
@@ -14594,6 +14594,18 @@
RECORD_TYPE = 7; // other recording
}
optional AudioType type = 4;
+
+ // Minimum volume duration of the audio in seconds
+ optional int32 minimum_volume_duration_secs = 5;
+
+ // Minimum volume (0 ... 1.0)
+ optional float minimum_volume = 6;
+
+ // Maximum volume duration of the audio in seconds
+ optional int32 maximum_volume_duration_secs = 7;
+
+ // Maximum volume (0 ... 1.0)
+ optional float maximum_volume = 8;
}
/**