From 18be8db4ddb82b5dc4345e33ac04f15df48ce455 Mon Sep 17 00:00:00 2001 From: Jerry Zhang Date: Fri, 15 Dec 2017 15:24:41 -0800 Subject: [PATCH] Add USB config constants to metrics proto Bug: 69809992 Test: manual Change-Id: I44ac963382afd0e6ca33541a55233b5a38dfaa05 --- proto/src/metrics_constants.proto | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/proto/src/metrics_constants.proto b/proto/src/metrics_constants.proto index 935b787250fb6..1aaa53837bf9a 100644 --- a/proto/src/metrics_constants.proto +++ b/proto/src/metrics_constants.proto @@ -5094,6 +5094,36 @@ message MetricsEvent { // Tag used to report autofill field classification scores FIELD_AUTOFILL_MATCH_SCORE = 1274; + // ACTION: Usb config has been changed to charging + // CATEGORY: SETTINGS + // OS: P + ACTION_USB_CONFIG_CHARGING = 1275; + + // ACTION: Usb config has been changed to mtp (file transfer) + // CATEGORY: SETTINGS + // OS: P + ACTION_USB_CONFIG_MTP = 1276; + + // ACTION: Usb config has been changed to ptp (photo transfer) + // CATEGORY: SETTINGS + // OS: P + ACTION_USB_CONFIG_PTP = 1277; + + // ACTION: Usb config has been changed to rndis (usb tethering) + // CATEGORY: SETTINGS + // OS: P + ACTION_USB_CONFIG_RNDIS = 1278; + + // ACTION: Usb config has been changed to midi + // CATEGORY: SETTINGS + // OS: P + ACTION_USB_CONFIG_MIDI = 1279; + + // ACTION: Usb config has been changed to accessory + // CATEGORY: SETTINGS + // OS: P + ACTION_USB_CONFIG_ACCESSORY = 1280; + // ---- End P Constants, all P constants go above this line ---- // Add new aosp constants above this line. // END OF AOSP CONSTANTS