blob: c01d81680750495c795dc5588ca7f4a3bea05724 [file] [log] [blame]
Doug Zongkerab5c49c2009-12-04 10:31:43 -08001# See system/core/logcat/event.logtags for a description of the format of this file.
2
3option java_package com.android.server
4
5# ---------------------------
6# BatteryService.java
7# ---------------------------
82722 battery_level (level|1|6),(voltage|1|1),(temperature|1|1)
92723 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
122730 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).
202724 power_sleep_requested (wakeLocksCleared|1|1)
21# This is logged when the screen on broadcast has completed
222725 power_screen_broadcast_send (wakelockCount|1|1)
23# This is logged when the screen broadcast has completed
242726 power_screen_broadcast_done (on|1|5),(broadcastDuration|2|3),(wakelockCount|1|1)
25# This is logged when the screen on broadcast has completed
262727 power_screen_broadcast_stop (which|1|5),(wakelockCount|1|1)
27# This is logged when the screen is turned on or off.
282728 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.
312729 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 Sharkey4b496572012-04-19 14:17:03 -070039# DeviceStorageMonitorService.java
Doug Zongkerab5c49c2009-12-04 10:31:43 -080040# ---------------------------
41# The disk space free on the /data partition, in bytes
422744 free_storage_changed (data|2|2)
43# Device low memory notification and disk space free on the /data partition, in bytes at that time
442745 low_storage (data|2|2)
45# disk space free on the /data, /system, and /cache partitions in bytes
462746 free_storage_left (data|2|2),(system|2|2),(cache|2|2)
Jeff Sharkey4b496572012-04-19 14:17:03 -070047# file on cache partition was deleted
482748 cache_file_deleted (path|3)
Doug Zongkerab5c49c2009-12-04 10:31:43 -080049
50
51# ---------------------------
52# NotificationManagerService.java
53# ---------------------------
Christoph Studer265c1052014-07-23 17:14:33 +020054# when a NotificationManager.notify is called. status: 0=post, 1=update, 2=ignored
552750 notification_enqueue (uid|1|5),(pid|1|5),(pkg|3),(id|1|5),(tag|3),(userid|1|5),(notification|3),(status|1)
Doug Zongkerab5c49c2009-12-04 10:31:43 -080056# when someone tries to cancel a notification, the notification manager sometimes
57# calls this with flags too
John Spurlocke6a7d932014-03-13 12:29:00 -0400582751 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 Zongkerab5c49c2009-12-04 10:31:43 -080059# when someone tries to cancel all of the notifications for a particular package
John Spurlocke6a7d932014-03-13 12:29:00 -0400602752 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 Studer760ea552014-03-21 13:10:21 +010061# when the notification panel is shown
62# Note: New tag range starts here since 2753+ have been used below.
6327500 notification_panel_revealed
64# when the notification panel is hidden
6527501 notification_panel_hidden
Christoph Studer92b389d2014-04-01 18:44:40 +020066# when notifications are newly displayed on screen, or disappear from screen
6727510 notification_visibility_changed (newlyVisibleKeys|3),(noLongerVisibleKeys|3)
Chris Wren78403d72014-07-28 10:23:24 +010068# when notifications are expanded, or contracted
Chris Wrene6ddb8a2015-05-27 15:21:00 -04006927511 notification_expansion (key|3),(user_action|1),(expanded|1),(lifespan|1),(freshness|1),(exposure|1)
Christoph Studer03b87a22014-04-30 17:33:27 +020070# when a notification has been clicked
Chris Wrene6ddb8a2015-05-27 15:21:00 -04007127520 notification_clicked (key|3),(lifespan|1),(freshness|1),(exposure|1)
Christoph Studer4da84cd2014-10-21 17:24:20 +020072# when a notification action button has been clicked
Chris Wrene6ddb8a2015-05-27 15:21:00 -04007327521 notification_action_clicked (key|3),(action_index|1),(lifespan|1),(freshness|1),(exposure|1)
Christoph Studer81e5b5f2014-10-22 17:19:56 +020074# when a notification has been canceled
Chris Wrene6ddb8a2015-05-27 15:21:00 -04007527530 notification_canceled (key|3),(reason|1),(lifespan|1),(freshness|1),(exposure|1)
Chris Wren6650e572015-05-15 17:19:25 -040076# replaces 27510 with a row per notification
7727531 notification_visibility (key|3),(visibile|1),(lifespan|1),(freshness|1)
Doug Zongkerab5c49c2009-12-04 10:31:43 -080078
79# ---------------------------
80# Watchdog.java
81# ---------------------------
822802 watchdog (Service|3)
832803 watchdog_proc_pss (Process|3),(Pid|1|5),(Pss|1|2)
842804 watchdog_soft_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2),(Skip|3)
852805 watchdog_hard_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2)
862806 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)
872807 watchdog_proc_stats (DeathsInOne|1|1),(DeathsInTwo|1|1),(DeathsInThree|1|1),(DeathsInFour|1|1),(DeathsInFive|1|1)
882808 watchdog_scheduled_reboot (Now|2|1),(Interval|1|3),(StartTime|1|3),(Window|1|3),(Skip|3)
892809 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)
902810 watchdog_vmstat (runtime|2|3),(pgfree|1|1),(pgactivate|1|1),(pgdeactivate|1|1),(pgfault|1|1),(pgmajfault|1|1)
912811 watchdog_requested_reboot (NoWait|1|1),(ScheduleInterval|1|3),(RecheckInterval|1|3),(StartTime|1|3),(Window|1|3),(MinScreenOff|1|3),(MinNextAlarm|1|3)
92
93
94# ---------------------------
95# BackupManagerService.java
96# ---------------------------
972820 backup_data_changed (Package|3)
982821 backup_start (Transport|3)
992822 backup_transport_failure (Package|3)
1002823 backup_agent_failure (Package|3),(Message|3)
1012824 backup_package (Package|3),(Size|1|2)
1022825 backup_success (Packages|1|1),(Time|1|3)
1032826 backup_reset (Transport|3)
1042827 backup_initialize
1052830 restore_start (Transport|3),(Source|2|5)
1062831 restore_transport_failure
1072832 restore_agent_failure (Package|3),(Message|3)
1082833 restore_package (Package|3),(Size|1|2)
1092834 restore_success (Packages|1|1),(Time|1|3)
110
Christopher Tate4cf9f002014-08-05 16:12:42 -07001112840 full_backup_package (Package|3)
1122841 full_backup_agent_failure (Package|3),(Message|3)
1132842 full_backup_transport_failure
1142843 full_backup_success (Package|3)
1152844 full_restore_package (Package|3)
116
1172850 backup_transport_lifecycle (Transport|3),(Bound|1|1)
118
Doug Zongkerab5c49c2009-12-04 10:31:43 -0800119
120# ---------------------------
121# SystemServer.java
122# ---------------------------
123# SystemServer.run() starts:
1243010 boot_progress_system_run (time|2|3)
125
126
127# ---------------------------
128# PackageManagerService.java
129# ---------------------------
130# Package Manager starts:
1313060 boot_progress_pms_start (time|2|3)
132# Package Manager .apk scan starts:
1333070 boot_progress_pms_system_scan_start (time|2|3)
134# Package Manager .apk scan starts:
1353080 boot_progress_pms_data_scan_start (time|2|3)
136# Package Manager .apk scan ends:
1373090 boot_progress_pms_scan_end (time|2|3)
138# Package Manager ready:
1393100 boot_progress_pms_ready (time|2|3)
140# + check activity_launch_time for Home app
Matt Finifterf8a98ed2012-05-14 15:43:34 -0700141# Value of "unknown sources" setting at app install time
1423110 unknown_sources_enabled (value|1)
Jeff Sharkey3933a5d2014-10-03 15:09:14 -0700143# Package Manager critical info
1443120 pm_critical_info (msg|3)
Doug Zongkerab5c49c2009-12-04 10:31:43 -0800145
146
147# ---------------------------
148# WindowManagerService.java
149# ---------------------------
150# Out of memory for surfaces.
15131000 wm_no_surface_memory (Window|3),(PID|1|5),(Operation|3)
Craig Mautner2c2549c2013-11-12 08:31:15 -0800152# Task created.
15331001 wm_task_created (TaskId|1|5),(StackId|1|5)
154# Task moved to top (1) or bottom (0).
15531002 wm_task_moved (TaskId|1|5),(ToTop|1),(Index|1)
156# Task removed with source explanation.
15731003 wm_task_removed (TaskId|1|5),(Reason|3)
158# Stack created.
15931004 wm_stack_created (StackId|1|5),(RelativeBoxId|1|5),(Position|1),(Weight|1|6)
160# Home stack moved to top (1) or bottom (0).
16131005 wm_home_stack_moved (ToTop|1)
162# Stack removed.
16331006 wm_stack_removed (StackId|1|5)
Doug Zongkerab5c49c2009-12-04 10:31:43 -0800164
165
166# ---------------------------
167# InputMethodManagerService.java
168# ---------------------------
169# Re-connecting to input method service because we haven't received its interface
17032000 imf_force_reconnect_ime (IME|4),(Time Since Connect|2|3),(Showing|1|1)
171
172
173# ---------------------------
Filip Gruszczynski5dcc3ac2014-10-13 15:51:39 -0700174# WallpaperManagerService.java
175# ---------------------------
17633000 wp_wallpaper_crashed (component|3)
177
Dianne Hackbornf70faed2015-04-21 14:11:38 -0700178# ---------------------------
179# Device idle
180# ---------------------------
18134000 device_idle (state|1|5), (reason|3)
18234001 device_idle_step
18334002 device_idle_wake_from_idle (is_idle|1|5), (reason|3)
184
Jeff Browna576b4d2015-04-23 19:58:06 -0700185# ---------------------------
186# DisplayManagerService.java
187# ---------------------------
188# Auto-brightness adjustments by the user.
18935000 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 Gruszczynski5dcc3ac2014-10-13 15:51:39 -0700190
191# ---------------------------
Doug Zongkerab5c49c2009-12-04 10:31:43 -0800192# ConnectivityService.java
193# ---------------------------
Jeff Sharkey2528b502012-11-09 15:57:02 -0800194# Connectivity state changed
19550020 connectivity_state_changed (type|1),(subtype|1),(state|1)
Jeff Sharkey07b0dd92011-09-01 13:06:19 -0700196
197
198# ---------------------------
199# NetworkStatsService.java
200# ---------------------------
Jeff Sharkey63abc372012-01-11 18:38:16 -080020151100 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)
20251101 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 Sharkey91c6a642012-09-06 18:33:14 -0700203
204
205# ---------------------------
206# LockdownVpnTracker.java
207# ---------------------------
20851200 lockdown_vpn_connecting (egress_net|1)
20951201 lockdown_vpn_connected (egress_net|1)
21051202 lockdown_vpn_error (egress_net|1)
Geremy Condra7c65e392012-09-11 16:57:17 -0700211
212# ---------------------------
213# ConfigUpdateInstallReceiver.java
214# ---------------------------
21551300 config_install_failed (dir|3)
Ben Gruver8be8df22013-04-05 19:21:19 -0700216
217# ---------------------------
218# IntentFirewall.java
219# ---------------------------
22051400 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)
Svetoslavf23b64d2013-04-25 14:45:54 -0700221
222# ---------------------------
223# IdleMaintenanceService.java
224# ---------------------------
2252753 idle_maintenance_window_start (time|2|3), (lastUserActivity|2|3), (batteryLevel|1|6), (batteryCharging|1|5)
2262754 idle_maintenance_window_finish (time|2|3), (lastUserActivity|2|3), (batteryLevel|1|6), (batteryCharging|1|5)
227
228# ---------------------------
229# MountService.java
230# ---------------------------
2312755 fstrim_start (time|2|3)
2322756 fstrim_finish (time|2|3)
John Spurlock90874332015-03-10 16:00:54 -0400233
234# ---------------------------
235# AudioService.java
236# ---------------------------
23740000 volume_changed (stream|1), (prev_level|1), (level|1), (max_level|1), (caller|3)
John Spurlock8a52c442015-03-26 14:23:58 -040023840001 stream_devices_changed (stream|1), (prev_devices|1), (devices|1)