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),(latency|1|3)
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# The device is being asked to go into a soft sleep (typically by the ungaze gesture).
33# It logs the time remaining before the device would've normally gone to sleep without the request.
342731 power_soft_sleep_requested (savedwaketimems|2)
35# Power save state has changed. See BatterySaverController.java for the details.
362739 battery_saver_mode (prevOffOrOn|1|5),(nowOffOrOn|1|5),(interactive|1|5),(features|3|5),(reason|1|5)
3727390 battery_saving_stats (batterySaver|1|5),(interactive|1|5),(doze|1|5),(delta_duration|2|3),(delta_battery_drain|1|1),(delta_battery_drain_percent|1|6),(total_duration|2|3),(total_battery_drain|1|1),(total_battery_drain_percent|1|6)
38# Note when the user activity timeout has been overriden by ActivityManagerService
3927391 user_activity_timeout_override (override|2|3)
4027392 battery_saver_setting (threshold|1)
41
42#
43# Leave IDs through 2740 for more power logs (2730 used by battery_discharge above)
44#
45
46
47# ---------------------------
48# DeviceStorageMonitorService.java
49# ---------------------------
50# File on cache partition was deleted
512748 cache_file_deleted (path|3)
52# Storage volume state and usable space in bytes
532749 storage_state (uuid|3),(old_state|1),(new_state|1),(usable|2),(total|2)
54
55
56# ---------------------------
57# NotificationManagerService.java
58# ---------------------------
59# when a NotificationManager.notify is called. status: 0=post, 1=update, 2=ignored
602750 notification_enqueue (uid|1|5),(pid|1|5),(pkg|3),(id|1|5),(tag|3),(userid|1|5),(notification|3),(status|1)
61# when someone tries to cancel a notification, the notification manager sometimes
62# calls this with flags too
632751 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)
64# when someone tries to cancel all of the notifications for a particular package
652752 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)
66# when the notification panel is shown
67# Note: New tag range starts here since 2753+ have been used below.
6827500 notification_panel_revealed (items|1)
69# when the notification panel is hidden
7027501 notification_panel_hidden
71# when notifications are newly displayed on screen, or disappear from screen
7227510 notification_visibility_changed (newlyVisibleKeys|3),(noLongerVisibleKeys|3)
73# when notifications are expanded, or contracted
7427511 notification_expansion (key|3),(user_action|1),(expanded|1),(lifespan|1),(freshness|1),(exposure|1)
75# when a notification has been clicked
7627520 notification_clicked (key|3),(lifespan|1),(freshness|1),(exposure|1),(rank|1),(count|1)
77# when a notification action button has been clicked
7827521 notification_action_clicked (key|3),(action_index|1),(lifespan|1),(freshness|1),(exposure|1),(rank|1),(count|1)
79# when a notification has been canceled
8027530 notification_canceled (key|3),(reason|1),(lifespan|1),(freshness|1),(exposure|1),(rank|1),(count|1),(listener|3)
81# replaces 27510 with a row per notification
8227531 notification_visibility (key|3),(visibile|1),(lifespan|1),(freshness|1),(exposure|1),(rank|1)
83# a notification emited noise, vibration, or light
8427532 notification_alert (key|3),(buzz|1),(beep|1),(blink|1)
85# a notification was added to a autogroup
8627533 notification_autogrouped (key|3)
87# notification was removed from an autogroup
88275534 notification_unautogrouped (key|3)
89
90# ---------------------------
91# Watchdog.java
92# ---------------------------
932802 watchdog (Service|3)
942803 watchdog_proc_pss (Process|3),(Pid|1|5),(Pss|1|2)
952804 watchdog_soft_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2),(Skip|3)
962805 watchdog_hard_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2)
972806 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)
982807 watchdog_proc_stats (DeathsInOne|1|1),(DeathsInTwo|1|1),(DeathsInThree|1|1),(DeathsInFour|1|1),(DeathsInFive|1|1)
992808 watchdog_scheduled_reboot (Now|2|1),(Interval|1|3),(StartTime|1|3),(Window|1|3),(Skip|3)
1002809 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)
1012810 watchdog_vmstat (runtime|2|3),(pgfree|1|1),(pgactivate|1|1),(pgdeactivate|1|1),(pgfault|1|1),(pgmajfault|1|1)
1022811 watchdog_requested_reboot (NoWait|1|1),(ScheduleInterval|1|3),(RecheckInterval|1|3),(StartTime|1|3),(Window|1|3),(MinScreenOff|1|3),(MinNextAlarm|1|3)
103
104# ---------------------------
105# RescueParty.java
106# ---------------------------
1072900 rescue_note (uid|1),(count|1),(window|2)
1082901 rescue_level (level|1),(trigger_uid|1)
1092902 rescue_success (level|1)
1102903 rescue_failure (level|1),(msg|3)
111
112# ---------------------------
113# BackupManagerService.java
114# ---------------------------
1152820 backup_data_changed (Package|3)
1162821 backup_start (Transport|3)
1172822 backup_transport_failure (Package|3)
1182823 backup_agent_failure (Package|3),(Message|3)
1192824 backup_package (Package|3),(Size|1|2)
1202825 backup_success (Packages|1|1),(Time|1|3)
1212826 backup_reset (Transport|3)
1222827 backup_initialize
1232828 backup_requested (Total|1|1),(Key-Value|1|1),(Full|1|1)
1242829 backup_quota_exceeded (Package|3)
1252830 restore_start (Transport|3),(Source|2|5)
1262831 restore_transport_failure
1272832 restore_agent_failure (Package|3),(Message|3)
1282833 restore_package (Package|3),(Size|1|2)
1292834 restore_success (Packages|1|1),(Time|1|3)
130
1312840 full_backup_package (Package|3)
1322841 full_backup_agent_failure (Package|3),(Message|3)
1332842 full_backup_transport_failure
1342843 full_backup_success (Package|3)
1352844 full_restore_package (Package|3)
1362845 full_backup_quota_exceeded (Package|3)
1372846 full_backup_cancelled (Package|3),(Message|3)
138
1392850 backup_transport_lifecycle (Transport|3),(Bound|1|1)
1402851 backup_transport_connection (Transport|3),(Connected|1|1)
141
142
143# ---------------------------
144# SystemServer.java
145# ---------------------------
146# SystemServer.run() starts:
1473010 boot_progress_system_run (time|2|3)
148
149
150# ---------------------------
151# PackageManagerService.java
152# ---------------------------
153# Package Manager starts:
1543060 boot_progress_pms_start (time|2|3)
155# Package Manager .apk scan starts:
1563070 boot_progress_pms_system_scan_start (time|2|3)
157# Package Manager .apk scan starts:
1583080 boot_progress_pms_data_scan_start (time|2|3)
159# Package Manager .apk scan ends:
1603090 boot_progress_pms_scan_end (time|2|3)
161# Package Manager ready:
1623100 boot_progress_pms_ready (time|2|3)
163# + check activity_launch_time for Home app
164# Value of "unknown sources" setting at app install time
1653110 unknown_sources_enabled (value|1)
166# Package Manager critical info
1673120 pm_critical_info (msg|3)
168# Disk usage stats for verifying quota correctness
1693121 pm_package_stats (manual_time|2|3),(quota_time|2|3),(manual_data|2|2),(quota_data|2|2),(manual_cache|2|2),(quota_cache|2|2)
170
171# ---------------------------
172# WindowManagerService.java
173# ---------------------------
174# Out of memory for surfaces.
17531000 wm_no_surface_memory (Window|3),(PID|1|5),(Operation|3)
176# Task created.
17731001 wm_task_created (TaskId|1|5),(StackId|1|5)
178# Task moved to top (1) or bottom (0).
17931002 wm_task_moved (TaskId|1|5),(ToTop|1),(Index|1)
180# Task removed with source explanation.
18131003 wm_task_removed (TaskId|1|5),(Reason|3)
182# Stack created.
18331004 wm_stack_created (StackId|1|5)
184# Home stack moved to top (1) or bottom (0).
18531005 wm_home_stack_moved (ToTop|1)
186# Stack removed.
18731006 wm_stack_removed (StackId|1|5)
188# bootanim finished:
18931007 wm_boot_animation_done (time|2|3)
190
191
192# ---------------------------
193# InputMethodManagerService.java
194# ---------------------------
195# Re-connecting to input method service because we haven't received its interface
19632000 imf_force_reconnect_ime (IME|4),(Time Since Connect|2|3),(Showing|1|1)
197
198
199# ---------------------------
200# WallpaperManagerService.java
201# ---------------------------
20233000 wp_wallpaper_crashed (component|3)
203
204# ---------------------------
205# Device idle
206# ---------------------------
20734000 device_idle (state|1|5), (reason|3)
20834001 device_idle_step
20934002 device_idle_wake_from_idle (is_idle|1|5), (reason|3)
21034003 device_idle_on_start
21134004 device_idle_on_phase (what|3)
21234005 device_idle_on_complete
21334006 device_idle_off_start (reason|3)
21434007 device_idle_off_phase (what|3)
21534008 device_idle_off_complete
21634009 device_idle_light (state|1|5), (reason|3)
21734010 device_idle_light_step
218
219# ---------------------------
220# DisplayManagerService.java
221# ---------------------------
222# Auto-brightness adjustments by the user.
22335000 auto_brightness_adj (old_lux|5),(old_brightness|5),(new_lux|5),(new_brightness|5)
224
225# ---------------------------
226# ConnectivityService.java
227# ---------------------------
228# Connectivity state changed
22950020 connectivity_state_changed (type|1),(subtype|1),(state|1)
230
231
232# ---------------------------
233# NetworkStatsService.java
234# ---------------------------
23551100 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)
23651101 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)
237
238
239# ---------------------------
240# LockdownVpnTracker.java
241# ---------------------------
24251200 lockdown_vpn_connecting (egress_net|1)
24351201 lockdown_vpn_connected (egress_net|1)
24451202 lockdown_vpn_error (egress_net|1)
245
246# ---------------------------
247# ConfigUpdateInstallReceiver.java
248# ---------------------------
24951300 config_install_failed (dir|3)
250
251# ---------------------------
252# IntentFirewall.java
253# ---------------------------
25451400 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)
255
256# ---------------------------
257# IdleMaintenanceService.java
258# ---------------------------
25951500 idle_maintenance_window_start (time|2|3), (lastUserActivity|2|3), (batteryLevel|1|6), (batteryCharging|1|5)
26051501 idle_maintenance_window_finish (time|2|3), (lastUserActivity|2|3), (batteryLevel|1|6), (batteryCharging|1|5)
261
262# ---------------------------
263# StorageManagerService.java
264# ---------------------------
2652755 fstrim_start (time|2|3)
2662756 fstrim_finish (time|2|3)
267
268# ---------------------------
269# Job scheduler
270# ---------------------------
2718000 job_deferred_execution (time|2|3)
272
273# AudioService.java
274# ---------------------------
27540000 volume_changed (stream|1), (prev_level|1), (level|1), (max_level|1), (caller|3)
27640001 stream_devices_changed (stream|1), (prev_devices|1), (devices|1)
277
278# ---------------------------
279# GestureLauncherService.java
280# ---------------------------
28140100 camera_gesture_triggered (gesture_on_time|2|3), (sensor1_on_time|2|3), (sensor2_on_time|2|3), (event_extra|1|1)
282
283# ---------------------------
284# timezone/RulesManagerService.java
285# ---------------------------
28651600 timezone_trigger_check (token|3)
28751610 timezone_request_install (token|3)
28851611 timezone_install_started (token|3)
28951612 timezone_install_complete (token|3), (result|1)
29051620 timezone_request_uninstall (token|3)
29151621 timezone_uninstall_started (token|3)
29251622 timezone_uninstall_complete (token|3), (result|1)
29351630 timezone_request_nothing (token|3)
29451631 timezone_nothing_complete (token|3)
295