1# 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# ---------------------------
39# DeviceStorageMonitorService.java
40# ---------------------------
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)
47# file on cache partition was deleted
482748 cache_file_deleted (path|3)
49
50
51# ---------------------------
52# NotificationManagerService.java
53# ---------------------------
54# when a NotificationManager.notify is called
552750 notification_enqueue (uid|1|5),(pid|1|5),(pkg|3),(id|1|5),(tag|3),(userid|1|5),(notification|3)
56# when someone tries to cancel a notification, the notification manager sometimes
57# calls this with flags too
582751 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)
59# when someone tries to cancel all of the notifications for a particular package
602752 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)
61# 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
66# when notifications are newly displayed on screen, or disappear from screen
6727510 notification_visibility_changed (newlyVisibleKeys|3),(noLongerVisibleKeys|3)
68# when notifications are expanded, or contracted
6927511 notification_expansion (key|3),(user_action|1),(expanded|1)
70# when a notification has been clicked
7127520 notification_clicked (key|3)
72
73# ---------------------------
74# Watchdog.java
75# ---------------------------
762802 watchdog (Service|3)
772803 watchdog_proc_pss (Process|3),(Pid|1|5),(Pss|1|2)
782804 watchdog_soft_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2),(Skip|3)
792805 watchdog_hard_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2)
802806 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)
812807 watchdog_proc_stats (DeathsInOne|1|1),(DeathsInTwo|1|1),(DeathsInThree|1|1),(DeathsInFour|1|1),(DeathsInFive|1|1)
822808 watchdog_scheduled_reboot (Now|2|1),(Interval|1|3),(StartTime|1|3),(Window|1|3),(Skip|3)
832809 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)
842810 watchdog_vmstat (runtime|2|3),(pgfree|1|1),(pgactivate|1|1),(pgdeactivate|1|1),(pgfault|1|1),(pgmajfault|1|1)
852811 watchdog_requested_reboot (NoWait|1|1),(ScheduleInterval|1|3),(RecheckInterval|1|3),(StartTime|1|3),(Window|1|3),(MinScreenOff|1|3),(MinNextAlarm|1|3)
86
87
88# ---------------------------
89# BackupManagerService.java
90# ---------------------------
912820 backup_data_changed (Package|3)
922821 backup_start (Transport|3)
932822 backup_transport_failure (Package|3)
942823 backup_agent_failure (Package|3),(Message|3)
952824 backup_package (Package|3),(Size|1|2)
962825 backup_success (Packages|1|1),(Time|1|3)
972826 backup_reset (Transport|3)
982827 backup_initialize
992830 restore_start (Transport|3),(Source|2|5)
1002831 restore_transport_failure
1012832 restore_agent_failure (Package|3),(Message|3)
1022833 restore_package (Package|3),(Size|1|2)
1032834 restore_success (Packages|1|1),(Time|1|3)
104
1052840 full_backup_package (Package|3)
1062841 full_backup_agent_failure (Package|3),(Message|3)
1072842 full_backup_transport_failure
1082843 full_backup_success (Package|3)
1092844 full_restore_package (Package|3)
110
1112850 backup_transport_lifecycle (Transport|3),(Bound|1|1)
112
113
114# ---------------------------
115# SystemServer.java
116# ---------------------------
117# SystemServer.run() starts:
1183010 boot_progress_system_run (time|2|3)
119
120
121# ---------------------------
122# PackageManagerService.java
123# ---------------------------
124# Package Manager starts:
1253060 boot_progress_pms_start (time|2|3)
126# Package Manager .apk scan starts:
1273070 boot_progress_pms_system_scan_start (time|2|3)
128# Package Manager .apk scan starts:
1293080 boot_progress_pms_data_scan_start (time|2|3)
130# Package Manager .apk scan ends:
1313090 boot_progress_pms_scan_end (time|2|3)
132# Package Manager ready:
1333100 boot_progress_pms_ready (time|2|3)
134# + check activity_launch_time for Home app
135# Value of "unknown sources" setting at app install time
1363110 unknown_sources_enabled (value|1)
137# Package Manager critical info
1383120 pm_critical_info (msg|3)
139
140
141# ---------------------------
142# WindowManagerService.java
143# ---------------------------
144# Out of memory for surfaces.
14531000 wm_no_surface_memory (Window|3),(PID|1|5),(Operation|3)
146# Task created.
14731001 wm_task_created (TaskId|1|5),(StackId|1|5)
148# Task moved to top (1) or bottom (0).
14931002 wm_task_moved (TaskId|1|5),(ToTop|1),(Index|1)
150# Task removed with source explanation.
15131003 wm_task_removed (TaskId|1|5),(Reason|3)
152# Stack created.
15331004 wm_stack_created (StackId|1|5),(RelativeBoxId|1|5),(Position|1),(Weight|1|6)
154# Home stack moved to top (1) or bottom (0).
15531005 wm_home_stack_moved (ToTop|1)
156# Stack removed.
15731006 wm_stack_removed (StackId|1|5)
158
159
160# ---------------------------
161# InputMethodManagerService.java
162# ---------------------------
163# Re-connecting to input method service because we haven't received its interface
16432000 imf_force_reconnect_ime (IME|4),(Time Since Connect|2|3),(Showing|1|1)
165
166
167# ---------------------------
168# ConnectivityService.java
169# ---------------------------
170# Connectivity state changed
17150020 connectivity_state_changed (type|1),(subtype|1),(state|1)
172
173
174# ---------------------------
175# NetworkStatsService.java
176# ---------------------------
17751100 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)
17851101 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)
179
180
181# ---------------------------
182# LockdownVpnTracker.java
183# ---------------------------
18451200 lockdown_vpn_connecting (egress_net|1)
18551201 lockdown_vpn_connected (egress_net|1)
18651202 lockdown_vpn_error (egress_net|1)
187
188# ---------------------------
189# ConfigUpdateInstallReceiver.java
190# ---------------------------
19151300 config_install_failed (dir|3)
192
193# ---------------------------
194# IntentFirewall.java
195# ---------------------------
19651400 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)
197
198# ---------------------------
199# IdleMaintenanceService.java
200# ---------------------------
2012753 idle_maintenance_window_start (time|2|3), (lastUserActivity|2|3), (batteryLevel|1|6), (batteryCharging|1|5)
2022754 idle_maintenance_window_finish (time|2|3), (lastUserActivity|2|3), (batteryLevel|1|6), (batteryCharging|1|5)
203
204# ---------------------------
205# MountService.java
206# ---------------------------
2072755 fstrim_start (time|2|3)
2082756 fstrim_finish (time|2|3)
209