blob: b595eb15ee150f2894391fe3778ffb57df46f85c [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.
Makoto Onuki5ab5e1d2017-04-14 17:04:26 -0700282728 power_screen_state (offOrOn|1|5),(becauseOfUser|1|5),(totalTouchDownTime|2|3),(touchCycles|1|1),(latency|1|3)
Doug Zongkerab5c49c2009-12-04 10:31:43 -080029# 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)
Mojtaba2d80edc2015-09-18 16:35:24 -070032# 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)
Makoto Onuki85dd0852017-12-01 09:16:48 -080035# Power save state has changed. See BatterySaverController.java for the details.
Kweku Adams9f488e22019-01-14 16:25:08 -0800362739 battery_saver_mode (fullPrevOffOrOn|1|5),(adaptivePrevOffOrOn|1|5),(fullNowOffOrOn|1|5),(adaptiveNowOffOrOn|1|5),(interactive|1|5),(features|3|5),(reason|1|5)
Makoto Onuki472d8e32018-01-31 12:37:15 -08003727390 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)
Michael Wrightb55e3a12018-03-06 15:14:06 +000038# Note when the user activity timeout has been overriden by ActivityManagerService
3927391 user_activity_timeout_override (override|2|3)
Makoto Onuki0f8617a2018-04-30 10:26:21 -07004027392 battery_saver_setting (threshold|1)
Doug Zongkerab5c49c2009-12-04 10:31:43 -080041
Wei Wangd295b272019-08-01 11:51:15 -070042
43# ---------------------------
44# ThermalManagerService.java
45# ---------------------------
462737 thermal_changed (name|3),(type|1|5),(temperature|5),(sensor_status|1|5),(previous_system_status|1|5)
47
Doug Zongkerab5c49c2009-12-04 10:31:43 -080048#
Makoto Onuki85dd0852017-12-01 09:16:48 -080049# Leave IDs through 2740 for more power logs (2730 used by battery_discharge above)
Doug Zongkerab5c49c2009-12-04 10:31:43 -080050#
51
52
53# ---------------------------
Jeff Sharkey4b496572012-04-19 14:17:03 -070054# DeviceStorageMonitorService.java
Doug Zongkerab5c49c2009-12-04 10:31:43 -080055# ---------------------------
Jeff Sharkeyddff8072017-05-26 13:10:46 -060056# File on cache partition was deleted
Jeff Sharkey4b496572012-04-19 14:17:03 -0700572748 cache_file_deleted (path|3)
Jeff Sharkeyddff8072017-05-26 13:10:46 -060058# Storage volume state and usable space in bytes
592749 storage_state (uuid|3),(old_state|1),(new_state|1),(usable|2),(total|2)
Doug Zongkerab5c49c2009-12-04 10:31:43 -080060
61
62# ---------------------------
63# NotificationManagerService.java
64# ---------------------------
Christoph Studer265c1052014-07-23 17:14:33 +020065# when a NotificationManager.notify is called. status: 0=post, 1=update, 2=ignored
662750 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 -080067# when someone tries to cancel a notification, the notification manager sometimes
68# calls this with flags too
John Spurlocke6a7d932014-03-13 12:29:00 -0400692751 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 -080070# when someone tries to cancel all of the notifications for a particular package
John Spurlocke6a7d932014-03-13 12:29:00 -0400712752 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 +010072# when the notification panel is shown
73# Note: New tag range starts here since 2753+ have been used below.
Chris Wrenb659c4f2015-06-25 17:12:27 -04007427500 notification_panel_revealed (items|1)
Christoph Studer760ea552014-03-21 13:10:21 +010075# when the notification panel is hidden
7627501 notification_panel_hidden
Christoph Studer92b389d2014-04-01 18:44:40 +020077# when notifications are newly displayed on screen, or disappear from screen
7827510 notification_visibility_changed (newlyVisibleKeys|3),(noLongerVisibleKeys|3)
Chris Wren78403d72014-07-28 10:23:24 +010079# when notifications are expanded, or contracted
Chris Wrene6ddb8a2015-05-27 15:21:00 -04008027511 notification_expansion (key|3),(user_action|1),(expanded|1),(lifespan|1),(freshness|1),(exposure|1)
Christoph Studer03b87a22014-04-30 17:33:27 +020081# when a notification has been clicked
Dieter Hsud39f0d52018-04-14 02:08:30 +08008227520 notification_clicked (key|3),(lifespan|1),(freshness|1),(exposure|1),(rank|1),(count|1)
Christoph Studer4da84cd2014-10-21 17:24:20 +020083# when a notification action button has been clicked
Dieter Hsud39f0d52018-04-14 02:08:30 +08008427521 notification_action_clicked (key|3),(action_index|1),(lifespan|1),(freshness|1),(exposure|1),(rank|1),(count|1)
Christoph Studer81e5b5f2014-10-22 17:19:56 +020085# when a notification has been canceled
Dieter Hsud39f0d52018-04-14 02:08:30 +08008627530 notification_canceled (key|3),(reason|1),(lifespan|1),(freshness|1),(exposure|1),(rank|1),(count|1),(listener|3)
Chris Wren6650e572015-05-15 17:19:25 -040087# replaces 27510 with a row per notification
Chris Wrend1dbc922015-06-19 17:51:16 -04008827531 notification_visibility (key|3),(visibile|1),(lifespan|1),(freshness|1),(exposure|1),(rank|1)
Chris Wren82ba59d2015-06-05 11:23:44 -040089# a notification emited noise, vibration, or light
9027532 notification_alert (key|3),(buzz|1),(beep|1),(blink|1)
Julia Reynoldsb1ebc3b2016-04-15 15:12:36 -040091# a notification was added to a autogroup
9227533 notification_autogrouped (key|3)
93# notification was removed from an autogroup
94275534 notification_unautogrouped (key|3)
Doug Zongkerab5c49c2009-12-04 10:31:43 -080095
96# ---------------------------
97# Watchdog.java
98# ---------------------------
992802 watchdog (Service|3)
1002803 watchdog_proc_pss (Process|3),(Pid|1|5),(Pss|1|2)
1012804 watchdog_soft_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2),(Skip|3)
1022805 watchdog_hard_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2)
1032806 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)
1042807 watchdog_proc_stats (DeathsInOne|1|1),(DeathsInTwo|1|1),(DeathsInThree|1|1),(DeathsInFour|1|1),(DeathsInFive|1|1)
1052808 watchdog_scheduled_reboot (Now|2|1),(Interval|1|3),(StartTime|1|3),(Window|1|3),(Skip|3)
1062809 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)
1072810 watchdog_vmstat (runtime|2|3),(pgfree|1|1),(pgactivate|1|1),(pgdeactivate|1|1),(pgfault|1|1),(pgmajfault|1|1)
1082811 watchdog_requested_reboot (NoWait|1|1),(ScheduleInterval|1|3),(RecheckInterval|1|3),(StartTime|1|3),(Window|1|3),(MinScreenOff|1|3),(MinNextAlarm|1|3)
109
Jeff Sharkeyfe6f85c2017-01-20 10:42:57 -0700110# ---------------------------
111# RescueParty.java
112# ---------------------------
1132900 rescue_note (uid|1),(count|1),(window|2)
1142901 rescue_level (level|1),(trigger_uid|1)
1152902 rescue_success (level|1)
1162903 rescue_failure (level|1),(msg|3)
Doug Zongkerab5c49c2009-12-04 10:31:43 -0800117
118# ---------------------------
119# BackupManagerService.java
120# ---------------------------
1212820 backup_data_changed (Package|3)
1222821 backup_start (Transport|3)
1232822 backup_transport_failure (Package|3)
1242823 backup_agent_failure (Package|3),(Message|3)
1252824 backup_package (Package|3),(Size|1|2)
1262825 backup_success (Packages|1|1),(Time|1|3)
1272826 backup_reset (Transport|3)
1282827 backup_initialize
Sergey Poromovfe06bf62015-12-15 16:26:23 +01001292828 backup_requested (Total|1|1),(Key-Value|1|1),(Full|1|1)
Sergey Poromov872d3b62016-01-12 15:48:08 +01001302829 backup_quota_exceeded (Package|3)
Doug Zongkerab5c49c2009-12-04 10:31:43 -08001312830 restore_start (Transport|3),(Source|2|5)
1322831 restore_transport_failure
1332832 restore_agent_failure (Package|3),(Message|3)
1342833 restore_package (Package|3),(Size|1|2)
1352834 restore_success (Packages|1|1),(Time|1|3)
136
Christopher Tate4cf9f002014-08-05 16:12:42 -07001372840 full_backup_package (Package|3)
1382841 full_backup_agent_failure (Package|3),(Message|3)
1392842 full_backup_transport_failure
1402843 full_backup_success (Package|3)
1412844 full_restore_package (Package|3)
Sergey Poromov872d3b62016-01-12 15:48:08 +01001422845 full_backup_quota_exceeded (Package|3)
Shreyas Basargec3704422017-01-28 16:50:09 +00001432846 full_backup_cancelled (Package|3),(Message|3)
Christopher Tate4cf9f002014-08-05 16:12:42 -0700144
1452850 backup_transport_lifecycle (Transport|3),(Bound|1|1)
Bernardo Rufinoaa56a6c2018-01-16 14:10:19 +00001462851 backup_transport_connection (Transport|3),(Connected|1|1)
Christopher Tate4cf9f002014-08-05 16:12:42 -0700147
Doug Zongkerab5c49c2009-12-04 10:31:43 -0800148
149# ---------------------------
150# SystemServer.java
151# ---------------------------
152# SystemServer.run() starts:
1533010 boot_progress_system_run (time|2|3)
Makoto Onukib4739d92019-02-15 15:22:04 -08001543011 system_server_start (start_count|1),(uptime|2|3),(elapse_time|2|3)
Doug Zongkerab5c49c2009-12-04 10:31:43 -0800155
156# ---------------------------
157# PackageManagerService.java
158# ---------------------------
159# Package Manager starts:
1603060 boot_progress_pms_start (time|2|3)
161# Package Manager .apk scan starts:
1623070 boot_progress_pms_system_scan_start (time|2|3)
163# Package Manager .apk scan starts:
1643080 boot_progress_pms_data_scan_start (time|2|3)
165# Package Manager .apk scan ends:
1663090 boot_progress_pms_scan_end (time|2|3)
167# Package Manager ready:
1683100 boot_progress_pms_ready (time|2|3)
169# + check activity_launch_time for Home app
Matt Finifterf8a98ed2012-05-14 15:43:34 -0700170# Value of "unknown sources" setting at app install time
1713110 unknown_sources_enabled (value|1)
Jeff Sharkey3933a5d2014-10-03 15:09:14 -0700172# Package Manager critical info
1733120 pm_critical_info (msg|3)
Jeff Sharkey5eb3eb52016-12-13 08:44:51 -0700174# Disk usage stats for verifying quota correctness
1753121 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)
Doug Zongkerab5c49c2009-12-04 10:31:43 -0800176
177# ---------------------------
Doug Zongkerab5c49c2009-12-04 10:31:43 -0800178# InputMethodManagerService.java
179# ---------------------------
180# Re-connecting to input method service because we haven't received its interface
18132000 imf_force_reconnect_ime (IME|4),(Time Since Connect|2|3),(Showing|1|1)
182
183
184# ---------------------------
Filip Gruszczynski5dcc3ac2014-10-13 15:51:39 -0700185# WallpaperManagerService.java
186# ---------------------------
18733000 wp_wallpaper_crashed (component|3)
188
Dianne Hackbornf70faed2015-04-21 14:11:38 -0700189# ---------------------------
190# Device idle
191# ---------------------------
19234000 device_idle (state|1|5), (reason|3)
19334001 device_idle_step
19434002 device_idle_wake_from_idle (is_idle|1|5), (reason|3)
Dianne Hackborn3b16cf42015-07-01 15:05:04 -070019534003 device_idle_on_start
19634004 device_idle_on_phase (what|3)
19734005 device_idle_on_complete
19834006 device_idle_off_start (reason|3)
19934007 device_idle_off_phase (what|3)
20034008 device_idle_off_complete
Dianne Hackborn08c47a52015-10-15 12:38:14 -070020134009 device_idle_light (state|1|5), (reason|3)
20234010 device_idle_light_step
Dianne Hackbornf70faed2015-04-21 14:11:38 -0700203
Jeff Browna576b4d2015-04-23 19:58:06 -0700204# ---------------------------
205# DisplayManagerService.java
206# ---------------------------
207# Auto-brightness adjustments by the user.
Dan Gittik57d6f112018-03-27 18:14:22 +010020835000 auto_brightness_adj (old_lux|5),(old_brightness|5),(new_lux|5),(new_brightness|5)
Filip Gruszczynski5dcc3ac2014-10-13 15:51:39 -0700209
210# ---------------------------
Doug Zongkerab5c49c2009-12-04 10:31:43 -0800211# ConnectivityService.java
212# ---------------------------
Jeff Sharkey2528b502012-11-09 15:57:02 -0800213# Connectivity state changed
21450020 connectivity_state_changed (type|1),(subtype|1),(state|1)
Jeff Sharkey07b0dd92011-09-01 13:06:19 -0700215
216
217# ---------------------------
218# NetworkStatsService.java
219# ---------------------------
Jeff Sharkey63abc372012-01-11 18:38:16 -080022051100 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)
22151101 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 -0700222
223
224# ---------------------------
225# LockdownVpnTracker.java
226# ---------------------------
22751200 lockdown_vpn_connecting (egress_net|1)
22851201 lockdown_vpn_connected (egress_net|1)
22951202 lockdown_vpn_error (egress_net|1)
Geremy Condra7c65e392012-09-11 16:57:17 -0700230
231# ---------------------------
232# ConfigUpdateInstallReceiver.java
233# ---------------------------
23451300 config_install_failed (dir|3)
Ben Gruver8be8df22013-04-05 19:21:19 -0700235
236# ---------------------------
237# IntentFirewall.java
238# ---------------------------
23951400 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 -0700240
241# ---------------------------
242# IdleMaintenanceService.java
243# ---------------------------
Dianne Hackborn3b16cf42015-07-01 15:05:04 -070024451500 idle_maintenance_window_start (time|2|3), (lastUserActivity|2|3), (batteryLevel|1|6), (batteryCharging|1|5)
24551501 idle_maintenance_window_finish (time|2|3), (lastUserActivity|2|3), (batteryLevel|1|6), (batteryCharging|1|5)
Svetoslavf23b64d2013-04-25 14:45:54 -0700246
247# ---------------------------
Sudheer Shanka2250d562016-11-07 15:41:02 -0800248# StorageManagerService.java
Svetoslavf23b64d2013-04-25 14:45:54 -0700249# ---------------------------
2502755 fstrim_start (time|2|3)
2512756 fstrim_finish (time|2|3)
John Spurlock90874332015-03-10 16:00:54 -0400252
253# ---------------------------
Christopher Tate373ea902018-01-04 16:10:26 -0800254# Job scheduler
255# ---------------------------
2568000 job_deferred_execution (time|2|3)
257
John Spurlock90874332015-03-10 16:00:54 -0400258# AudioService.java
259# ---------------------------
26040000 volume_changed (stream|1), (prev_level|1), (level|1), (max_level|1), (caller|3)
John Spurlock8a52c442015-03-26 14:23:58 -040026140001 stream_devices_changed (stream|1), (prev_devices|1), (devices|1)
Zhentao Sun575b6fd2015-08-25 21:26:45 -0700262
263# ---------------------------
264# GestureLauncherService.java
265# ---------------------------
26640100 camera_gesture_triggered (gesture_on_time|2|3), (sensor1_on_time|2|3), (sensor2_on_time|2|3), (event_extra|1|1)
Neil Fullercde5e992017-07-20 11:00:35 +0100267
268# ---------------------------
269# timezone/RulesManagerService.java
270# ---------------------------
27151600 timezone_trigger_check (token|3)
27251610 timezone_request_install (token|3)
27351611 timezone_install_started (token|3)
27451612 timezone_install_complete (token|3), (result|1)
27551620 timezone_request_uninstall (token|3)
27651621 timezone_uninstall_started (token|3)
27751622 timezone_uninstall_complete (token|3), (result|1)
27851630 timezone_request_nothing (token|3)
27951631 timezone_nothing_complete (token|3)