Chris Wren | 77781d3 | 2016-01-11 14:49:26 -0500 | [diff] [blame] | 1 | // Copyright (C) 2016 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | syntax = "proto2"; |
| 16 | |
| 17 | option java_package = "com.android.internal.logging"; |
| 18 | option java_outer_classname = "MetricsProto"; |
| 19 | |
| 20 | package com_android_internal_logging; |
| 21 | |
| 22 | // Wrapper for System UI log events |
| 23 | message MetricsEvent { |
| 24 | |
| 25 | // Known visual elements: views or controls. |
| 26 | enum View { |
| 27 | VIEW_UNKNOWN = 0; |
| 28 | MAIN_SETTINGS = 1; |
| 29 | ACCESSIBILITY = 2; |
| 30 | ACCESSIBILITY_CAPTION_PROPERTIES = 3; |
| 31 | ACCESSIBILITY_SERVICE = 4; |
| 32 | ACCESSIBILITY_TOGGLE_DALTONIZER = 5; |
| 33 | ACCESSIBILITY_TOGGLE_GLOBAL_GESTURE = 6; |
| 34 | ACCESSIBILITY_TOGGLE_SCREEN_MAGNIFICATION = 7; |
| 35 | ACCOUNT = 8; |
| 36 | ACCOUNTS_ACCOUNT_SYNC = 9; |
| 37 | ACCOUNTS_CHOOSE_ACCOUNT_ACTIVITY = 10; |
| 38 | ACCOUNTS_MANAGE_ACCOUNTS = 11; |
| 39 | APN = 12; |
| 40 | APN_EDITOR = 13; |
| 41 | APP_OPS_DETAILS = 14; |
| 42 | APP_OPS_SUMMARY = 15; |
| 43 | APPLICATION = 16; |
| 44 | APPLICATIONS_APP_LAUNCH = 17; |
| 45 | APPLICATIONS_APP_PERMISSION = 18; |
| 46 | APPLICATIONS_APP_STORAGE = 19; |
| 47 | APPLICATIONS_INSTALLED_APP_DETAILS = 20; |
| 48 | APPLICATIONS_PROCESS_STATS_DETAIL = 21; |
| 49 | APPLICATIONS_PROCESS_STATS_MEM_DETAIL = 22; |
| 50 | APPLICATIONS_PROCESS_STATS_UI = 23; |
| 51 | BLUETOOTH = 24; |
| 52 | BLUETOOTH_DEVICE_PICKER = 25; |
| 53 | BLUETOOTH_DEVICE_PROFILES = 26; |
| 54 | CHOOSE_LOCK_GENERIC = 27; |
| 55 | CHOOSE_LOCK_PASSWORD = 28; |
| 56 | CHOOSE_LOCK_PATTERN = 29; |
| 57 | CONFIRM_LOCK_PASSWORD = 30; |
| 58 | CONFIRM_LOCK_PATTERN = 31; |
| 59 | CRYPT_KEEPER = 32; |
| 60 | CRYPT_KEEPER_CONFIRM = 33; |
| 61 | DASHBOARD_SEARCH_RESULTS = 34; |
| 62 | DASHBOARD_SUMMARY = 35; |
| 63 | DATA_USAGE = 36; |
| 64 | DATA_USAGE_SUMMARY = 37; |
| 65 | DATE_TIME = 38; |
| 66 | DEVELOPMENT = 39; |
| 67 | DEVICEINFO = 40; |
| 68 | DEVICEINFO_IMEI_INFORMATION = 41; |
| 69 | DEVICEINFO_STORAGE = 42; |
| 70 | DEVICEINFO_SIM_STATUS = 43; |
| 71 | DEVICEINFO_STATUS = 44; |
| 72 | DEVICEINFO_USB = 45; |
| 73 | DISPLAY = 46; |
| 74 | DREAM = 47; |
| 75 | ENCRYPTION = 48; |
| 76 | FINGERPRINT = 49; |
| 77 | FINGERPRINT_ENROLL = 50; |
| 78 | FUELGAUGE_BATTERY_HISTORY_DETAIL = 51; |
| 79 | FUELGAUGE_BATTERY_SAVER = 52; |
| 80 | FUELGAUGE_POWER_USAGE_DETAIL = 53; |
| 81 | FUELGAUGE_POWER_USAGE_SUMMARY = 54; |
| 82 | HOME = 55; |
| 83 | ICC_LOCK = 56; |
| 84 | INPUTMETHOD_LANGUAGE = 57; |
| 85 | INPUTMETHOD_KEYBOARD = 58; |
| 86 | INPUTMETHOD_SPELL_CHECKERS = 59; |
| 87 | INPUTMETHOD_SUBTYPE_ENABLER = 60; |
| 88 | INPUTMETHOD_USER_DICTIONARY = 61; |
| 89 | INPUTMETHOD_USER_DICTIONARY_ADD_WORD = 62; |
| 90 | LOCATION = 63; |
| 91 | LOCATION_MODE = 64; |
| 92 | MANAGE_APPLICATIONS = 65; |
| 93 | MASTER_CLEAR = 66; |
| 94 | MASTER_CLEAR_CONFIRM = 67; |
| 95 | NET_DATA_USAGE_METERED = 68; |
| 96 | NFC_BEAM = 69; |
| 97 | NFC_PAYMENT = 70; |
| 98 | NOTIFICATION = 71; |
| 99 | NOTIFICATION_APP_NOTIFICATION = 72; |
| 100 | NOTIFICATION_OTHER_SOUND = 73; |
| 101 | NOTIFICATION_REDACTION = 74; |
| 102 | NOTIFICATION_STATION = 75; |
| 103 | NOTIFICATION_ZEN_MODE = 76; |
| 104 | OWNER_INFO = 77; |
| 105 | PRINT_JOB_SETTINGS = 78; |
| 106 | PRINT_SERVICE_SETTINGS = 79; |
| 107 | PRINT_SETTINGS = 80; |
| 108 | PRIVACY = 81; |
| 109 | PROXY_SELECTOR = 82; |
| 110 | RESET_NETWORK = 83; |
| 111 | RESET_NETWORK_CONFIRM = 84; |
| 112 | RUNNING_SERVICE_DETAILS = 85; |
| 113 | SCREEN_PINNING = 86; |
| 114 | SECURITY = 87; |
| 115 | SIM = 88; |
| 116 | TESTING = 89; |
| 117 | TETHER = 90; |
| 118 | TRUST_AGENT = 91; |
| 119 | TRUSTED_CREDENTIALS = 92; |
| 120 | TTS_ENGINE_SETTINGS = 93; |
| 121 | TTS_TEXT_TO_SPEECH = 94; |
| 122 | USAGE_ACCESS = 95; |
| 123 | USER = 96; |
| 124 | USERS_APP_RESTRICTIONS = 97; |
| 125 | USER_DETAILS = 98; |
| 126 | VOICE_INPUT = 99; |
| 127 | VPN = 100; |
| 128 | WALLPAPER_TYPE = 101; |
| 129 | WFD_WIFI_DISPLAY = 102; |
| 130 | WIFI = 103; |
| 131 | WIFI_ADVANCED = 104; |
| 132 | WIFI_CALLING = 105; |
| 133 | WIFI_SAVED_ACCESS_POINTS = 106; |
| 134 | WIFI_APITEST = 107; |
| 135 | WIFI_INFO = 108; |
| 136 | WIFI_P2P = 109; |
| 137 | WIRELESS = 110; |
| 138 | QS_PANEL = 111; |
| 139 | QS_AIRPLANEMODE = 112; |
| 140 | QS_BLUETOOTH = 113; |
| 141 | QS_CAST = 114; |
| 142 | QS_CELLULAR = 115; |
| 143 | QS_COLORINVERSION = 116; |
| 144 | QS_DATAUSAGEDETAIL = 117; |
| 145 | QS_DND = 118; |
| 146 | QS_FLASHLIGHT = 119; |
| 147 | QS_HOTSPOT = 120; |
| 148 | QS_INTENT = 121; |
| 149 | QS_LOCATION = 122; |
| 150 | QS_ROTATIONLOCK = 123; |
| 151 | QS_USERDETAILITE = 124; |
| 152 | QS_USERDETAIL = 125; |
| 153 | QS_WIFI = 126; |
| 154 | NOTIFICATION_PANEL = 127; |
| 155 | NOTIFICATION_ITEM = 128; |
| 156 | NOTIFICATION_ITEM_ACTION = 129; |
| 157 | APPLICATIONS_ADVANCED = 130; |
| 158 | LOCATION_SCANNING = 131; |
| 159 | MANAGE_APPLICATIONS_ALL = 132; |
| 160 | MANAGE_APPLICATIONS_NOTIFICATIONS = 133; |
| 161 | ACTION_WIFI_ADD_NETWORK = 134; |
| 162 | ACTION_WIFI_CONNECT = 135; |
| 163 | ACTION_WIFI_FORCE_SCAN = 136; |
| 164 | ACTION_WIFI_FORGET = 137; |
| 165 | ACTION_WIFI_OFF = 138; |
| 166 | ACTION_WIFI_ON = 139; |
| 167 | MANAGE_PERMISSIONS = 140; |
| 168 | NOTIFICATION_ZEN_MODE_PRIORITY = 141; |
| 169 | NOTIFICATION_ZEN_MODE_AUTOMATION = 142; |
| 170 | MANAGE_DOMAIN_URLS = 143; |
| 171 | NOTIFICATION_ZEN_MODE_SCHEDULE_RULE = 144; |
| 172 | NOTIFICATION_ZEN_MODE_EXTERNAL_RULE = 145; |
| 173 | NOTIFICATION_ZEN_MODE_EVENT_RULE = 146; |
| 174 | ACTION_BAN_APP_NOTES = 147; |
| 175 | ACTION_DISMISS_ALL_NOTES = 148; |
| 176 | QS_DND_DETAILS = 149; |
| 177 | QS_BLUETOOTH_DETAILS = 150; |
| 178 | QS_CAST_DETAILS = 151; |
| 179 | QS_WIFI_DETAILS = 152; |
| 180 | QS_WIFI_TOGGLE = 153; |
| 181 | QS_BLUETOOTH_TOGGLE = 154; |
| 182 | QS_CELLULAR_TOGGLE = 155; |
| 183 | QS_SWITCH_USER = 156; |
| 184 | QS_CAST_SELECT = 157; |
| 185 | QS_CAST_DISCONNECT = 158; |
| 186 | ACTION_BLUETOOTH_TOGGLE = 159; |
| 187 | ACTION_BLUETOOTH_SCAN = 160; |
| 188 | ACTION_BLUETOOTH_RENAME = 161; |
| 189 | ACTION_BLUETOOTH_FILES = 162; |
| 190 | QS_DND_TIME = 163; |
| 191 | QS_DND_CONDITION_SELECT = 164; |
| 192 | QS_DND_ZEN_SELECT = 165; |
| 193 | QS_DND_TOGGLE = 166; |
| 194 | ACTION_ZEN_ALLOW_REMINDERS = 167; |
| 195 | ACTION_ZEN_ALLOW_EVENTS = 168; |
| 196 | ACTION_ZEN_ALLOW_MESSAGES = 169; |
| 197 | ACTION_ZEN_ALLOW_CALLS = 170; |
| 198 | ACTION_ZEN_ALLOW_REPEAT_CALLS = 171; |
| 199 | ACTION_ZEN_ADD_RULE = 172; |
| 200 | ACTION_ZEN_ADD_RULE_OK = 173; |
| 201 | ACTION_ZEN_DELETE_RULE = 174; |
| 202 | ACTION_ZEN_DELETE_RULE_OK = 175; |
| 203 | ACTION_ZEN_ENABLE_RULE = 176; |
| 204 | ACTION_AIRPLANE_TOGGLE = 177; |
| 205 | ACTION_CELL_DATA_TOGGLE = 178; |
| 206 | NOTIFICATION_ACCESS = 179; |
| 207 | NOTIFICATION_ZEN_MODE_ACCESS = 180; |
| 208 | APPLICATIONS_DEFAULT_APPS = 181; |
| 209 | APPLICATIONS_STORAGE_APPS = 182; |
| 210 | APPLICATIONS_USAGE_ACCESS_DETAIL = 183; |
| 211 | APPLICATIONS_HIGH_POWER_APPS = 184; |
| 212 | FUELGAUGE_HIGH_POWER_DETAILS = 185; |
| 213 | ACTION_LS_UNLOCK = 186; |
| 214 | ACTION_LS_SHADE = 187; |
| 215 | ACTION_LS_HINT = 188; |
| 216 | ACTION_LS_CAMERA = 189; |
| 217 | ACTION_LS_DIALER = 190; |
| 218 | ACTION_LS_LOCK = 191; |
| 219 | ACTION_LS_NOTE = 192; |
| 220 | ACTION_LS_QS = 193; |
| 221 | ACTION_SHADE_QS_PULL = 194; |
| 222 | ACTION_SHADE_QS_TAP = 195; |
| 223 | LOCKSCREEN = 196; |
| 224 | BOUNCER = 197; |
| 225 | SCREEN = 198; |
| 226 | NOTIFICATION_ALERT = 199; |
| 227 | ACTION_EMERGENCY_CALL = 200; |
| 228 | APPLICATIONS_MANAGE_ASSIST = 201; |
| 229 | PROCESS_STATS_SUMMARY = 202; |
| 230 | ACTION_ROTATION_LOCK = 203; |
| 231 | ACTION_NOTE_CONTROLS = 204; |
| 232 | ACTION_NOTE_INFO = 205; |
| 233 | ACTION_APP_NOTE_SETTINGS = 206; |
| 234 | VOLUME_DIALOG = 207; |
| 235 | VOLUME_DIALOG_DETAILS = 208; |
| 236 | ACTION_VOLUME_SLIDER = 209; |
| 237 | ACTION_VOLUME_STREAM = 210; |
| 238 | ACTION_VOLUME_KEY = 211; |
| 239 | ACTION_VOLUME_ICON = 212; |
| 240 | ACTION_RINGER_MODE = 213; |
| 241 | ACTION_ACTIVITY_CHOOSER_SHOWN = 214; |
| 242 | ACTION_ACTIVITY_CHOOSER_PICKED_APP_TARGET = 215; |
| 243 | ACTION_ACTIVITY_CHOOSER_PICKED_SERVICE_TARGET = 216; |
| 244 | ACTION_ACTIVITY_CHOOSER_PICKED_STANDARD_TARGET = 217; |
| 245 | ACTION_BRIGHTNESS = 218; |
| 246 | ACTION_BRIGHTNESS_AUTO = 219; |
| 247 | BRIGHTNESS_DIALOG = 220; |
| 248 | SYSTEM_ALERT_WINDOW_APPS = 221; |
| 249 | DREAMING = 222; |
| 250 | DOZING = 223; |
| 251 | OVERVIEW_ACTIVITY = 224; |
| 252 | ABOUT_LEGAL_SETTINGS = 225; |
| 253 | ACTION_SEARCH_RESULTS = 226; |
| 254 | TUNER = 227; |
| 255 | TUNER_QS = 228; |
| 256 | TUNER_DEMO_MODE = 229; |
| 257 | TUNER_QS_REORDER = 230; |
| 258 | TUNER_QS_ADD = 231; |
| 259 | TUNER_QS_REMOVE = 232; |
| 260 | TUNER_STATUS_BAR_ENABLE = 233; |
| 261 | TUNER_STATUS_BAR_DISABLE = 234; |
| 262 | TUNER_DEMO_MODE_ENABLED = 235; |
| 263 | TUNER_DEMO_MODE_ON = 236; |
| 264 | TUNER_BATTERY_PERCENTAGE = 237; |
| 265 | FUELGAUGE_INACTIVE_APPS = 238; |
| 266 | ACTION_ASSIST_LONG_PRESS = 239; |
| 267 | FINGERPRINT_ENROLLING = 240; |
| 268 | FINGERPRINT_FIND_SENSOR = 241; |
| 269 | FINGERPRINT_ENROLL_FINISH = 242; |
| 270 | FINGERPRINT_ENROLL_INTRO = 243; |
| 271 | FINGERPRINT_ENROLL_ONBOARD = 244; |
| 272 | FINGERPRINT_ENROLL_SIDECAR = 245; |
| 273 | FINGERPRINT_ENROLLING_SETUP = 246; |
| 274 | FINGERPRINT_FIND_SENSOR_SETUP = 247; |
| 275 | FINGERPRINT_ENROLL_FINISH_SETUP = 248; |
| 276 | FINGERPRINT_ENROLL_INTRO_SETUP = 249; |
| 277 | FINGERPRINT_ENROLL_ONBOARD_SETUP = 250; |
| 278 | ACTION_FINGERPRINT_ENROLL = 251; |
| 279 | ACTION_FINGERPRINT_AUTH = 252; |
| 280 | ACTION_FINGERPRINT_DELETE = 253; |
| 281 | ACTION_FINGERPRINT_RENAME = 254; |
| 282 | ACTION_DOUBLE_TAP_POWER_CAMERA_GESTURE = 255; |
| 283 | ACTION_WIGGLE_CAMERA_GESTURE = 256; |
| 284 | QS_WORKMODE = 257; |
| 285 | BACKGROUND_CHECK_SUMMARY = 258; |
| 286 | QS_LOCK_TILE = 259; |
| 287 | QS_USER_TILE = 260; |
| 288 | QS_BATTERY_TILE = 261; |
| 289 | NOTIFICATION_ZEN_MODE_VISUAL_INTERRUPTIONS = 262; |
| 290 | ACTION_ZEN_ALLOW_PEEK = 263; |
| 291 | ACTION_ZEN_ALLOW_LIGHTS = 264; |
| 292 | NOTIFICATION_TOPIC_NOTIFICATION = 265; |
| 293 | ACTION_DEFAULT_SMS_APP_CHANGED = 266; |
| 294 | QS_COLOR_MATRIX = 267; |
| 295 | QS_CUSTOM = 268; |
| 296 | ACTION_ZEN_ALLOW_SCREEN_ON = 269; |
| 297 | |
| 298 | // Logged when the user docks a window from recents by |
| 299 | // longpressing a task and dragging it to the dock area. |
| 300 | ACTION_WINDOW_DOCK_DRAG_DROP = 270; |
| 301 | |
| 302 | // Logged when the user docks a fullscreen window by long pressing |
| 303 | // recents which also opens recents on the lower/right side. |
| 304 | ACTION_WINDOW_DOCK_LONGPRESS = 271; |
| 305 | |
| 306 | // Logged when the user docks a window by dragging from the navbar |
| 307 | // which also opens recents on the lower/right side. |
| 308 | ACTION_WINDOW_DOCK_SWIPE = 272; |
| 309 | |
| 310 | // Logged when the user launches a profile-specific app and we |
| 311 | // intercept it with the confirm credentials UI. |
| 312 | PROFILE_CHALLENGE = 273; |
| 313 | |
| 314 | QS_BATTERY_DETAIL = 274; |
| 315 | |
| 316 | // Logged when the user goes into the overview history. |
| 317 | OVERVIEW_HISTORY = 275; |
| 318 | |
| 319 | // Logged when the user pages through overview. |
| 320 | ACTION_OVERVIEW_PAGE = 276; |
| 321 | |
| 322 | // Logged when the user launches a task from overview. |
| 323 | ACTION_OVERVIEW_SELECT = 277; |
mariagpuyol | 64916b7 | 2016-01-21 13:53:21 -0800 | [diff] [blame] | 324 | |
| 325 | // Logged when the user views the emergency info. |
| 326 | ACTION_VIEW_EMERGENCY_INFO = 278; |
| 327 | |
| 328 | // Logged when the user views the edit emergency info activity. |
| 329 | ACTION_EDIT_EMERGENCY_INFO = 279; |
| 330 | |
| 331 | // Logged when the user edits an emergency info field. |
| 332 | ACTION_EDIT_EMERGENCY_INFO_FIELD = 280; |
| 333 | |
| 334 | // Logged when the user adds a new emergency contact. |
| 335 | ACTION_ADD_EMERGENCY_CONTACT = 281; |
| 336 | |
| 337 | // Logged when the user deletes an emergency contact. |
| 338 | ACTION_DELETE_EMERGENCY_CONTACT = 282; |
| 339 | |
| 340 | // Logged when the user calls an emergency contact. |
| 341 | ACTION_CALL_EMERGENCY_CONTACT = 283; |
Jason Monk | 9a4ce13 | 2016-01-21 15:27:17 -0500 | [diff] [blame] | 342 | |
| 343 | // QS Tile for Data Saver. |
| 344 | QS_DATA_SAVER = 284; |
Jorim Jaggi | dd50c3f | 2016-02-04 14:55:07 -0800 | [diff] [blame] | 345 | |
Robin Lee | 8c1306e | 2016-02-01 11:37:02 +0000 | [diff] [blame] | 346 | // OPEN: Settings > Security > User credentials |
| 347 | // CATEGORY: Settings |
| 348 | // OS: 6.1 |
| 349 | // GMS: 7.8.99 |
| 350 | USER_CREDENTIALS = 285; |
Jorim Jaggi | ea4a19f | 2016-02-03 21:31:27 -0800 | [diff] [blame] | 351 | |
| 352 | // Logged when the user undocks a previously docked window by long pressing recents while in |
| 353 | // docked mode. |
Jorim Jaggi | dd50c3f | 2016-02-04 14:55:07 -0800 | [diff] [blame] | 354 | ACTION_WINDOW_UNDOCK_LONGPRESS = 286; |
Chris Wren | 77781d3 | 2016-01-11 14:49:26 -0500 | [diff] [blame] | 355 | } |
| 356 | } |