1 /* 2 * Copyright (C) 2015 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package com.android.internal.logging; 17 18 /** 19 * Constants for mestrics logs. 20 * 21 * @hide 22 */ 23 public interface MetricsConstants { 24 // These constants must match those in the analytic pipeline, do not edit. 25 // Add temporary values to the top of MetricsLogger instead. 26 public static final int VIEW_UNKNOWN = 0; 27 public static final int MAIN_SETTINGS = 1; 28 public static final int ACCESSIBILITY = 2; 29 public static final int ACCESSIBILITY_CAPTION_PROPERTIES = 3; 30 public static final int ACCESSIBILITY_SERVICE = 4; 31 public static final int ACCESSIBILITY_TOGGLE_DALTONIZER = 5; 32 public static final int ACCESSIBILITY_TOGGLE_GLOBAL_GESTURE = 6; 33 public static final int ACCESSIBILITY_TOGGLE_SCREEN_MAGNIFICATION = 7; 34 public static final int ACCOUNT = 8; 35 public static final int ACCOUNTS_ACCOUNT_SYNC = 9; 36 public static final int ACCOUNTS_CHOOSE_ACCOUNT_ACTIVITY = 10; 37 public static final int ACCOUNTS_MANAGE_ACCOUNTS = 11; 38 public static final int APN = 12; 39 public static final int APN_EDITOR = 13; 40 public static final int APP_OPS_DETAILS = 14; 41 public static final int APP_OPS_SUMMARY = 15; 42 public static final int APPLICATION = 16; 43 public static final int APPLICATIONS_APP_LAUNCH = 17; 44 public static final int APPLICATIONS_APP_PERMISSION = 18; 45 public static final int APPLICATIONS_APP_STORAGE = 19; 46 public static final int APPLICATIONS_INSTALLED_APP_DETAILS = 20; 47 public static final int APPLICATIONS_PROCESS_STATS_DETAIL = 21; 48 public static final int APPLICATIONS_PROCESS_STATS_MEM_DETAIL = 22; 49 public static final int APPLICATIONS_PROCESS_STATS_UI = 23; 50 public static final int BLUETOOTH = 24; 51 public static final int BLUETOOTH_DEVICE_PICKER = 25; 52 public static final int BLUETOOTH_DEVICE_PROFILES = 26; 53 public static final int CHOOSE_LOCK_GENERIC = 27; 54 public static final int CHOOSE_LOCK_PASSWORD = 28; 55 public static final int CHOOSE_LOCK_PATTERN = 29; 56 public static final int CONFIRM_LOCK_PASSWORD = 30; 57 public static final int CONFIRM_LOCK_PATTERN = 31; 58 public static final int CRYPT_KEEPER = 32; 59 public static final int CRYPT_KEEPER_CONFIRM = 33; 60 public static final int DASHBOARD_SEARCH_RESULTS = 34; 61 public static final int DASHBOARD_SUMMARY = 35; 62 public static final int DATA_USAGE = 36; 63 public static final int DATA_USAGE_SUMMARY = 37; 64 public static final int DATE_TIME = 38; 65 public static final int DEVELOPMENT = 39; 66 public static final int DEVICEINFO = 40; 67 public static final int DEVICEINFO_IMEI_INFORMATION = 41; 68 public static final int DEVICEINFO_MEMORY = 42; 69 public static final int DEVICEINFO_SIM_STATUS = 43; 70 public static final int DEVICEINFO_STATUS = 44; 71 public static final int DEVICEINFO_USB = 45; 72 public static final int DISPLAY = 46; 73 public static final int DREAM = 47; 74 public static final int ENCRYPTION = 48; 75 public static final int FINGERPRINT = 49; 76 public static final int FINGERPRINT_ENROLL = 50; 77 public static final int FUELGAUGE_BATTERY_HISTORY_DETAIL = 51; 78 public static final int FUELGAUGE_BATTERY_SAVER = 52; 79 public static final int FUELGAUGE_POWER_USAGE_DETAIL = 53; 80 public static final int FUELGAUGE_POWER_USAGE_SUMMARY = 54; 81 public static final int HOME = 55; 82 public static final int ICC_LOCK = 56; 83 public static final int INPUTMETHOD_LANGUAGE = 57; 84 public static final int INPUTMETHOD_KEYBOARD = 58; 85 public static final int INPUTMETHOD_SPELL_CHECKERS = 59; 86 public static final int INPUTMETHOD_SUBTYPE_ENABLER = 60; 87 public static final int INPUTMETHOD_USER_DICTIONARY = 61; 88 public static final int INPUTMETHOD_USER_DICTIONARY_ADD_WORD = 62; 89 public static final int LOCATION = 63; 90 public static final int LOCATION_MODE = 64; 91 public static final int MANAGE_APPLICATIONS = 65; 92 public static final int MASTER_CLEAR = 66; 93 public static final int MASTER_CLEAR_CONFIRM = 67; 94 public static final int NET_DATA_USAGE_METERED = 68; 95 public static final int NFC_BEAM = 69; 96 public static final int NFC_PAYMENT = 70; 97 public static final int NOTIFICATION = 71; 98 public static final int NOTIFICATION_APP_NOTIFICATION = 72; 99 public static final int NOTIFICATION_OTHER_SOUND = 73; 100 public static final int NOTIFICATION_REDACTION = 74; 101 public static final int NOTIFICATION_STATION = 75; 102 public static final int NOTIFICATION_ZEN_MODE = 76; 103 public static final int OWNER_INFO = 77; 104 public static final int PRINT_JOB_SETTINGS = 78; 105 public static final int PRINT_SERVICE_SETTINGS = 79; 106 public static final int PRINT_SETTINGS = 80; 107 public static final int PRIVACY = 81; 108 public static final int PROXY_SELECTOR = 82; 109 public static final int RESET_NETWORK = 83; 110 public static final int RESET_NETWORK_CONFIRM = 84; 111 public static final int RUNNING_SERVICE_DETAILS = 85; 112 public static final int SCREEN_PINNING = 86; 113 public static final int SECURITY = 87; 114 public static final int SIM = 88; 115 public static final int TESTING = 89; 116 public static final int TETHER = 90; 117 public static final int TRUST_AGENT = 91; 118 public static final int TRUSTED_CREDENTIALS = 92; 119 public static final int TTS_ENGINE_SETTINGS = 93; 120 public static final int TTS_TEXT_TO_SPEECH = 94; 121 public static final int USAGE_ACCESS = 95; 122 public static final int USER = 96; 123 public static final int USERS_APP_RESTRICTIONS = 97; 124 public static final int USER_DETAILS = 98; 125 public static final int VOICE_INPUT = 99; 126 public static final int VPN = 100; 127 public static final int WALLPAPER_TYPE = 101; 128 public static final int WFD_WIFI_DISPLAY = 102; 129 public static final int WIFI = 103; 130 public static final int WIFI_ADVANCED = 104; 131 public static final int WIFI_CALLING = 105; 132 public static final int WIFI_SAVED_ACCESS_POINTS = 106; 133 public static final int WIFI_APITEST = 107; 134 public static final int WIFI_INFO = 108; 135 public static final int WIFI_P2P = 109; 136 public static final int WIRELESS = 110; 137 public static final int QS_PANEL = 111; 138 public static final int QS_AIRPLANEMODE = 112; 139 public static final int QS_BLUETOOTH = 113; 140 public static final int QS_CAST = 114; 141 public static final int QS_CELLULAR = 115; 142 public static final int QS_COLORINVERSION = 116; 143 public static final int QS_DATAUSAGEDETAIL = 117; 144 public static final int QS_DND = 118; 145 public static final int QS_FLASHLIGHT = 119; 146 public static final int QS_HOTSPOT = 120; 147 public static final int QS_INTENT = 121; 148 public static final int QS_LOCATION = 122; 149 public static final int QS_ROTATIONLOCK = 123; 150 public static final int QS_USERDETAILITE = 124; 151 public static final int QS_USERDETAIL = 125; 152 public static final int QS_WIFI = 126; 153 public static final int NOTIFICATION_PANEL = 127; 154 public static final int NOTIFICATION_ITEM = 128; 155 public static final int NOTIFICATION_ITEM_ACTION = 129; 156 public static final int APPLICATIONS_ADVANCED = 130; 157 public static final int LOCATION_SCANNING = 131; 158 public static final int MANAGE_APPLICATIONS_ALL = 132; 159 public static final int MANAGE_APPLICATIONS_NOTIFICATIONS = 133; 160 public static final int ACTION_WIFI_ADD_NETWORK = 134; 161 public static final int ACTION_WIFI_CONNECT = 135; 162 public static final int ACTION_WIFI_FORCE_SCAN = 136; 163 public static final int ACTION_WIFI_FORGET = 137; 164 public static final int ACTION_WIFI_OFF = 138; 165 public static final int ACTION_WIFI_ON = 139; 166 public static final int MANAGE_PERMISSIONS = 140; 167 public static final int NOTIFICATION_ZEN_MODE_PRIORITY = 141; 168 public static final int NOTIFICATION_ZEN_MODE_AUTOMATION = 142; 169 public static final int MANAGE_DOMAIN_URLS = 143; 170 public static final int NOTIFICATION_ZEN_MODE_SCHEDULE_RULE = 144; 171 public static final int NOTIFICATION_ZEN_MODE_EXTERNAL_RULE = 145; 172 public static final int NOTIFICATION_ZEN_MODE_EVENT_RULE = 146; 173 public static final int ACTION_BAN_APP_NOTES = 147; 174 public static final int ACTION_DISMISS_ALL_NOTES = 148; 175 public static final int QS_DND_DETAILS = 149; 176 public static final int QS_BLUETOOTH_DETAILS = 150; 177 public static final int QS_CAST_DETAILS = 151; 178 public static final int QS_WIFI_DETAILS = 152; 179 public static final int QS_WIFI_TOGGLE = 153; 180 public static final int QS_BLUETOOTH_TOGGLE = 154; 181 public static final int QS_CELLULAR_TOGGLE = 155; 182 public static final int QS_SWITCH_USER = 156; 183 public static final int QS_CAST_SELECT = 157; 184 public static final int QS_CAST_DISCONNECT = 158; 185 public static final int ACTION_BLUETOOTH_TOGGLE = 159; 186 public static final int ACTION_BLUETOOTH_SCAN = 160; 187 public static final int ACTION_BLUETOOTH_RENAME = 161; 188 public static final int ACTION_BLUETOOTH_FILES = 162; 189 public static final int QS_DND_TIME = 163; 190 public static final int QS_DND_CONDITION_SELECT = 164; 191 public static final int QS_DND_ZEN_SELECT = 165; 192 public static final int QS_DND_TOGGLE = 166; 193 public static final int ACTION_ZEN_ALLOW_REMINDERS = 167; 194 public static final int ACTION_ZEN_ALLOW_EVENTS = 168; 195 public static final int ACTION_ZEN_ALLOW_MESSAGES = 169; 196 public static final int ACTION_ZEN_ALLOW_CALLS = 170; 197 public static final int ACTION_ZEN_ALLOW_REPEAT_CALLS = 171; 198 public static final int ACTION_ZEN_ADD_RULE = 172; 199 public static final int ACTION_ZEN_ADD_RULE_OK = 173; 200 public static final int ACTION_ZEN_DELETE_RULE = 174; 201 public static final int ACTION_ZEN_DELETE_RULE_OK = 175; 202 public static final int ACTION_ZEN_ENABLE_RULE = 176; 203 public static final int ACTION_AIRPLANE_TOGGLE = 177; 204 public static final int ACTION_CELL_DATA_TOGGLE = 178; 205 public static final int NOTIFICATION_ACCESS = 179; 206 public static final int NOTIFICATION_ZEN_MODE_ACCESS = 180; 207 public static final int APPLICATIONS_DEFAULT_APPS = 181; 208 public static final int APPLICATIONS_STORAGE_APPS = 182; 209 public static final int APPLICATIONS_USAGE_ACCESS_DETAIL = 183; 210 public static final int APPLICATIONS_HIGH_POWER_APPS = 184; 211 public static final int FUELGAUGE_HIGH_POWER_DETAILS = 185; 212 public static final int ACTION_LS_UNLOCK = 186; 213 public static final int ACTION_LS_SHADE = 187; 214 public static final int ACTION_LS_HINT = 188; 215 public static final int ACTION_LS_CAMERA = 189; 216 public static final int ACTION_LS_DIALER = 190; 217 public static final int ACTION_LS_LOCK = 191; 218 public static final int ACTION_LS_NOTE = 192; 219 public static final int ACTION_LS_QS = 193; 220 public static final int ACTION_SHADE_QS_PULL = 194; 221 public static final int ACTION_SHADE_QS_TAP = 195; 222 public static final int LOCKSCREEN = 196; 223 public static final int BOUNCER = 197; 224 public static final int SCREEN = 198; 225 public static final int NOTIFICATION_ALERT = 199; 226 public static final int ACTION_EMERGENCY_CALL = 200; 227 public static final int APPLICATIONS_MANAGE_ASSIST = 201; 228 public static final int PROCESS_STATS_SUMMARY = 202; 229 public static final int ACTION_ROTATION_LOCK = 203; 230 public static final int ACTION_NOTE_CONTROLS = 204; 231 public static final int ACTION_NOTE_INFO = 205; 232 public static final int ACTION_APP_NOTE_SETTINGS = 206; 233 public static final int VOLUME_DIALOG = 207; 234 public static final int VOLUME_DIALOG_DETAILS = 208; 235 public static final int ACTION_VOLUME_SLIDER = 209; 236 public static final int ACTION_VOLUME_STREAM = 210; 237 public static final int ACTION_VOLUME_KEY = 211; 238 public static final int ACTION_VOLUME_ICON = 212; 239 public static final int ACTION_RINGER_MODE = 213; 240 public static final int ACTION_ACTIVITY_CHOOSER_SHOWN = 214; 241 public static final int ACTION_ACTIVITY_CHOOSER_PICKED_APP_TARGET = 215; 242 public static final int ACTION_ACTIVITY_CHOOSER_PICKED_SERVICE_TARGET = 216; 243 public static final int ACTION_ACTIVITY_CHOOSER_PICKED_STANDARD_TARGET = 217; 244 public static final int ACTION_BRIGHTNESS = 218; 245 public static final int ACTION_BRIGHTNESS_AUTO = 219; 246 public static final int BRIGHTNESS_DIALOG = 220; 247 public static final int SYSTEM_ALERT_WINDOW_APPS = 221; 248 public static final int DREAMING = 222; 249 public static final int DOZING = 223; 250 public static final int OVERVIEW_ACTIVITY = 224; 251 public static final int ABOUT_LEGAL_SETTINGS = 225; 252 public static final int ACTION_SEARCH_RESULTS = 226; 253 public static final int TUNER = 227; 254 public static final int TUNER_QS = 228; 255 public static final int TUNER_DEMO_MODE = 229; 256 public static final int TUNER_QS_REORDER = 230; 257 public static final int TUNER_QS_ADD = 231; 258 public static final int TUNER_QS_REMOVE = 232; 259 public static final int TUNER_STATUS_BAR_ENABLE = 233; 260 public static final int TUNER_STATUS_BAR_DISABLE = 234; 261 public static final int TUNER_DEMO_MODE_ENABLED = 235; 262 public static final int TUNER_DEMO_MODE_ON = 236; 263 public static final int TUNER_BATTERY_PERCENTAGE = 237; 264 public static final int FUELGAUGE_INACTIVE_APPS = 238; 265 266 // These constants must match those in the analytic pipeline, do not edit. 267 // Add temporary values to the top of MetricsLogger instead. 268 269 //aliases 270 public static final int DEVICEINFO_STORAGE = DEVICEINFO_MEMORY; 271 } 272