PageRenderTime 50ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/core/java/com/android/internal/logging/MetricsConstants.java

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