From b9a9a2f2240549b3d7606a6de6d525ce05e42e4b Mon Sep 17 00:00:00 2001 From: Shaotang Li Date: Wed, 4 Jul 2018 14:03:25 +0800 Subject: [PATCH] Add new metrics constants for emergency dialer Bug: 111378820 Test: build Change-Id: I2eb6965238e37435bb380fb4a0e616bd1da6dae6 Merged-In: I2eb6965238e37435bb380fb4a0e616bd1da6dae6 --- proto/src/metrics_constants.proto | 54 +++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/proto/src/metrics_constants.proto b/proto/src/metrics_constants.proto index 4328d94275e9e..16585efe92afe 100644 --- a/proto/src/metrics_constants.proto +++ b/proto/src/metrics_constants.proto @@ -6117,6 +6117,60 @@ message MetricsEvent { FIELD_AUTOFILL_SESSION_ID = 1456; // ---- End P Constants, all P constants go above this line ---- + + // OPEN: Emergency dialer opened + // CLOSE: Emergency dialer closed + // SUBTYPE: The entry type that user opened emergency dialer + // CATEGORY: EMERGENCY_DIALER + // OS: Q + EMERGENCY_DIALER = 1558; + + // FIELD: The screen is currently locked + // CATEGORY: EMERGENCY_DIALER + // OS: Q + FIELD_EMERGENCY_DIALER_IS_SCREEN_LOCKED = 1559; + + // FIELD: Bit flag indicating the actions performed by user + // CATEGORY: EMERGENCY_DIALER + // OS: Q + FIELD_EMERGENCY_DIALER_USER_ACTIONS = 1560; + + // FIELD: The duration user stayed at emergency dialer + // CATEGORY: EMERGENCY_DIALER + // OS: Q + FIELD_EMERGENCY_DIALER_DURATION_MS = 1561; + + // ACTION: Making call via emergency dialer + // SUBTYPE: The UI that user made phone call + // CATEGORY: EMERGENCY_DIALER + // OS: Q + EMERGENCY_DIALER_MAKE_CALL = 1562; + + // FIELD: The phone number type of a call user made + // CATEGORY: EMERGENCY_DIALER + // OS: Q + FIELD_EMERGENCY_DIALER_PHONE_NUMBER_TYPE = 1563; + + // FIELD: There is a shortcut for the phone number + // CATEGORY: EMERGENCY_DIALER + // OS: Q + FIELD_EMERGENCY_DIALER_PHONE_NUMBER_HAS_SHORTCUT = 1564; + + // FIELD: The phone is in pocket while using emergency dialer + // CATEGORY: EMERGENCY_DIALER + // OS: Q + FIELD_EMERGENCY_DIALER_IN_POCKET = 1565; + + // ACTION: The second tap on emergency shortcut to make a phone call + // CATEGORY: EMERGENCY_DIALER + // OS: Q + EMERGENCY_DIALER_SHORTCUT_CONFIRM_TAP = 1566; + + // FIELD: The time in milliseconds of second tap on shortcut since first tap + // CATEGORY: EMERGENCY_DIALER + // OS: Q + FIELD_EMERGENCY_DIALER_SHORTCUT_TAPS_INTERVAL = 1567; + // Add new aosp constants above this line. // END OF AOSP CONSTANTS }