blob: f0b5958abc3e733638176a830d2bf8827a074901 [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# ---------------------------
39# DeviceStorageMonitoryService.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
48
49# ---------------------------
50# NotificationManagerService.java
51# ---------------------------
52# when a NotificationManager.notify is called
532750 notification_enqueue (pkg|3),(id|1|5),(notification|3)
54# when someone tries to cancel a notification, the notification manager sometimes
55# calls this with flags too
562751 notification_cancel (pkg|3),(id|1|5),(required_flags|1)
57# when someone tries to cancel all of the notifications for a particular package
582752 notification_cancel_all (pkg|3),(required_flags|1)
59
60
61# ---------------------------
62# Watchdog.java
63# ---------------------------
642802 watchdog (Service|3)
652803 watchdog_proc_pss (Process|3),(Pid|1|5),(Pss|1|2)
662804 watchdog_soft_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2),(Skip|3)
672805 watchdog_hard_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2)
682806 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)
692807 watchdog_proc_stats (DeathsInOne|1|1),(DeathsInTwo|1|1),(DeathsInThree|1|1),(DeathsInFour|1|1),(DeathsInFive|1|1)
702808 watchdog_scheduled_reboot (Now|2|1),(Interval|1|3),(StartTime|1|3),(Window|1|3),(Skip|3)
712809 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)
722810 watchdog_vmstat (runtime|2|3),(pgfree|1|1),(pgactivate|1|1),(pgdeactivate|1|1),(pgfault|1|1),(pgmajfault|1|1)
732811 watchdog_requested_reboot (NoWait|1|1),(ScheduleInterval|1|3),(RecheckInterval|1|3),(StartTime|1|3),(Window|1|3),(MinScreenOff|1|3),(MinNextAlarm|1|3)
74
75
76# ---------------------------
77# BackupManagerService.java
78# ---------------------------
792820 backup_data_changed (Package|3)
802821 backup_start (Transport|3)
812822 backup_transport_failure (Package|3)
822823 backup_agent_failure (Package|3),(Message|3)
832824 backup_package (Package|3),(Size|1|2)
842825 backup_success (Packages|1|1),(Time|1|3)
852826 backup_reset (Transport|3)
862827 backup_initialize
872830 restore_start (Transport|3),(Source|2|5)
882831 restore_transport_failure
892832 restore_agent_failure (Package|3),(Message|3)
902833 restore_package (Package|3),(Size|1|2)
912834 restore_success (Packages|1|1),(Time|1|3)
92
93
94# ---------------------------
95# SystemServer.java
96# ---------------------------
97# SystemServer.run() starts:
983010 boot_progress_system_run (time|2|3)
99
100
101# ---------------------------
102# PackageManagerService.java
103# ---------------------------
104# Package Manager starts:
1053060 boot_progress_pms_start (time|2|3)
106# Package Manager .apk scan starts:
1073070 boot_progress_pms_system_scan_start (time|2|3)
108# Package Manager .apk scan starts:
1093080 boot_progress_pms_data_scan_start (time|2|3)
110# Package Manager .apk scan ends:
1113090 boot_progress_pms_scan_end (time|2|3)
112# Package Manager ready:
1133100 boot_progress_pms_ready (time|2|3)
114# + check activity_launch_time for Home app
115
116
117# ---------------------------
118# WindowManagerService.java
119# ---------------------------
120# Out of memory for surfaces.
12131000 wm_no_surface_memory (Window|3),(PID|1|5),(Operation|3)
122
123
124# ---------------------------
125# InputMethodManagerService.java
126# ---------------------------
127# Re-connecting to input method service because we haven't received its interface
12832000 imf_force_reconnect_ime (IME|4),(Time Since Connect|2|3),(Showing|1|1)
129
130
131# ---------------------------
132# ConnectivityService.java
133# ---------------------------
134# Connectivity state changed:
135# [31-13] Reserved for future use
136# [12- 9] Network subtype (for mobile network, as defined by TelephonyManager)
137# [ 8- 3] Detailed state ordinal (as defined by NetworkInfo.DetailedState)
138# [ 2- 0] Network type (as defined by ConnectivityManager)
13950020 connectivity_state_changed (custom|1|5)
Jeff Sharkey07b0dd92011-09-01 13:06:19 -0700140
141
142# ---------------------------
143# NetworkStatsService.java
144# ---------------------------
14551100 netstats_mobile_sample (iface_rx|2|2),(iface_tx|2|2),(uid_rx|2|2),(uid_tx|2|2)
14651101 netstats_wifi_sample (iface_rx|2|2),(iface_tx|2|2),(uid_rx|2|2),(uid_tx|2|2)