Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 1 | # See system/core/logcat/event.logtags for a description of the format of this file. |
| 2 | |
| 3 | option java_package com.android.server |
| 4 | |
| 5 | # --------------------------- |
| 6 | # BatteryService.java |
| 7 | # --------------------------- |
| 8 | 2722 battery_level (level|1|6),(voltage|1|1),(temperature|1|1) |
| 9 | 2723 battery_status (status|1|5),(health|1|5),(present|1|5),(plugged|1|5),(technology|3) |
| 10 | # This is logged when battery goes from discharging to charging. |
| 11 | # It lets us count the total amount of time between charges and the discharge level |
| 12 | 2730 battery_discharge (duration|2|3),(minLevel|1|6),(maxLevel|1|6) |
| 13 | |
| 14 | |
| 15 | # --------------------------- |
| 16 | # PowerManagerService.java |
| 17 | # --------------------------- |
| 18 | # This is logged when the device is being forced to sleep (typically by |
| 19 | # the user pressing the power button). |
| 20 | 2724 power_sleep_requested (wakeLocksCleared|1|1) |
| 21 | # This is logged when the screen on broadcast has completed |
| 22 | 2725 power_screen_broadcast_send (wakelockCount|1|1) |
| 23 | # This is logged when the screen broadcast has completed |
| 24 | 2726 power_screen_broadcast_done (on|1|5),(broadcastDuration|2|3),(wakelockCount|1|1) |
| 25 | # This is logged when the screen on broadcast has completed |
| 26 | 2727 power_screen_broadcast_stop (which|1|5),(wakelockCount|1|1) |
| 27 | # This is logged when the screen is turned on or off. |
| 28 | 2728 power_screen_state (offOrOn|1|5),(becauseOfUser|1|5),(totalTouchDownTime|2|3),(touchCycles|1|1) |
| 29 | # This is logged when the partial wake lock (keeping the device awake |
| 30 | # regardless of whether the screen is off) is acquired or released. |
| 31 | 2729 power_partial_wake_state (releasedorAcquired|1|5),(tag|3) |
| 32 | |
| 33 | # |
| 34 | # Leave IDs through 2739 for more power logs (2730 used by battery_discharge above) |
| 35 | # |
| 36 | |
| 37 | |
| 38 | # --------------------------- |
Jeff Sharkey | 4b49657 | 2012-04-19 14:17:03 -0700 | [diff] [blame] | 39 | # DeviceStorageMonitorService.java |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 40 | # --------------------------- |
| 41 | # The disk space free on the /data partition, in bytes |
| 42 | 2744 free_storage_changed (data|2|2) |
| 43 | # Device low memory notification and disk space free on the /data partition, in bytes at that time |
| 44 | 2745 low_storage (data|2|2) |
| 45 | # disk space free on the /data, /system, and /cache partitions in bytes |
| 46 | 2746 free_storage_left (data|2|2),(system|2|2),(cache|2|2) |
Jeff Sharkey | 4b49657 | 2012-04-19 14:17:03 -0700 | [diff] [blame] | 47 | # file on cache partition was deleted |
| 48 | 2748 cache_file_deleted (path|3) |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 49 | |
| 50 | |
| 51 | # --------------------------- |
| 52 | # NotificationManagerService.java |
| 53 | # --------------------------- |
Christoph Studer | 265c105 | 2014-07-23 17:14:33 +0200 | [diff] [blame] | 54 | # when a NotificationManager.notify is called. status: 0=post, 1=update, 2=ignored |
| 55 | 2750 notification_enqueue (uid|1|5),(pid|1|5),(pkg|3),(id|1|5),(tag|3),(userid|1|5),(notification|3),(status|1) |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 56 | # when someone tries to cancel a notification, the notification manager sometimes |
| 57 | # calls this with flags too |
John Spurlock | e6a7d93 | 2014-03-13 12:29:00 -0400 | [diff] [blame] | 58 | 2751 notification_cancel (uid|1|5),(pid|1|5),(pkg|3),(id|1|5),(tag|3),(userid|1|5),(required_flags|1),(forbidden_flags|1),(reason|1|5),(listener|3) |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 59 | # when someone tries to cancel all of the notifications for a particular package |
John Spurlock | e6a7d93 | 2014-03-13 12:29:00 -0400 | [diff] [blame] | 60 | 2752 notification_cancel_all (uid|1|5),(pid|1|5),(pkg|3),(userid|1|5),(required_flags|1),(forbidden_flags|1),(reason|1|5),(listener|3) |
Christoph Studer | 760ea55 | 2014-03-21 13:10:21 +0100 | [diff] [blame] | 61 | # when the notification panel is shown |
| 62 | # Note: New tag range starts here since 2753+ have been used below. |
Chris Wren | b659c4f | 2015-06-25 17:12:27 -0400 | [diff] [blame] | 63 | 27500 notification_panel_revealed (items|1) |
Christoph Studer | 760ea55 | 2014-03-21 13:10:21 +0100 | [diff] [blame] | 64 | # when the notification panel is hidden |
| 65 | 27501 notification_panel_hidden |
Christoph Studer | 92b389d | 2014-04-01 18:44:40 +0200 | [diff] [blame] | 66 | # when notifications are newly displayed on screen, or disappear from screen |
| 67 | 27510 notification_visibility_changed (newlyVisibleKeys|3),(noLongerVisibleKeys|3) |
Chris Wren | 78403d7 | 2014-07-28 10:23:24 +0100 | [diff] [blame] | 68 | # when notifications are expanded, or contracted |
Chris Wren | e6ddb8a | 2015-05-27 15:21:00 -0400 | [diff] [blame] | 69 | 27511 notification_expansion (key|3),(user_action|1),(expanded|1),(lifespan|1),(freshness|1),(exposure|1) |
Christoph Studer | 03b87a2 | 2014-04-30 17:33:27 +0200 | [diff] [blame] | 70 | # when a notification has been clicked |
Chris Wren | e6ddb8a | 2015-05-27 15:21:00 -0400 | [diff] [blame] | 71 | 27520 notification_clicked (key|3),(lifespan|1),(freshness|1),(exposure|1) |
Christoph Studer | 4da84cd | 2014-10-21 17:24:20 +0200 | [diff] [blame] | 72 | # when a notification action button has been clicked |
Chris Wren | e6ddb8a | 2015-05-27 15:21:00 -0400 | [diff] [blame] | 73 | 27521 notification_action_clicked (key|3),(action_index|1),(lifespan|1),(freshness|1),(exposure|1) |
Christoph Studer | 81e5b5f | 2014-10-22 17:19:56 +0200 | [diff] [blame] | 74 | # when a notification has been canceled |
Chris Wren | e6ddb8a | 2015-05-27 15:21:00 -0400 | [diff] [blame] | 75 | 27530 notification_canceled (key|3),(reason|1),(lifespan|1),(freshness|1),(exposure|1) |
Chris Wren | 6650e57 | 2015-05-15 17:19:25 -0400 | [diff] [blame] | 76 | # replaces 27510 with a row per notification |
Chris Wren | d1dbc92 | 2015-06-19 17:51:16 -0400 | [diff] [blame] | 77 | 27531 notification_visibility (key|3),(visibile|1),(lifespan|1),(freshness|1),(exposure|1),(rank|1) |
Chris Wren | 82ba59d | 2015-06-05 11:23:44 -0400 | [diff] [blame] | 78 | # a notification emited noise, vibration, or light |
| 79 | 27532 notification_alert (key|3),(buzz|1),(beep|1),(blink|1) |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 80 | |
| 81 | # --------------------------- |
| 82 | # Watchdog.java |
| 83 | # --------------------------- |
| 84 | 2802 watchdog (Service|3) |
| 85 | 2803 watchdog_proc_pss (Process|3),(Pid|1|5),(Pss|1|2) |
| 86 | 2804 watchdog_soft_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2),(Skip|3) |
| 87 | 2805 watchdog_hard_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2) |
| 88 | 2806 watchdog_pss_stats (EmptyPss|1|2),(EmptyCount|1|1),(BackgroundPss|1|2),(BackgroundCount|1|1),(ServicePss|1|2),(ServiceCount|1|1),(VisiblePss|1|2),(VisibleCount|1|1),(ForegroundPss|1|2),(ForegroundCount|1|1),(NoPssCount|1|1) |
| 89 | 2807 watchdog_proc_stats (DeathsInOne|1|1),(DeathsInTwo|1|1),(DeathsInThree|1|1),(DeathsInFour|1|1),(DeathsInFive|1|1) |
| 90 | 2808 watchdog_scheduled_reboot (Now|2|1),(Interval|1|3),(StartTime|1|3),(Window|1|3),(Skip|3) |
| 91 | 2809 watchdog_meminfo (MemFree|1|2),(Buffers|1|2),(Cached|1|2),(Active|1|2),(Inactive|1|2),(AnonPages|1|2),(Mapped|1|2),(Slab|1|2),(SReclaimable|1|2),(SUnreclaim|1|2),(PageTables|1|2) |
| 92 | 2810 watchdog_vmstat (runtime|2|3),(pgfree|1|1),(pgactivate|1|1),(pgdeactivate|1|1),(pgfault|1|1),(pgmajfault|1|1) |
| 93 | 2811 watchdog_requested_reboot (NoWait|1|1),(ScheduleInterval|1|3),(RecheckInterval|1|3),(StartTime|1|3),(Window|1|3),(MinScreenOff|1|3),(MinNextAlarm|1|3) |
| 94 | |
| 95 | |
| 96 | # --------------------------- |
| 97 | # BackupManagerService.java |
| 98 | # --------------------------- |
| 99 | 2820 backup_data_changed (Package|3) |
| 100 | 2821 backup_start (Transport|3) |
| 101 | 2822 backup_transport_failure (Package|3) |
| 102 | 2823 backup_agent_failure (Package|3),(Message|3) |
| 103 | 2824 backup_package (Package|3),(Size|1|2) |
| 104 | 2825 backup_success (Packages|1|1),(Time|1|3) |
| 105 | 2826 backup_reset (Transport|3) |
| 106 | 2827 backup_initialize |
| 107 | 2830 restore_start (Transport|3),(Source|2|5) |
| 108 | 2831 restore_transport_failure |
| 109 | 2832 restore_agent_failure (Package|3),(Message|3) |
| 110 | 2833 restore_package (Package|3),(Size|1|2) |
| 111 | 2834 restore_success (Packages|1|1),(Time|1|3) |
| 112 | |
Christopher Tate | 4cf9f00 | 2014-08-05 16:12:42 -0700 | [diff] [blame] | 113 | 2840 full_backup_package (Package|3) |
| 114 | 2841 full_backup_agent_failure (Package|3),(Message|3) |
| 115 | 2842 full_backup_transport_failure |
| 116 | 2843 full_backup_success (Package|3) |
| 117 | 2844 full_restore_package (Package|3) |
| 118 | |
| 119 | 2850 backup_transport_lifecycle (Transport|3),(Bound|1|1) |
| 120 | |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 121 | |
| 122 | # --------------------------- |
| 123 | # SystemServer.java |
| 124 | # --------------------------- |
| 125 | # SystemServer.run() starts: |
| 126 | 3010 boot_progress_system_run (time|2|3) |
| 127 | |
| 128 | |
| 129 | # --------------------------- |
| 130 | # PackageManagerService.java |
| 131 | # --------------------------- |
| 132 | # Package Manager starts: |
| 133 | 3060 boot_progress_pms_start (time|2|3) |
| 134 | # Package Manager .apk scan starts: |
| 135 | 3070 boot_progress_pms_system_scan_start (time|2|3) |
| 136 | # Package Manager .apk scan starts: |
| 137 | 3080 boot_progress_pms_data_scan_start (time|2|3) |
| 138 | # Package Manager .apk scan ends: |
| 139 | 3090 boot_progress_pms_scan_end (time|2|3) |
| 140 | # Package Manager ready: |
| 141 | 3100 boot_progress_pms_ready (time|2|3) |
| 142 | # + check activity_launch_time for Home app |
Matt Finifter | f8a98ed | 2012-05-14 15:43:34 -0700 | [diff] [blame] | 143 | # Value of "unknown sources" setting at app install time |
| 144 | 3110 unknown_sources_enabled (value|1) |
Jeff Sharkey | 3933a5d | 2014-10-03 15:09:14 -0700 | [diff] [blame] | 145 | # Package Manager critical info |
| 146 | 3120 pm_critical_info (msg|3) |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 147 | |
| 148 | |
| 149 | # --------------------------- |
| 150 | # WindowManagerService.java |
| 151 | # --------------------------- |
| 152 | # Out of memory for surfaces. |
| 153 | 31000 wm_no_surface_memory (Window|3),(PID|1|5),(Operation|3) |
Craig Mautner | 2c2549c | 2013-11-12 08:31:15 -0800 | [diff] [blame] | 154 | # Task created. |
| 155 | 31001 wm_task_created (TaskId|1|5),(StackId|1|5) |
| 156 | # Task moved to top (1) or bottom (0). |
| 157 | 31002 wm_task_moved (TaskId|1|5),(ToTop|1),(Index|1) |
| 158 | # Task removed with source explanation. |
| 159 | 31003 wm_task_removed (TaskId|1|5),(Reason|3) |
| 160 | # Stack created. |
Wale Ogunwale | e4a0c57 | 2015-06-30 08:40:31 -0700 | [diff] [blame] | 161 | 31004 wm_stack_created (StackId|1|5) |
Craig Mautner | 2c2549c | 2013-11-12 08:31:15 -0800 | [diff] [blame] | 162 | # Home stack moved to top (1) or bottom (0). |
| 163 | 31005 wm_home_stack_moved (ToTop|1) |
| 164 | # Stack removed. |
| 165 | 31006 wm_stack_removed (StackId|1|5) |
Yusuke Sato | a48924f | 2015-06-18 14:47:15 -0700 | [diff] [blame] | 166 | # bootanim finished: |
| 167 | 31007 wm_boot_animation_done (time|2|3) |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 168 | |
| 169 | |
| 170 | # --------------------------- |
| 171 | # InputMethodManagerService.java |
| 172 | # --------------------------- |
| 173 | # Re-connecting to input method service because we haven't received its interface |
| 174 | 32000 imf_force_reconnect_ime (IME|4),(Time Since Connect|2|3),(Showing|1|1) |
| 175 | |
| 176 | |
| 177 | # --------------------------- |
Filip Gruszczynski | 5dcc3ac | 2014-10-13 15:51:39 -0700 | [diff] [blame] | 178 | # WallpaperManagerService.java |
| 179 | # --------------------------- |
| 180 | 33000 wp_wallpaper_crashed (component|3) |
| 181 | |
Dianne Hackborn | f70faed | 2015-04-21 14:11:38 -0700 | [diff] [blame] | 182 | # --------------------------- |
| 183 | # Device idle |
| 184 | # --------------------------- |
| 185 | 34000 device_idle (state|1|5), (reason|3) |
| 186 | 34001 device_idle_step |
| 187 | 34002 device_idle_wake_from_idle (is_idle|1|5), (reason|3) |
Dianne Hackborn | 3b16cf4 | 2015-07-01 15:05:04 -0700 | [diff] [blame] | 188 | 34003 device_idle_on_start |
| 189 | 34004 device_idle_on_phase (what|3) |
| 190 | 34005 device_idle_on_complete |
| 191 | 34006 device_idle_off_start (reason|3) |
| 192 | 34007 device_idle_off_phase (what|3) |
| 193 | 34008 device_idle_off_complete |
Dianne Hackborn | f70faed | 2015-04-21 14:11:38 -0700 | [diff] [blame] | 194 | |
Jeff Brown | a576b4d | 2015-04-23 19:58:06 -0700 | [diff] [blame] | 195 | # --------------------------- |
| 196 | # DisplayManagerService.java |
| 197 | # --------------------------- |
| 198 | # Auto-brightness adjustments by the user. |
| 199 | 35000 auto_brightness_adj (old_adj|5),(old_lux|5),(old_brightness|5),(old_gamma|5),(new_adj|5),(new_lux|5),(new_brightness|5),(new_gamma|5) |
Filip Gruszczynski | 5dcc3ac | 2014-10-13 15:51:39 -0700 | [diff] [blame] | 200 | |
| 201 | # --------------------------- |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 202 | # ConnectivityService.java |
| 203 | # --------------------------- |
Jeff Sharkey | 2528b50 | 2012-11-09 15:57:02 -0800 | [diff] [blame] | 204 | # Connectivity state changed |
| 205 | 50020 connectivity_state_changed (type|1),(subtype|1),(state|1) |
Jeff Sharkey | 07b0dd9 | 2011-09-01 13:06:19 -0700 | [diff] [blame] | 206 | |
| 207 | |
| 208 | # --------------------------- |
| 209 | # NetworkStatsService.java |
| 210 | # --------------------------- |
Jeff Sharkey | 63abc37 | 2012-01-11 18:38:16 -0800 | [diff] [blame] | 211 | 51100 netstats_mobile_sample (dev_rx_bytes|2|2),(dev_tx_bytes|2|2),(dev_rx_pkts|2|1),(dev_tx_pkts|2|1),(xt_rx_bytes|2|2),(xt_tx_bytes|2|2),(xt_rx_pkts|2|1),(xt_tx_pkts|2|1),(uid_rx_bytes|2|2),(uid_tx_bytes|2|2),(uid_rx_pkts|2|1),(uid_tx_pkts|2|1),(trusted_time|2|3) |
| 212 | 51101 netstats_wifi_sample (dev_rx_bytes|2|2),(dev_tx_bytes|2|2),(dev_rx_pkts|2|1),(dev_tx_pkts|2|1),(xt_rx_bytes|2|2),(xt_tx_bytes|2|2),(xt_rx_pkts|2|1),(xt_tx_pkts|2|1),(uid_rx_bytes|2|2),(uid_tx_bytes|2|2),(uid_rx_pkts|2|1),(uid_tx_pkts|2|1),(trusted_time|2|3) |
Jeff Sharkey | 91c6a64 | 2012-09-06 18:33:14 -0700 | [diff] [blame] | 213 | |
| 214 | |
| 215 | # --------------------------- |
| 216 | # LockdownVpnTracker.java |
| 217 | # --------------------------- |
| 218 | 51200 lockdown_vpn_connecting (egress_net|1) |
| 219 | 51201 lockdown_vpn_connected (egress_net|1) |
| 220 | 51202 lockdown_vpn_error (egress_net|1) |
Geremy Condra | 7c65e39 | 2012-09-11 16:57:17 -0700 | [diff] [blame] | 221 | |
| 222 | # --------------------------- |
| 223 | # ConfigUpdateInstallReceiver.java |
| 224 | # --------------------------- |
| 225 | 51300 config_install_failed (dir|3) |
Ben Gruver | 8be8df2 | 2013-04-05 19:21:19 -0700 | [diff] [blame] | 226 | |
| 227 | # --------------------------- |
| 228 | # IntentFirewall.java |
| 229 | # --------------------------- |
| 230 | 51400 ifw_intent_matched (Intent Type|1|5),(Component Name|3),(Caller Uid|1|5),(Caller Pkg Count|1|1),(Caller Pkgs|3),(Action|3),(MIME Type|3),(URI|3),(Flags|1|5) |
Svetoslav | f23b64d | 2013-04-25 14:45:54 -0700 | [diff] [blame] | 231 | |
| 232 | # --------------------------- |
| 233 | # IdleMaintenanceService.java |
| 234 | # --------------------------- |
Dianne Hackborn | 3b16cf4 | 2015-07-01 15:05:04 -0700 | [diff] [blame] | 235 | 51500 idle_maintenance_window_start (time|2|3), (lastUserActivity|2|3), (batteryLevel|1|6), (batteryCharging|1|5) |
| 236 | 51501 idle_maintenance_window_finish (time|2|3), (lastUserActivity|2|3), (batteryLevel|1|6), (batteryCharging|1|5) |
Svetoslav | f23b64d | 2013-04-25 14:45:54 -0700 | [diff] [blame] | 237 | |
| 238 | # --------------------------- |
| 239 | # MountService.java |
| 240 | # --------------------------- |
| 241 | 2755 fstrim_start (time|2|3) |
| 242 | 2756 fstrim_finish (time|2|3) |
John Spurlock | 9087433 | 2015-03-10 16:00:54 -0400 | [diff] [blame] | 243 | |
| 244 | # --------------------------- |
| 245 | # AudioService.java |
| 246 | # --------------------------- |
| 247 | 40000 volume_changed (stream|1), (prev_level|1), (level|1), (max_level|1), (caller|3) |
John Spurlock | 8a52c44 | 2015-03-26 14:23:58 -0400 | [diff] [blame] | 248 | 40001 stream_devices_changed (stream|1), (prev_devices|1), (devices|1) |