Commit 45f53f6d authored by Yu-Hsuan Hsu's avatar Yu-Hsuan Hsu Committed by Commit Bot

CRAS: Add histograms for Cras.DeviceVolume

The change is related to CL:2291484. Add histogram information in
histograms.xml to make the histogram visible on chromedashboard.

BUG=b:160939695

Change-Id: Ic528934c18e0c3094e37cc16069c61bd5c931002
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2311983
Commit-Queue: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Reviewed-by: default avatarIlya Sherman <isherman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#792376}
parent b4839dc7
...@@ -32668,6 +32668,17 @@ reviews. Googlers can read more about this at go/gwsq-gerrit. ...@@ -32668,6 +32668,17 @@ reviews. Googlers can read more about this at go/gwsq-gerrit.
</summary> </summary>
</histogram> </histogram>
<histogram name="Cras.DeviceVolume" units="level" expires_after="2021-07-22">
<!-- Name completed by histogram_suffixes
name="Cras.DeviceType" -->
<owner>yuhsuan@chromium.org</owner>
<owner>chromeos-audio@google.com</owner>
<summary>
The volume of a device, which is recorded when closing a device.
</summary>
</histogram>
<histogram name="Cras.HfpBatteryIndicatorSupported" <histogram name="Cras.HfpBatteryIndicatorSupported"
enum="CrasHfpBatteryIndicator" expires_after="2020-12-01"> enum="CrasHfpBatteryIndicator" expires_after="2020-12-01">
<owner>enshuo@chromium.org</owner> <owner>enshuo@chromium.org</owner>
...@@ -200572,6 +200583,38 @@ regressions. --> ...@@ -200572,6 +200583,38 @@ regressions. -->
<affected-histogram name="Cras.StreamSamplingRate.Output"/> <affected-histogram name="Cras.StreamSamplingRate.Output"/>
</histogram_suffixes> </histogram_suffixes>
<histogram_suffixes name="Cras.DeviceType" separator=".">
<suffix name="A2DP" label="Bluetooth A2DP."/>
<suffix name="AbnormalFallback"
label="Abnormal use case on the fallback device."/>
<suffix name="AlsaLoopback" label="ALSA loopback Device."/>
<suffix name="Bluetooth" label="Bluetooth device."/>
<suffix name="BluetoothNarrowBandMic" label="Bluetooth with NarrowBand Mic."/>
<suffix name="BluetoothWideBandMic" label="Bluetooth with WideBand Mic."/>
<suffix name="FrontMic" label="Front mic."/>
<suffix name="Haptic" label="Haptic device."/>
<suffix name="HDMI" label="HDMI device."/>
<suffix name="Headphone" label="Headphone."/>
<suffix name="HFP" label="Bluetooth HFP."/>
<suffix name="Hotword" label="Hotword device."/>
<suffix name="HSP" label="Bluetooth HSP."/>
<suffix name="InternalMic" label="Internal mic."/>
<suffix name="InternalSpeaker" label="Internal speaker."/>
<suffix name="InvalidType" label="Invalid type. It should not be used."/>
<suffix name="KeyboardMic" label="Keyboard mic."/>
<suffix name="Lineout" label="Line out."/>
<suffix name="Mic" label="External mic."/>
<suffix name="NoDevice" label="No device. It should not be used."/>
<suffix name="NormalFallback" label="Fallback device."/>
<suffix name="PostDspLoopback" label="Post DSP loopback."/>
<suffix name="PostMixLoopback" label="Post Mix loopback."/>
<suffix name="RearMic" label="Rear mic."/>
<suffix name="SilentHotword" label="Silent hotword device."/>
<suffix name="Unknown" label="Unknown device. It should not be used."/>
<suffix name="USB" label="USB device."/>
<affected-histogram name="Cras.DeviceVolume"/>
</histogram_suffixes>
<histogram_suffixes name="Cras.Direction" separator="."> <histogram_suffixes name="Cras.Direction" separator=".">
<suffix name="Input" label="Capture"/> <suffix name="Input" label="Capture"/>
<suffix name="Output" label="Playback"/> <suffix name="Output" label="Playback"/>
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