diff options
author | yueg <yueg@google.com> | 2018-03-06 15:23:24 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-06 16:52:45 -0800 |
commit | a05ee285f99e06efa130453eac12f02161cd3a64 (patch) | |
tree | 6a6a18330fbe24c7335d16318d800c1e986290e3 /java/com/android/dialer/logging | |
parent | 43b6a3ffe8953ec4efba356f863aabbcddcc3b45 (diff) |
NUI logging
- Add screen events for 4 tabs, dialpad and search.
- Add impressions for opening MainActivity with tabs/dialpad (non user tab selection).
- Add impression for VVM visible.
Bug: 72525843
Test: MainActivityOldPeerTest, MainSearchControllerTest
PiperOrigin-RevId: 188090249
Change-Id: Ifdf3519f07d7230f20b5d82691a96747b1944d63
Diffstat (limited to 'java/com/android/dialer/logging')
-rw-r--r-- | java/com/android/dialer/logging/dialer_impression.proto | 13 | ||||
-rw-r--r-- | java/com/android/dialer/logging/screen_event.proto | 7 |
2 files changed, 18 insertions, 2 deletions
diff --git a/java/com/android/dialer/logging/dialer_impression.proto b/java/com/android/dialer/logging/dialer_impression.proto index 80249f464..8af807fd7 100644 --- a/java/com/android/dialer/logging/dialer_impression.proto +++ b/java/com/android/dialer/logging/dialer_impression.proto @@ -12,7 +12,7 @@ message DialerImpression { // Event enums to be used for Impression Logging in Dialer. // It's perfectly acceptable for this enum to be large // Values should be from 1000 to 100000. - // Next Tag: 1346 + // Next Tag: 1352 enum Type { UNKNOWN_AOSP_EVENT_TYPE = 1000; @@ -658,7 +658,7 @@ message DialerImpression { DUO_CALL_LOG_SET_UP_ACTIVATE_SHOWN = 1325; DUO_CALL_LOG_INVITE_SHOWN = 1326; - // NUI bottom navigation bar + // NUI bottom navigation bar user actions MAIN_SWITCH_TAB_TO_FAVORITE = 1327; MAIN_SWITCH_TAB_TO_CALL_LOG = 1328; MAIN_SWITCH_TAB_TO_CONTACTS = 1329; @@ -686,5 +686,14 @@ message DialerImpression { ANNOTATED_CALL_LOG_CHANGES_NEEDED = 1344; // The call log was force refreshed and changes were needed. ANNOTATED_CALL_LOG_FORCE_REFRESH_CHANGES_NEEDED = 1345; + + MAIN_VVM_TAB_VISIBLE = 1346; + + // Main bottom navigation bar non user actions + MAIN_OPEN_WITH_TAB_FAVORITE = 1347; + MAIN_OPEN_WITH_TAB_CALL_LOG = 1348; + MAIN_OPEN_WITH_TAB_CONTACTS = 1349; + MAIN_OPEN_WITH_TAB_VOICEMAIL = 1350; + MAIN_OPEN_WITH_DIALPAD = 1351; } } diff --git a/java/com/android/dialer/logging/screen_event.proto b/java/com/android/dialer/logging/screen_event.proto index 603f7104e..f4d073579 100644 --- a/java/com/android/dialer/logging/screen_event.proto +++ b/java/com/android/dialer/logging/screen_event.proto @@ -69,5 +69,12 @@ message ScreenEvent { BLOCKED_NUMBER_ADD_NUMBER = 19; CALL_DETAILS = 20; + + MAIN_SPEED_DIAL = 21; + MAIN_CALL_LOG = 22; + MAIN_CONTACTS = 23; + MAIN_VOICEMAIL = 24; + MAIN_DIALPAD = 25; + MAIN_SEARCH = 26; } } |