1syntax = "proto2"; 2 3package com.android.dialer.logging; 4option java_package = "com.android.dialer.logging"; 5option java_multiple_files = true; 6option optimize_for = LITE_RUNTIME; 7 8message DialerImpression { 9 // Event enums to be used for Impression Logging in Dialer. 10 // It's perfectly acceptable for this enum to be large 11 // Values should be from 1000 to 100000. 12 // Next Tag:1191 13 enum Type { 14 15 UNKNOWN_AOSP_EVENT_TYPE = 1000; 16 17 // User opened the app 18 APP_LAUNCHED = 1001; 19 20 // User pressed the speaker phone button 21 IN_CALL_SCREEN_TURN_ON_SPEAKERPHONE = 1002; 22 23 // User pressed the speaker phone button again 24 IN_CALL_SCREEN_TURN_ON_WIRED_OR_EARPIECE = 1003; 25 26 // Number not identified as spam and the user tapped the block/report spam button in the 27 // call log 28 CALL_LOG_BLOCK_REPORT_SPAM = 1004; 29 30 // Number identified as spam and the user tapped on the block number call log item 31 CALL_LOG_BLOCK_NUMBER = 1005; 32 33 // User tapped on the unblock number in the call log 34 // This does not deal with whether the user reported this spam or not while initially blocking 35 // For that refer to REPORT_AS_NOT_SPAM_VIA_UNBLOCK_NUMBER. If the user had not reported it as 36 // spam they then have the option of directly unblocking the number, a success of which is 37 // logged in USER_ACTION_UNBLOCKED_NUMBER 38 CALL_LOG_UNBLOCK_NUMBER = 1006; 39 40 // Number was identified as spam, and the user tapped that it was not spam 41 CALL_LOG_REPORT_AS_NOT_SPAM = 1007; 42 43 // Confirmation dialog in which the user confirmed that the number was not spam 44 DIALOG_ACTION_CONFIRM_NUMBER_NOT_SPAM = 1008; 45 46 // User unblocked a number and also acknowledged that the number is not spam 47 // This happens when the user had initially blocked a number and also claimed the number was 48 // spam and had now proceeded to undo that. 49 REPORT_AS_NOT_SPAM_VIA_UNBLOCK_NUMBER = 1009 50 ; 51 52 // A number that was identified as spam and the user proceeded to block it. However this 53 // impression was to make sure that while blocking the number the user also acknowledged that 54 // they were going to be reporting this as spam. There is no option for the user in this case 55 // to not report it as spam and block it only. The only flow is: 56 // system identified number as spam -> user wants to block it -> confirmation dialog shows up 57 // asking user to acknowledge they want to block and report as spam -> user acknowledges and 58 // this is when this impression is sent 59 DIALOG_ACTION_CONFIRM_NUMBER_SPAM_INDIRECTLY_VIA_BLOCK_NUMBER = 1010; 60 61 // User reported the number as spam by tick marking on report spam when blocking 62 // the number via call log. This is for case where the user wants to block a number and also 63 // report it as spam 64 REPORT_CALL_AS_SPAM_VIA_CALL_LOG_BLOCK_REPORT_SPAM_SENT_VIA_BLOCK_NUMBER_DIALOG = 1011 65 ; 66 67 // User made it to the last step and actually blocked the number 68 USER_ACTION_BLOCKED_NUMBER = 1012 69 ; 70 71 // User made it to the last step and actually unblocked the number 72 USER_ACTION_UNBLOCKED_NUMBER = 1013; 73 74 // User blocked a number, does not guarantee if the number was reported as spam or not 75 // To compute the number of blocked numbers that were reported as not spam and yet blocked 76 // Subtract this value from SPAM_AFTER_CALL_NOTIFICATION_MARKED_NUMBER_AS_SPAM. It would be 77 // interesting to see how this value compares with 78 // SPAM_AFTER_CALL_NOTIFICATION_REPORT_NUMBER_AS_NOT_SPAM 79 SPAM_AFTER_CALL_NOTIFICATION_BLOCK_NUMBER = 1014; 80 81 // Displays the dialog for first time spam calls with actions "Not spam", "Block", and 82 // "Dismiss". 83 SPAM_AFTER_CALL_NOTIFICATION_SHOW_SPAM_DIALOG = 1015; 84 85 // Displays the dialog for the first time unknown calls with actions "Add contact", 86 // "Block/report spam", and "Dismiss". 87 SPAM_AFTER_CALL_NOTIFICATION_SHOW_NON_SPAM_DIALOG = 1016; 88 89 // User added the number to contacts from the after call notification 90 SPAM_AFTER_CALL_NOTIFICATION_ADD_TO_CONTACTS = 1019 91 ; 92 93 // User marked the number as spam on the after call notification flow 94 SPAM_AFTER_CALL_NOTIFICATION_MARKED_NUMBER_AS_SPAM = 1020 95 ; 96 97 SPAM_AFTER_CALL_NOTIFICATION_MARKED_NUMBER_AS_NOT_SPAM_AND_BLOCKED = 1021; 98 99 // User reported the number as not spam 100 SPAM_AFTER_CALL_NOTIFICATION_REPORT_NUMBER_AS_NOT_SPAM = 1022 101 ; 102 103 // User dismissed the spam notification 104 SPAM_AFTER_CALL_NOTIFICATION_ON_DISMISS_SPAM_DIALOG = 1024; 105 106 // User dismissed the non spam notification 107 SPAM_AFTER_CALL_NOTIFICATION_ON_DISMISS_NON_SPAM_DIALOG = 1025; 108 109 // From the service instead of an activity logs the number of times the number was marked as 110 // Spam by the user (e.g from the feedback prompt) 111 SPAM_NOTIFICATION_SERVICE_ACTION_MARK_NUMBER_AS_SPAM = 1026; 112 113 // From the service instead of an activity logs the number of times the number was marked as 114 // Not Spam by the user (e.g from the feedback prompt) 115 SPAM_NOTIFICATION_SERVICE_ACTION_MARK_NUMBER_AS_NOT_SPAM = 1027; 116 117 // User is in a active call i.e either incoming or outgoing 118 // This is mainly so we can assign an impression event to a call event i.e so that we may be 119 // able to stitch different types of events if they make sense e.g user pressed a speaker button 120 // and we want to associate that to a call event 121 USER_PARTICIPATED_IN_A_CALL = 1028 122 ; 123 124 // Incoming call is a spam call 125 INCOMING_SPAM_CALL = 1029; 126 127 // Incoming call is a non spam call 128 INCOMING_NON_SPAM_CALL = 1030; 129 130 // Spam notifications shown despite throttling 131 SPAM_NOTIFICATION_SHOWN_AFTER_THROTTLE = 1041; 132 133 // Spam notifications not shown due to throttling 134 SPAM_NOTIFICATION_NOT_SHOWN_AFTER_THROTTLE = 1042; 135 136 // Non spam notifications shown despite throttling 137 NON_SPAM_NOTIFICATION_SHOWN_AFTER_THROTTLE = 1043; 138 139 // Non spam notifications not shown due to throttling 140 NON_SPAM_NOTIFICATION_NOT_SHOWN_AFTER_THROTTLE = 1044; 141 142 // Voicemail status has updated in the voicemail tab and the change PIN 143 // prompt is shown. 144 VOICEMAIL_ALERT_SET_PIN_SHOWN = 1045; 145 146 // User has clicked the change PIN action in the voicemail tab 147 VOICEMAIL_ALERT_SET_PIN_CLICKED = 1046; 148 149 // User was not able to or did not participate in the call e.g missed calls, rejected calls 150 USER_DID_NOT_PARTICIPATE_IN_CALL = 1047; 151 152 // User deleted a call log entry 153 USER_DELETED_CALL_LOG_ITEM = 1048 154 ; 155 156 // User tapped on "Send a message" 157 CALL_LOG_SEND_MESSAGE = 1049 158 ; 159 160 // User tapped on "Add to contact" 161 CALL_LOG_ADD_TO_CONTACT = 1050 162 ; 163 164 // User tapped on "Create new contact" 165 CALL_LOG_CREATE_NEW_CONTACT = 1051 166 ; 167 168 // User deleted an entry from the voicemail tab 169 VOICEMAIL_DELETE_ENTRY = 1052 170 ; 171 172 // Voicemail call log entry was expanded. Could be either if the user tapped the voicemail 173 // call log entry or pressed the play button when the voicemail call log entry was not expanded 174 VOICEMAIL_EXPAND_ENTRY = 1053 175 ; 176 177 // The play button for voicemail call log entry was tapped directly (i.e when the voicemail 178 // call log entry was not expanded and the playbutton was tapped) 179 VOICEMAIL_PLAY_AUDIO_DIRECTLY= 1054 180 ; 181 182 // The play button after expanding the voicemail call log entry was tapped 183 VOICEMAIL_PLAY_AUDIO_AFTER_EXPANDING_ENTRY= 1055 184 ; 185 186 // Incoming call was rejected from the notifications 187 REJECT_INCOMING_CALL_FROM_NOTIFICATION= 1056 188 ; 189 190 // Incoming call was rejected from the answer screen including rejecting via sms and talkback 191 REJECT_INCOMING_CALL_FROM_ANSWER_SCREEN= 1057 192 ; 193 194 // User tapped block and spam buttons in context menu, same as buttons in 195 // call log drop down 196 // menu (See 1004-1007). 197 CALL_LOG_CONTEXT_MENU_BLOCK_REPORT_SPAM = 1058; 198 CALL_LOG_CONTEXT_MENU_BLOCK_NUMBER = 1059; 199 CALL_LOG_CONTEXT_MENU_UNBLOCK_NUMBER = 1060; 200 CALL_LOG_CONTEXT_MENU_REPORT_AS_NOT_SPAM = 1061; 201 202 NEW_CONTACT_OVERFLOW = 1062; 203 NEW_CONTACT_FAB = 1063; 204 205 // The ToS is shown the user 206 VOICEMAIL_VVM3_TOS_SHOWN = 1064; 207 208 // The user has accepted the ToS 209 VOICEMAIL_VVM3_TOS_ACCEPTED = 1065; 210 211 // The user has went through the decline ToS dialog and VVM is disabled 212 VOICEMAIL_VVM3_TOS_DECLINED = 1066; 213 214 // The user has clicked the decline ToS button, and a conformation dialog 215 // was shown 216 VOICEMAIL_VVM3_TOS_DECLINE_CLICKED = 1067; 217 218 // The use has clicked the decline ToS button but the PIN has been 219 // randomized. A dialog to instruct the user to set the PIN has been shown 220 VOICEMAIL_VVM3_TOS_DECLINE_CHANGE_PIN_SHOWN = 1068; 221 222 // The user does not have a permission and are presented with a 223 // non-framework UI to request permission. 224 STORAGE_PERMISSION_DISPLAYED = 1069; 225 CAMERA_PERMISSION_DISPLAYED = 1074; 226 227 // The user is being shown the Android framework UI to request a permission. 228 STORAGE_PERMISSION_REQUESTED = 1070; 229 CAMERA_PERMISSION_REQUESTED = 1075; 230 231 // The user has permenantly denied a permission, so the user is being 232 // sent to dialer settings to grant permission. 233 STORAGE_PERMISSION_SETTINGS = 1071; 234 CAMERA_PERMISSION_SETTINGS = 1076; 235 236 // The user granted a permission. 237 STORAGE_PERMISSION_GRANTED = 1072; 238 CAMERA_PERMISSION_GRANTED = 1077; 239 240 // The user denied a permission. 241 STORAGE_PERMISSION_DENIED = 1073; 242 CAMERA_PERMISSION_DENIED = 1078; 243 244 // Voicemail config corruption is detected when in dialtacts activity. 245 VOICEMAIL_CONFIGURATION_STATE_CORRUPTION_DETECTED_FROM_ACTIVITY = 1079; 246 // Voicemail config corruption is detected when a new voicemail notification 247 // has arrived. 248 VOICEMAIL_CONFIGURATION_STATE_CORRUPTION_DETECTED_FROM_NOTIFICATION = 1080; 249 250 // Android Auto Backup and Restore (Dolly) 251 BACKUP_ON_BACKUP = 1081; 252 BACKUP_ON_FULL_BACKUP = 1082; 253 BACKUP_ON_BACKUP_DISABLED = 1083; 254 BACKUP_VOICEMAIL_BACKED_UP = 1084; 255 BACKUP_FULL_BACKED_UP = 1085; 256 BACKUP_ON_BACKUP_JSON_EXCEPTION = 1086; 257 258 BACKUP_ON_QUOTA_EXCEEDED = 1087; 259 260 BACKUP_ON_RESTORE = 1088; 261 BACKUP_RESTORED_FILE = 1089; 262 BACKUP_RESTORED_VOICEMAIL = 1090; 263 BACKUP_ON_RESTORE_FINISHED = 1091; 264 BACKUP_ON_RESTORE_DISABLED = 1092; 265 BACKUP_ON_RESTORE_JSON_EXCEPTION = 1093; 266 BACKUP_ON_RESTORE_IO_EXCEPTION = 1094; 267 268 BACKUP_MAX_VM_BACKUP_REACHED = 1095; 269 270 EVENT_ANSWER_HINT_ACTIVATED = 1096; 271 EVENT_ANSWER_HINT_DEACTIVATED = 1097; 272 273 VVM_TAB_VIEWED = 1098; 274 275 VVM_SHARE_VISIBLE = 1099; 276 VVM_SHARE_PRESSED = 1100; 277 278 OUTGOING_VIDEO_CALL = 1101; 279 INCOMING_VIDEO_CALL = 1102; 280 USER_PARTICIPATED_IN_A_VIDEO_CALL = 1103; 281 282 BACKUP_ON_RESTORE_VM_DUPLICATE_NOT_RESTORING = 1104; 283 284 // User tapped the 'Share and call' button to start the call composer 285 CALL_LOG_SHARE_AND_CALL = 1105; 286 CALL_COMPOSER_ACTIVITY_PLACE_RCS_CALL = 1106; 287 CALL_COMPOSER_ACTIVITY_SEND_AND_CALL_PRESSED_WHEN_SESSION_NOT_READY = 1107; 288 289 POST_CALL_PROMPT_USER_TO_SEND_MESSAGE_CLICKED = 1108; 290 POST_CALL_PROMPT_USER_TO_SEND_MESSAGE = 1109; 291 POST_CALL_PROMPT_USER_TO_VIEW_SENT_MESSAGE = 1110; 292 POST_CALL_PROMPT_USER_TO_VIEW_SENT_MESSAGE_CLICKED = 1111; 293 294 IN_CALL_SCREEN_TURN_ON_MUTE = 1112; 295 IN_CALL_SCREEN_TURN_OFF_MUTE = 1113; 296 IN_CALL_SCREEN_SWAP_CAMERA = 1114; 297 IN_CALL_SCREEN_TURN_ON_VIDEO = 1115; 298 IN_CALL_SCREEN_TURN_OFF_VIDEO = 1116; 299 300 VIDEO_CALL_WITH_INCOMING_VOICE_CALL = 1117; 301 VIDEO_CALL_WITH_INCOMING_VIDEO_CALL = 1118; 302 VOICE_CALL_WITH_INCOMING_VOICE_CALL = 1119; 303 VOICE_CALL_WITH_INCOMING_VIDEO_CALL = 1120; 304 305 CALL_DETAILS_COPY_NUMBER = 1121; 306 CALL_DETAILS_EDIT_BEFORE_CALL = 1122; 307 CALL_DETAILS_CALL_BACK = 1123; 308 309 VVM_USER_DISMISSED_VM_ALMOST_FULL_PROMO = 1124; 310 VVM_USER_DISMISSED_VM_FULL_PROMO = 1125; 311 VVM_USER_ENABLED_ARCHIVE_FROM_VM_ALMOST_FULL_PROMO = 1126; 312 VVM_USER_ENABLED_ARCHIVE_FROM_VM_FULL_PROMO = 1127; 313 VVM_USER_SHOWN_VM_ALMOST_FULL_PROMO = 1128; 314 VVM_USER_SHOWN_VM_FULL_PROMO = 1129; 315 VVM_USER_SHOWN_VM_ALMOST_FULL_ERROR_MESSAGE = 1130; 316 VVM_USER_SHOWN_VM_FULL_ERROR_MESSAGE = 1131; 317 VVM_USER_TURNED_ARCHIVE_ON_FROM_SETTINGS = 1132; 318 VVM_USER_TURNED_ARCHIVE_OFF_FROM_SETTINGS = 1133; 319 VVM_ARCHIVE_AUTO_DELETED_VM_FROM_SERVER = 1134; 320 VVM_ARCHIVE_AUTO_DELETE_TURNED_OFF = 1135; 321 322 VVM_TAB_VISIBLE = 1136; 323 VVM_UNBUNDLED_EVENT_RECEIVED = 1137; 324 VVM_ACTIVATION_STARTED = 1138; 325 VVM_ACTIVATION_COMPLETED = 1139; 326 VVM_AUTO_RETRY_ACTIVATION = 1140; 327 VVM_PROVISIONING_STARTED = 1141; 328 VVM_PROVISIONING_COMPLETED = 1142; 329 VVM_SYNC_STARTED = 1143; 330 VVM_SYNC_COMPLETED = 1144; 331 VVM_AUTO_RETRY_SYNC = 1145; 332 VVM_USER_RETRY = 1146; 333 VVM_USER_SYNC = 1147; 334 VVM_SETTINGS_VIEWED = 1148; 335 VVM_CHANGE_PIN_CLICKED = 1149; 336 VVM_CHANGE_PIN_COMPLETED = 1150; 337 VVM_CHANGE_RINGTONE_CLICKED = 1151; 338 VVM_CHANGE_VIBRATION_CLICKED = 1152; 339 VVM_USER_ENABLED_IN_SETTINGS = 1153; 340 VVM_USER_DISABLED_IN_SETTINGS = 1154; 341 VVM_ADVANCED_SETINGS_CLICKED = 1155; 342 VVM_NOTIFICATION_CLICKED = 1156; 343 VVM_NOTIFICATION_CREATED = 1157; 344 VVM_NOTIFICATION_CREATED_WITH_TRANSCRIPTION = 1158; 345 VVM_TRANSCRIPTION_DOWNLOADED = 1159; 346 VVM_CHANGE_AIRPLANE_MODE_CLICKED = 1160; 347 VVM_CALL_VOICEMAIL_CLICKED = 1161; 348 VVM_QUOTA_CHECK_UNAVAILABLE = 1162; 349 350 // Emergency location impressions 351 EMERGENCY_NEW_EMERGENCY_CALL = 1163; 352 EMERGENCY_CALLBACK = 1164; 353 EMERGENCY_NO_LOCATION_PERMISSION = 1165; 354 EMERGENCY_BATTERY_TOO_LOW_TO_GET_LOCATION = 1166; 355 EMERGENCY_CANT_GET_LOCATION = 1167; 356 EMERGENCY_STALE_LOCATION = 1168; 357 EMERGENCY_INACCURATE_LOCATION = 1169; 358 EMERGENCY_GOT_LOCATION = 1170; 359 EMERGENCY_GOT_ADDRESS = 1171; 360 EMERGENCY_GOT_MAP = 1172; 361 EMERGENCY_LAUNCHED_MAP = 1173; 362 363 VIDEO_CALL_UPGRADE_REQUESTED = 1174 364 ; 365 VIDEO_CALL_REQUEST_ACCEPTED = 1175 366 ; 367 VIDEO_CALL_REQUEST_ACCEPTED_AS_AUDIO = 1176 368 ; 369 VIDEO_CALL_REQUEST_DECLINED = 1177 370 ; 371 VIDEO_CALL_REQUEST_RECEIVED = 1178 372 ; 373 374 RCS_VIDEO_SHARE_UPGRADE_REQUESTED = 1179; 375 RCS_VIDEO_SHARE_REQUEST_ACCEPTED = 1180; 376 RCS_VIDEO_SHARE_REQUEST_DECLINED = 1181; 377 RCS_VIDEO_SHARE_REQUEST_RECEIVED = 1182; 378 379 IMS_VIDEO_UPGRADE_REQUESTED = 1183; 380 IMS_VIDEO_REQUEST_ACCEPTED = 1184; 381 IMS_VIDEO_REQUEST_ACCEPTED_AS_AUDIO = 1185; 382 IMS_VIDEO_REQUEST_DECLINED = 1186; 383 IMS_VIDEO_REQUEST_RECEIVED = 1187; 384 385 VVM_STATUS_CHECK_READY = 1188; 386 VVM_STATUS_CHECK_REACTIVATION = 1189; 387 388 VVM_ARCHIVE_AUTO_DELETE_FAILED_DUE_TO_FAILED_QUOTA_CHECK = 1190; 389 } 390} 391