Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -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.am |
| 4 | |
| 5 | 2719 configuration_changed (config mask|1|5) |
| 6 | 2721 cpu (total|1|6),(user|1|6),(system|1|6),(iowait|1|6),(irq|1|6),(softirq|1|6) |
| 7 | |
| 8 | # ActivityManagerService.systemReady() starts: |
| 9 | 3040 boot_progress_ams_ready (time|2|3) |
| 10 | # ActivityManagerService calls enableScreenAfterBoot(): |
| 11 | 3050 boot_progress_enable_screen (time|2|3) |
| 12 | |
| 13 | # Do not change these names without updating the checkin_events setting in |
| 14 | # google3/googledata/wireless/android/provisioning/gservices.config !! |
| 15 | # |
| 16 | # An activity is being finished: |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 17 | 30001 am_finish_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 18 | # A task is being brought to the front of the screen: |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 19 | 30002 am_task_to_front (User|1|5),(Task|1|5) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 20 | # An existing activity is being given a new intent: |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 21 | 30003 am_new_intent (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME Type|3),(URI|3),(Flags|1|5) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 22 | # A new task is being created: |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 23 | 30004 am_create_task (User|1|5),(Task ID|1|5) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 24 | # A new activity is being created in an existing task: |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 25 | 30005 am_create_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME Type|3),(URI|3),(Flags|1|5) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 26 | # An activity has been resumed into the foreground but was not already running: |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 27 | 30006 am_restart_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 28 | # An activity has been resumed and is now in the foreground: |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 29 | 30007 am_resume_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 30 | # Application Not Responding |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 31 | 30008 am_anr (User|1|5),(pid|1|5),(Package Name|3),(Flags|1|5),(reason|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 32 | # Activity launch time |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 33 | 30009 am_activity_launch_time (User|1|5),(Token|1|5),(Component Name|3),(time|2|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 34 | # Application process bound to work |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 35 | 30010 am_proc_bound (User|1|5),(PID|1|5),(Process Name|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 36 | # Application process died |
Dianne Hackborn | bfc2331 | 2017-05-11 11:53:24 -0700 | [diff] [blame] | 37 | 30011 am_proc_died (User|1|5),(PID|1|5),(Process Name|3),(OomAdj|1|5),(ProcState|1|5) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 38 | # The Activity Manager failed to pause the given activity. |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 39 | 30012 am_failed_to_pause (User|1|5),(Token|1|5),(Wanting to pause|3),(Currently pausing|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 40 | # Attempting to pause the current activity |
Wale Ogunwale | c59b4f6 | 2017-11-30 11:05:43 -0800 | [diff] [blame] | 41 | 30013 am_pause_activity (User|1|5),(Token|1|5),(Component Name|3),(User Leaving|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 42 | # Application process has been started |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 43 | 30014 am_proc_start (User|1|5),(PID|1|5),(UID|1|5),(Process Name|3),(Type|3),(Component|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 44 | # An application process has been marked as bad |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 45 | 30015 am_proc_bad (User|1|5),(UID|1|5),(Process Name|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 46 | # An application process that was bad is now marked as good |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 47 | 30016 am_proc_good (User|1|5),(UID|1|5),(Process Name|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 48 | # Reporting to applications that memory is low |
| 49 | 30017 am_low_memory (Num Processes|1|1) |
| 50 | # An activity is being destroyed: |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 51 | 30018 am_destroy_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 52 | # An activity has been relaunched, resumed, and is now in the foreground: |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 53 | 30019 am_relaunch_resume_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 54 | # An activity has been relaunched: |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 55 | 30020 am_relaunch_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 56 | # The activity's onPause has been called. |
Wale Ogunwale | cd7043e | 2016-02-27 17:37:46 -0800 | [diff] [blame] | 57 | 30021 am_on_paused_called (User|1|5),(Component Name|3),(Reason|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 58 | # The activity's onResume has been called. |
Wale Ogunwale | cd7043e | 2016-02-27 17:37:46 -0800 | [diff] [blame] | 59 | 30022 am_on_resume_called (User|1|5),(Component Name|3),(Reason|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 60 | # Kill a process to reclaim memory. |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 61 | 30023 am_kill (User|1|5),(PID|1|5),(Process Name|3),(OomAdj|1|5),(Reason|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 62 | # Discard an undelivered serialized broadcast (timeout/ANR/crash) |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 63 | 30024 am_broadcast_discard_filter (User|1|5),(Broadcast|1|5),(Action|3),(Receiver Number|1|1),(BroadcastFilter|1|5) |
| 64 | 30025 am_broadcast_discard_app (User|1|5),(Broadcast|1|5),(Action|3),(Receiver Number|1|1),(App|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 65 | # A service is being created |
Dianne Hackborn | cf117164 | 2013-07-12 17:26:02 -0700 | [diff] [blame] | 66 | 30030 am_create_service (User|1|5),(Service Record|1|5),(Name|3),(UID|1|5),(PID|1|5) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 67 | # A service is being destroyed |
Jeff Sharkey | 9d6d890 | 2012-11-09 17:32:43 -0800 | [diff] [blame] | 68 | 30031 am_destroy_service (User|1|5),(Service Record|1|5),(PID|1|5) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 69 | # A process has crashed too many times, it is being cleared |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 70 | 30032 am_process_crashed_too_much (User|1|5),(Name|3),(PID|1|5) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 71 | # An unknown process is trying to attach to the activity manager |
| 72 | 30033 am_drop_process (PID|1|5) |
| 73 | # A service has crashed too many times, it is being stopped |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 74 | 30034 am_service_crashed_too_much (User|1|5),(Crash Count|1|1),(Component Name|3),(PID|1|5) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 75 | # A service is going to be restarted after its process went away |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 76 | 30035 am_schedule_service_restart (User|1|5),(Component Name|3),(Time|2|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 77 | # A client was waiting for a content provider, but its process was lost |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 78 | 30036 am_provider_lost_process (User|1|5),(Package Name|3),(UID|1|5),(Name|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 79 | # The activity manager gave up on a new process taking too long to start |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 80 | 30037 am_process_start_timeout (User|1|5),(PID|1|5),(UID|1|5),(Process Name|3) |
Doug Zongker | 2bec3d4 | 2009-12-04 12:52:44 -0800 | [diff] [blame] | 81 | |
Dan Egnor | 60d8762 | 2009-12-16 16:32:58 -0800 | [diff] [blame] | 82 | # Unhandled exception |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 83 | 30039 am_crash (User|1|5),(PID|1|5),(Process Name|3),(Flags|1|5),(Exception|3),(Message|3),(File|3),(Line|1|5) |
Dan Egnor | 60d8762 | 2009-12-16 16:32:58 -0800 | [diff] [blame] | 84 | # Log.wtf() called |
Dianne Hackborn | b12e135 | 2012-09-26 11:39:20 -0700 | [diff] [blame] | 85 | 30040 am_wtf (User|1|5),(PID|1|5),(Process Name|3),(Flags|1|5),(Tag|3),(Message|3) |
Jeff Sharkey | 86597df | 2012-11-09 15:00:31 -0800 | [diff] [blame] | 86 | |
| 87 | # User switched |
| 88 | 30041 am_switch_user (id|1|5) |
Dianne Hackborn | 2286cdc | 2013-07-01 19:10:06 -0700 | [diff] [blame] | 89 | |
| 90 | # Activity fully drawn time |
| 91 | 30042 am_activity_fully_drawn_time (User|1|5),(Token|1|5),(Component Name|3),(time|2|3) |
Craig Mautner | de31375 | 2015-01-22 14:28:03 -0800 | [diff] [blame] | 92 | |
Chong Zhang | 6cda19c | 2016-06-14 19:07:56 -0700 | [diff] [blame] | 93 | # Activity set to resumed |
| 94 | 30043 am_set_resumed_activity (User|1|5),(Component Name|3),(Reason|3) |
Craig Mautner | de31375 | 2015-01-22 14:28:03 -0800 | [diff] [blame] | 95 | |
Wale Ogunwale | 925d0d1 | 2015-09-23 15:40:07 -0700 | [diff] [blame] | 96 | # Stack focus |
| 97 | 30044 am_focused_stack (User|1|5),(Focused Stack Id|1|5),(Last Focused Stack Id|1|5),(Reason|3) |
Dianne Hackborn | a92cbad | 2015-01-29 17:22:25 -0800 | [diff] [blame] | 98 | |
| 99 | # Running pre boot receiver |
| 100 | 30045 am_pre_boot (User|1|5),(Package|3) |
Dianne Hackborn | 1a5da04 | 2015-01-23 17:29:16 -0800 | [diff] [blame] | 101 | |
| 102 | # Report collection of global memory state |
Thierry Strudel | f0a4418 | 2016-01-07 18:08:04 -0800 | [diff] [blame] | 103 | 30046 am_meminfo (Cached|2|2),(Free|2|2),(Zram|2|2),(Kernel|2|2),(Native|2|2) |
Dianne Hackborn | 1a5da04 | 2015-01-23 17:29:16 -0800 | [diff] [blame] | 104 | # Report collection of memory used by a process |
Dianne Hackborn | e17b445 | 2018-01-10 13:15:40 -0800 | [diff] [blame] | 105 | 30047 am_pss (Pid|1|5),(UID|1|5),(Process Name|3),(Pss|2|2),(Uss|2|2),(SwapPss|2|2),(Rss|2|2),(StatType|1|5),(ProcState|1|5),(TimeToCollect|2|2) |
Wale Ogunwale | cd7043e | 2016-02-27 17:37:46 -0800 | [diff] [blame] | 106 | |
| 107 | # Attempting to stop an activity |
| 108 | 30048 am_stop_activity (User|1|5),(Token|1|5),(Component Name|3) |
| 109 | # The activity's onStop has been called. |
| 110 | 30049 am_on_stop_called (User|1|5),(Component Name|3),(Reason|3) |
Joe Onorato | 1dbff80 | 2016-04-14 18:58:20 -0700 | [diff] [blame] | 111 | |
| 112 | # Report changing memory conditions (Values are ProcessStats.ADJ_MEM_FACTOR* constants) |
| 113 | 30050 am_mem_factor (Current|1|5),(Previous|1|5) |
| 114 | |
Jeff Sharkey | 97c6d3d | 2016-11-09 13:31:36 -0700 | [diff] [blame] | 115 | # UserState has changed |
| 116 | 30051 am_user_state_changed (id|1|5),(state|1|5) |
Dianne Hackborn | f965f40 | 2017-05-04 23:27:23 -0700 | [diff] [blame] | 117 | |
| 118 | # Note when any processes of a uid have started running |
| 119 | 30052 am_uid_running (UID|1|5) |
| 120 | # Note when all processes of a uid have stopped. |
| 121 | 30053 am_uid_stopped (UID|1|5) |
| 122 | # Note when the state of a uid has become active. |
| 123 | 30054 am_uid_active (UID|1|5) |
| 124 | # Note when the state of a uid has become idle (background check enforced). |
| 125 | 30055 am_uid_idle (UID|1|5) |
| 126 | # Note when a service is being forcibly stopped because its app went idle. |
| 127 | 30056 am_stop_idle_service (UID|1|5),(Component Name|3) |
Andrii Kulian | d25680c | 2018-02-21 15:16:58 -0800 | [diff] [blame] | 128 | |
| 129 | # The activity's onCreate has been called. |
| 130 | 30057 am_on_create_called (User|1|5),(Component Name|3),(Reason|3) |
| 131 | # The activity's onRestart has been called. |
| 132 | 30058 am_on_restart_called (User|1|5),(Component Name|3),(Reason|3) |
| 133 | # The activity's onStart has been called. |
| 134 | 30059 am_on_start_called (User|1|5),(Component Name|3),(Reason|3) |
| 135 | # The activity's onDestroy has been called. |
Bryce Lee | 2b8e037 | 2018-04-05 17:01:37 -0700 | [diff] [blame] | 136 | 30060 am_on_destroy_called (User|1|5),(Component Name|3),(Reason|3) |
Andrii Kulian | e55b009 | 2018-04-19 15:29:22 -0700 | [diff] [blame] | 137 | # The activity's onActivityResult has been called. |
| 138 | 30062 am_on_activity_result_called (User|1|5),(Component Name|3),(Reason|3) |
Bryce Lee | 2b8e037 | 2018-04-05 17:01:37 -0700 | [diff] [blame] | 139 | |
| 140 | # The task is being removed from its parent stack |
| 141 | 30061 am_remove_task (Task ID|1|5), (Stack ID|1|5) |