blob: cf0de061185f694aaab124735f77e0aa3a209529 [file] [log] [blame]
Doug Zongker2bec3d42009-12-04 12:52:44 -08001# See system/core/logcat/event.logtags for a description of the format of this file.
2
3option java_package com.android.server.am
4
52719 configuration_changed (config mask|1|5)
62721 cpu (total|1|6),(user|1|6),(system|1|6),(iowait|1|6),(irq|1|6),(softirq|1|6)
7
8# ActivityManagerService.systemReady() starts:
93040 boot_progress_ams_ready (time|2|3)
10# ActivityManagerService calls enableScreenAfterBoot():
113050 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 Hackbornb12e1352012-09-26 11:39:20 -07001730001 am_finish_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080018# A task is being brought to the front of the screen:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07001930002 am_task_to_front (User|1|5),(Task|1|5)
Doug Zongker2bec3d42009-12-04 12:52:44 -080020# An existing activity is being given a new intent:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07002130003 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 Zongker2bec3d42009-12-04 12:52:44 -080022# A new task is being created:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07002330004 am_create_task (User|1|5),(Task ID|1|5)
Doug Zongker2bec3d42009-12-04 12:52:44 -080024# A new activity is being created in an existing task:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07002530005 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 Zongker2bec3d42009-12-04 12:52:44 -080026# An activity has been resumed into the foreground but was not already running:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07002730006 am_restart_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080028# An activity has been resumed and is now in the foreground:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07002930007 am_resume_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080030# Application Not Responding
Dianne Hackbornb12e1352012-09-26 11:39:20 -07003130008 am_anr (User|1|5),(pid|1|5),(Package Name|3),(Flags|1|5),(reason|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080032# Activity launch time
Dianne Hackbornb12e1352012-09-26 11:39:20 -07003330009 am_activity_launch_time (User|1|5),(Token|1|5),(Component Name|3),(time|2|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080034# Application process bound to work
Dianne Hackbornb12e1352012-09-26 11:39:20 -07003530010 am_proc_bound (User|1|5),(PID|1|5),(Process Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080036# Application process died
Dianne Hackbornbfc23312017-05-11 11:53:24 -07003730011 am_proc_died (User|1|5),(PID|1|5),(Process Name|3),(OomAdj|1|5),(ProcState|1|5)
Doug Zongker2bec3d42009-12-04 12:52:44 -080038# The Activity Manager failed to pause the given activity.
Dianne Hackbornb12e1352012-09-26 11:39:20 -07003930012 am_failed_to_pause (User|1|5),(Token|1|5),(Wanting to pause|3),(Currently pausing|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080040# Attempting to pause the current activity
Wale Ogunwalec59b4f62017-11-30 11:05:43 -08004130013 am_pause_activity (User|1|5),(Token|1|5),(Component Name|3),(User Leaving|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080042# Application process has been started
Dianne Hackbornb12e1352012-09-26 11:39:20 -07004330014 am_proc_start (User|1|5),(PID|1|5),(UID|1|5),(Process Name|3),(Type|3),(Component|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080044# An application process has been marked as bad
Dianne Hackbornb12e1352012-09-26 11:39:20 -07004530015 am_proc_bad (User|1|5),(UID|1|5),(Process Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080046# An application process that was bad is now marked as good
Dianne Hackbornb12e1352012-09-26 11:39:20 -07004730016 am_proc_good (User|1|5),(UID|1|5),(Process Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080048# Reporting to applications that memory is low
4930017 am_low_memory (Num Processes|1|1)
50# An activity is being destroyed:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07005130018 am_destroy_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080052# An activity has been relaunched, resumed, and is now in the foreground:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07005330019 am_relaunch_resume_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080054# An activity has been relaunched:
Dianne Hackbornb12e1352012-09-26 11:39:20 -07005530020 am_relaunch_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080056# The activity's onPause has been called.
Riddle Hsu9a5bb3b2019-07-01 20:16:12 +08005730021 am_on_paused_called (Token|1|5),(Component Name|3),(Reason|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080058# The activity's onResume has been called.
Riddle Hsu9a5bb3b2019-07-01 20:16:12 +08005930022 am_on_resume_called (Token|1|5),(Component Name|3),(Reason|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080060# Kill a process to reclaim memory.
Dianne Hackbornb12e1352012-09-26 11:39:20 -07006130023 am_kill (User|1|5),(PID|1|5),(Process Name|3),(OomAdj|1|5),(Reason|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080062# Discard an undelivered serialized broadcast (timeout/ANR/crash)
Dianne Hackbornb12e1352012-09-26 11:39:20 -07006330024 am_broadcast_discard_filter (User|1|5),(Broadcast|1|5),(Action|3),(Receiver Number|1|1),(BroadcastFilter|1|5)
6430025 am_broadcast_discard_app (User|1|5),(Broadcast|1|5),(Action|3),(Receiver Number|1|1),(App|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080065# A service is being created
Dianne Hackborncf1171642013-07-12 17:26:02 -07006630030 am_create_service (User|1|5),(Service Record|1|5),(Name|3),(UID|1|5),(PID|1|5)
Doug Zongker2bec3d42009-12-04 12:52:44 -080067# A service is being destroyed
Jeff Sharkey9d6d8902012-11-09 17:32:43 -08006830031 am_destroy_service (User|1|5),(Service Record|1|5),(PID|1|5)
Doug Zongker2bec3d42009-12-04 12:52:44 -080069# A process has crashed too many times, it is being cleared
Dianne Hackbornb12e1352012-09-26 11:39:20 -07007030032 am_process_crashed_too_much (User|1|5),(Name|3),(PID|1|5)
Doug Zongker2bec3d42009-12-04 12:52:44 -080071# An unknown process is trying to attach to the activity manager
7230033 am_drop_process (PID|1|5)
73# A service has crashed too many times, it is being stopped
Dianne Hackbornb12e1352012-09-26 11:39:20 -07007430034 am_service_crashed_too_much (User|1|5),(Crash Count|1|1),(Component Name|3),(PID|1|5)
Doug Zongker2bec3d42009-12-04 12:52:44 -080075# A service is going to be restarted after its process went away
Dianne Hackbornb12e1352012-09-26 11:39:20 -07007630035 am_schedule_service_restart (User|1|5),(Component Name|3),(Time|2|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080077# A client was waiting for a content provider, but its process was lost
Dianne Hackbornb12e1352012-09-26 11:39:20 -07007830036 am_provider_lost_process (User|1|5),(Package Name|3),(UID|1|5),(Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080079# The activity manager gave up on a new process taking too long to start
Dianne Hackbornb12e1352012-09-26 11:39:20 -07008030037 am_process_start_timeout (User|1|5),(PID|1|5),(UID|1|5),(Process Name|3)
Doug Zongker2bec3d42009-12-04 12:52:44 -080081
Dan Egnor60d87622009-12-16 16:32:58 -080082# Unhandled exception
Dianne Hackbornb12e1352012-09-26 11:39:20 -07008330039 am_crash (User|1|5),(PID|1|5),(Process Name|3),(Flags|1|5),(Exception|3),(Message|3),(File|3),(Line|1|5)
Dan Egnor60d87622009-12-16 16:32:58 -080084# Log.wtf() called
Dianne Hackbornb12e1352012-09-26 11:39:20 -07008530040 am_wtf (User|1|5),(PID|1|5),(Process Name|3),(Flags|1|5),(Tag|3),(Message|3)
Jeff Sharkey86597df2012-11-09 15:00:31 -080086
87# User switched
8830041 am_switch_user (id|1|5)
Dianne Hackborn2286cdc2013-07-01 19:10:06 -070089
Chong Zhang6cda19c2016-06-14 19:07:56 -070090# Activity set to resumed
9130043 am_set_resumed_activity (User|1|5),(Component Name|3),(Reason|3)
Craig Mautnerde313752015-01-22 14:28:03 -080092
Wale Ogunwale925d0d12015-09-23 15:40:07 -070093# Stack focus
Riddle Hsubbb63c22018-10-03 12:28:29 +08009430044 am_focused_stack (User|1|5),(Display Id|1|5),(Focused Stack Id|1|5),(Last Focused Stack Id|1|5),(Reason|3)
Dianne Hackborna92cbad2015-01-29 17:22:25 -080095
96# Running pre boot receiver
9730045 am_pre_boot (User|1|5),(Package|3)
Dianne Hackborn1a5da042015-01-23 17:29:16 -080098
99# Report collection of global memory state
Thierry Strudelf0a44182016-01-07 18:08:04 -080010030046 am_meminfo (Cached|2|2),(Free|2|2),(Zram|2|2),(Kernel|2|2),(Native|2|2)
Dianne Hackborn1a5da042015-01-23 17:29:16 -0800101# Report collection of memory used by a process
Dianne Hackborne17b4452018-01-10 13:15:40 -080010230047 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 Ogunwalecd7043e2016-02-27 17:37:46 -0800103
104# Attempting to stop an activity
10530048 am_stop_activity (User|1|5),(Token|1|5),(Component Name|3)
106# The activity's onStop has been called.
Riddle Hsu9a5bb3b2019-07-01 20:16:12 +080010730049 am_on_stop_called (Token|1|5),(Component Name|3),(Reason|3)
Joe Onorato1dbff802016-04-14 18:58:20 -0700108
109# Report changing memory conditions (Values are ProcessStats.ADJ_MEM_FACTOR* constants)
11030050 am_mem_factor (Current|1|5),(Previous|1|5)
111
Jeff Sharkey97c6d3d2016-11-09 13:31:36 -0700112# UserState has changed
11330051 am_user_state_changed (id|1|5),(state|1|5)
Dianne Hackbornf965f402017-05-04 23:27:23 -0700114
115# Note when any processes of a uid have started running
11630052 am_uid_running (UID|1|5)
117# Note when all processes of a uid have stopped.
11830053 am_uid_stopped (UID|1|5)
119# Note when the state of a uid has become active.
12030054 am_uid_active (UID|1|5)
121# Note when the state of a uid has become idle (background check enforced).
12230055 am_uid_idle (UID|1|5)
123# Note when a service is being forcibly stopped because its app went idle.
12430056 am_stop_idle_service (UID|1|5),(Component Name|3)
Andrii Kuliand25680c2018-02-21 15:16:58 -0800125
126# The activity's onCreate has been called.
Riddle Hsu9a5bb3b2019-07-01 20:16:12 +080012730057 am_on_create_called (Token|1|5),(Component Name|3),(Reason|3)
Andrii Kuliand25680c2018-02-21 15:16:58 -0800128# The activity's onRestart has been called.
Riddle Hsu9a5bb3b2019-07-01 20:16:12 +080012930058 am_on_restart_called (Token|1|5),(Component Name|3),(Reason|3)
Andrii Kuliand25680c2018-02-21 15:16:58 -0800130# The activity's onStart has been called.
Riddle Hsu9a5bb3b2019-07-01 20:16:12 +080013130059 am_on_start_called (Token|1|5),(Component Name|3),(Reason|3)
Andrii Kuliand25680c2018-02-21 15:16:58 -0800132# The activity's onDestroy has been called.
Riddle Hsu9a5bb3b2019-07-01 20:16:12 +080013330060 am_on_destroy_called (Token|1|5),(Component Name|3),(Reason|3)
Andrii Kuliane55b0092018-04-19 15:29:22 -0700134# The activity's onActivityResult has been called.
Riddle Hsu9a5bb3b2019-07-01 20:16:12 +080013530062 am_on_activity_result_called (Token|1|5),(Component Name|3),(Reason|3)
Bryce Lee2b8e0372018-04-05 17:01:37 -0700136
137# The task is being removed from its parent stack
Tim Murray0b1c8aa2018-11-20 10:28:38 -080013830061 am_remove_task (Task ID|1|5), (Stack ID|1|5)
139
140# The task is being compacted
Ben Murdoch23223cd2019-03-12 14:00:16 +000014130063 am_compact (Pid|1|5),(Process Name|3),(Action|3),(BeforeRssTotal|2|2),(BeforeRssFile|2|2),(BeforeRssAnon|2|2),(BeforeRssSwap|2|2),(DeltaRssTotal|2|2),(DeltaRssFile|2|2),(DeltaRssAnon|2|2),(DeltaRssSwap|2|2),(Time|2|3),(LastAction|1|2),(LastActionTimestamp|2|3),(setAdj|1|2),(procState|1|2),(BeforeZRAMFree|2|2),(DeltaZRAMFree|2|2)
Andrii Kulian86024012019-04-18 19:41:23 -0700142
143# The activity's onTopResumedActivityChanged(true) has been called.
Riddle Hsu9a5bb3b2019-07-01 20:16:12 +080014430064 am_on_top_resumed_gained_called (Token|1|5),(Component Name|3),(Reason|3)
Andrii Kulian86024012019-04-18 19:41:23 -0700145# The activity's onTopResumedActivityChanged(false) has been called.
Riddle Hsu9a5bb3b2019-07-01 20:16:12 +080014630065 am_on_top_resumed_lost_called (Token|1|5),(Component Name|3),(Reason|3)
wilsonshih401e50f2019-04-30 12:55:48 +0800147
148# An activity been add into stopping list
wilsonshih30eca702019-07-10 09:22:11 +080014930066 am_add_to_stopping (User|1|5),(Token|1|5),(Component Name|3),(Reason|3)
150
151# Keyguard status changed
152+30067 am_set_keyguard_shown (keyguardShowing|1),(aodShowing|1),(keyguardGoingAway|1),(Reason|3)