Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 1 | # See system/core/logcat/event.logtags for a description of the format of this file. |
| 2 | |
| 3 | option java_package com.android.server |
| 4 | |
| 5 | # --------------------------- |
| 6 | # BatteryService.java |
| 7 | # --------------------------- |
| 8 | 2722 battery_level (level|1|6),(voltage|1|1),(temperature|1|1) |
| 9 | 2723 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 |
| 12 | 2730 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). |
| 20 | 2724 power_sleep_requested (wakeLocksCleared|1|1) |
| 21 | # This is logged when the screen on broadcast has completed |
| 22 | 2725 power_screen_broadcast_send (wakelockCount|1|1) |
| 23 | # This is logged when the screen broadcast has completed |
| 24 | 2726 power_screen_broadcast_done (on|1|5),(broadcastDuration|2|3),(wakelockCount|1|1) |
| 25 | # This is logged when the screen on broadcast has completed |
| 26 | 2727 power_screen_broadcast_stop (which|1|5),(wakelockCount|1|1) |
| 27 | # This is logged when the screen is turned on or off. |
| 28 | 2728 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. |
| 31 | 2729 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 Sharkey | 4b49657 | 2012-04-19 14:17:03 -0700 | [diff] [blame] | 39 | # DeviceStorageMonitorService.java |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 40 | # --------------------------- |
| 41 | # The disk space free on the /data partition, in bytes |
| 42 | 2744 free_storage_changed (data|2|2) |
| 43 | # Device low memory notification and disk space free on the /data partition, in bytes at that time |
| 44 | 2745 low_storage (data|2|2) |
| 45 | # disk space free on the /data, /system, and /cache partitions in bytes |
| 46 | 2746 free_storage_left (data|2|2),(system|2|2),(cache|2|2) |
Jeff Sharkey | 4b49657 | 2012-04-19 14:17:03 -0700 | [diff] [blame] | 47 | # file on cache partition was deleted |
| 48 | 2748 cache_file_deleted (path|3) |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 49 | |
| 50 | |
| 51 | # --------------------------- |
| 52 | # NotificationManagerService.java |
| 53 | # --------------------------- |
| 54 | # when a NotificationManager.notify is called |
Daniel Sandler | b64cb88 | 2011-11-29 23:48:29 -0500 | [diff] [blame] | 55 | 2750 notification_enqueue (pkg|3),(id|1|5),(tag|3),(notification|3) |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 56 | # when someone tries to cancel a notification, the notification manager sometimes |
| 57 | # calls this with flags too |
Daniel Sandler | b64cb88 | 2011-11-29 23:48:29 -0500 | [diff] [blame] | 58 | 2751 notification_cancel (pkg|3),(id|1|5),(tag|3),(required_flags|1),(forbidden_flags|1) |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 59 | # when someone tries to cancel all of the notifications for a particular package |
Daniel Sandler | b64cb88 | 2011-11-29 23:48:29 -0500 | [diff] [blame] | 60 | 2752 notification_cancel_all (pkg|3),(required_flags|1),(forbidden_flags|1) |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 61 | |
| 62 | |
| 63 | # --------------------------- |
| 64 | # Watchdog.java |
| 65 | # --------------------------- |
| 66 | 2802 watchdog (Service|3) |
| 67 | 2803 watchdog_proc_pss (Process|3),(Pid|1|5),(Pss|1|2) |
| 68 | 2804 watchdog_soft_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2),(Skip|3) |
| 69 | 2805 watchdog_hard_reset (Process|3),(Pid|1|5),(MaxPss|1|2),(Pss|1|2) |
| 70 | 2806 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) |
| 71 | 2807 watchdog_proc_stats (DeathsInOne|1|1),(DeathsInTwo|1|1),(DeathsInThree|1|1),(DeathsInFour|1|1),(DeathsInFive|1|1) |
| 72 | 2808 watchdog_scheduled_reboot (Now|2|1),(Interval|1|3),(StartTime|1|3),(Window|1|3),(Skip|3) |
| 73 | 2809 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) |
| 74 | 2810 watchdog_vmstat (runtime|2|3),(pgfree|1|1),(pgactivate|1|1),(pgdeactivate|1|1),(pgfault|1|1),(pgmajfault|1|1) |
| 75 | 2811 watchdog_requested_reboot (NoWait|1|1),(ScheduleInterval|1|3),(RecheckInterval|1|3),(StartTime|1|3),(Window|1|3),(MinScreenOff|1|3),(MinNextAlarm|1|3) |
| 76 | |
| 77 | |
| 78 | # --------------------------- |
| 79 | # BackupManagerService.java |
| 80 | # --------------------------- |
| 81 | 2820 backup_data_changed (Package|3) |
| 82 | 2821 backup_start (Transport|3) |
| 83 | 2822 backup_transport_failure (Package|3) |
| 84 | 2823 backup_agent_failure (Package|3),(Message|3) |
| 85 | 2824 backup_package (Package|3),(Size|1|2) |
| 86 | 2825 backup_success (Packages|1|1),(Time|1|3) |
| 87 | 2826 backup_reset (Transport|3) |
| 88 | 2827 backup_initialize |
| 89 | 2830 restore_start (Transport|3),(Source|2|5) |
| 90 | 2831 restore_transport_failure |
| 91 | 2832 restore_agent_failure (Package|3),(Message|3) |
| 92 | 2833 restore_package (Package|3),(Size|1|2) |
| 93 | 2834 restore_success (Packages|1|1),(Time|1|3) |
| 94 | |
| 95 | |
| 96 | # --------------------------- |
| 97 | # SystemServer.java |
| 98 | # --------------------------- |
| 99 | # SystemServer.run() starts: |
| 100 | 3010 boot_progress_system_run (time|2|3) |
| 101 | |
| 102 | |
| 103 | # --------------------------- |
| 104 | # PackageManagerService.java |
| 105 | # --------------------------- |
| 106 | # Package Manager starts: |
| 107 | 3060 boot_progress_pms_start (time|2|3) |
| 108 | # Package Manager .apk scan starts: |
| 109 | 3070 boot_progress_pms_system_scan_start (time|2|3) |
| 110 | # Package Manager .apk scan starts: |
| 111 | 3080 boot_progress_pms_data_scan_start (time|2|3) |
| 112 | # Package Manager .apk scan ends: |
| 113 | 3090 boot_progress_pms_scan_end (time|2|3) |
| 114 | # Package Manager ready: |
| 115 | 3100 boot_progress_pms_ready (time|2|3) |
| 116 | # + check activity_launch_time for Home app |
Matt Finifter | f8a98ed | 2012-05-14 15:43:34 -0700 | [diff] [blame] | 117 | # Value of "unknown sources" setting at app install time |
| 118 | 3110 unknown_sources_enabled (value|1) |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 119 | |
| 120 | |
| 121 | # --------------------------- |
| 122 | # WindowManagerService.java |
| 123 | # --------------------------- |
| 124 | # Out of memory for surfaces. |
| 125 | 31000 wm_no_surface_memory (Window|3),(PID|1|5),(Operation|3) |
| 126 | |
| 127 | |
| 128 | # --------------------------- |
| 129 | # InputMethodManagerService.java |
| 130 | # --------------------------- |
| 131 | # Re-connecting to input method service because we haven't received its interface |
| 132 | 32000 imf_force_reconnect_ime (IME|4),(Time Since Connect|2|3),(Showing|1|1) |
| 133 | |
| 134 | |
| 135 | # --------------------------- |
| 136 | # ConnectivityService.java |
| 137 | # --------------------------- |
| 138 | # Connectivity state changed: |
Robert Greenwalt | 3bc9a79 | 2012-04-25 13:45:02 -0700 | [diff] [blame] | 139 | # [31-14] Reserved for future use |
| 140 | # [13-10] Network subtype (for mobile network, as defined by TelephonyManager) |
| 141 | # [ 9- 4] Detailed state ordinal (as defined by NetworkInfo.DetailedState) |
| 142 | # [ 3- 0] Network type (as defined by ConnectivityManager) |
Doug Zongker | ab5c49c | 2009-12-04 10:31:43 -0800 | [diff] [blame] | 143 | 50020 connectivity_state_changed (custom|1|5) |
Jeff Sharkey | 07b0dd9 | 2011-09-01 13:06:19 -0700 | [diff] [blame] | 144 | |
| 145 | |
| 146 | # --------------------------- |
| 147 | # NetworkStatsService.java |
| 148 | # --------------------------- |
Jeff Sharkey | 63abc37 | 2012-01-11 18:38:16 -0800 | [diff] [blame] | 149 | 51100 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) |
| 150 | 51101 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) |