1# See system/logging/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# Application Not Responding
1730008 am_anr (User|1|5),(pid|1|5),(Package Name|3),(Flags|1|5),(reason|3)
18
19# Application process bound to work
2030010 am_proc_bound (User|1|5),(PID|1|5),(Process Name|3)
21# Application process died
2230011 am_proc_died (User|1|5),(PID|1|5),(Process Name|3),(OomAdj|1|5),(ProcState|1|5)
23
24# Application process has been started
2530014 am_proc_start (User|1|5),(PID|1|5),(UID|1|5),(Process Name|3),(Type|3),(Component|3)
26# An application process has been marked as bad
2730015 am_proc_bad (User|1|5),(UID|1|5),(Process Name|3)
28# An application process that was bad is now marked as good
2930016 am_proc_good (User|1|5),(UID|1|5),(Process Name|3)
30# Reporting to applications that memory is low
3130017 am_low_memory (Num Processes|1|1)
32
33# Kill a process to reclaim memory.
3430023 am_kill (User|1|5),(PID|1|5),(Process Name|3),(OomAdj|1|5),(Reason|3)
35# Discard an undelivered serialized broadcast (timeout/ANR/crash)
3630024 am_broadcast_discard_filter (User|1|5),(Broadcast|1|5),(Action|3),(Receiver Number|1|1),(BroadcastFilter|1|5)
3730025 am_broadcast_discard_app (User|1|5),(Broadcast|1|5),(Action|3),(Receiver Number|1|1),(App|3)
38# A service is being created
3930030 am_create_service (User|1|5),(Service Record|1|5),(Name|3),(UID|1|5),(PID|1|5)
40# A service is being destroyed
4130031 am_destroy_service (User|1|5),(Service Record|1|5),(PID|1|5)
42# A process has crashed too many times, it is being cleared
4330032 am_process_crashed_too_much (User|1|5),(Name|3),(PID|1|5)
44# An unknown process is trying to attach to the activity manager
4530033 am_drop_process (PID|1|5)
46# A service has crashed too many times, it is being stopped
4730034 am_service_crashed_too_much (User|1|5),(Crash Count|1|1),(Component Name|3),(PID|1|5)
48# A service is going to be restarted after its process went away
4930035 am_schedule_service_restart (User|1|5),(Component Name|3),(Time|2|3)
50# A client was waiting for a content provider, but its process was lost
5130036 am_provider_lost_process (User|1|5),(Package Name|3),(UID|1|5),(Name|3)
52# The activity manager gave up on a new process taking too long to start
5330037 am_process_start_timeout (User|1|5),(PID|1|5),(UID|1|5),(Process Name|3)
54
55# Unhandled exception
5630039 am_crash (User|1|5),(PID|1|5),(Process Name|3),(Flags|1|5),(Exception|3),(Message|3),(File|3),(Line|1|5),(Recoverable|1|5)
57# Log.wtf() called
5830040 am_wtf (User|1|5),(PID|1|5),(Process Name|3),(Flags|1|5),(Tag|3),(Message|3)
59
60# User switched
6130041 am_switch_user (id|1|5)
62
63# Running pre boot receiver
6430045 am_pre_boot (User|1|5),(Package|3)
65
66# Report collection of global memory state
6730046 am_meminfo (Cached|2|2),(Free|2|2),(Zram|2|2),(Kernel|2|2),(Native|2|2)
68# Report collection of memory used by a process
6930047 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)
70
71# Report changing memory conditions (Values are ProcessStats.ADJ_MEM_FACTOR* constants)
7230050 am_mem_factor (Current|1|5),(Previous|1|5)
73
74# UserState has changed
7530051 am_user_state_changed (id|1|5),(state|1|5)
76
77# Note when any processes of a uid have started running
7830052 am_uid_running (UID|1|5)
79# Note when all processes of a uid have stopped.
8030053 am_uid_stopped (UID|1|5)
81# Note when the state of a uid has become active.
8230054 am_uid_active (UID|1|5)
83# Note when the state of a uid has become idle (background check enforced).
8430055 am_uid_idle (UID|1|5)
85# Note when a service is being forcibly stopped because its app went idle.
8630056 am_stop_idle_service (UID|1|5),(Component Name|3)
87
88# The task is being compacted
8930063 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)
90
91# The task is being frozen
9230068 am_freeze (Pid|1|5),(Process Name|3)
93
94# The task is being unfrozen
9530069 am_unfreeze (Pid|1|5),(Process Name|3)
96
97# User switch events
9830070 uc_finish_user_unlocking (userId|1|5)
9930071 uc_finish_user_unlocked (userId|1|5)
10030072 uc_finish_user_unlocked_completed (userId|1|5)
10130073 uc_finish_user_stopping (userId|1|5)
10230074 uc_finish_user_stopped (userId|1|5)
10330075 uc_switch_user (userId|1|5)
10430076 uc_start_user_internal (userId|1|5),(foreground|1),(displayId|1|5)
10530077 uc_unlock_user (userId|1|5)
10630078 uc_finish_user_boot (userId|1|5)
10730079 uc_dispatch_user_switch (oldUserId|1|5),(newUserId|1|5)
10830080 uc_continue_user_switch (oldUserId|1|5),(newUserId|1|5)
10930081 uc_send_user_broadcast (userId|1|5),(IntentAction|3)
110
111# Tags below are used by SystemServiceManager - although it's technically part of am, these are
112# also user switch events and useful to be analyzed together with events above.
11330082 ssm_user_starting (userId|1|5)
11430083 ssm_user_switching (oldUserId|1|5),(newUserId|1|5)
11530084 ssm_user_unlocking (userId|1|5)
11630085 ssm_user_unlocked (userId|1|5)
11730086 ssm_user_stopping (userId|1|5)
11830087 ssm_user_stopped (userId|1|5)
11930088 ssm_user_completed_event (userId|1|5),(eventFlag|1|5)
120
121# Similarly, tags below are used by UserManagerService
12230091 um_user_visibility_changed (userId|1|5),(visible|1)
123
124# Foreground service start/stop/denied/timed_out events.
12530100 am_foreground_service_start (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode|3),(targetSdk|1|1),(callerTargetSdk|1|1),(notificationWasDeferred|1),(notificationShown|1),(durationMs|1|3),(startForegroundCount|1|1),(stopReason|3),(fgsType|1)
12630101 am_foreground_service_denied (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode|3),(targetSdk|1|1),(callerTargetSdk|1|1),(notificationWasDeferred|1),(notificationShown|1),(durationMs|1|3),(startForegroundCount|1|1),(stopReason|3),(fgsType|1)
12730102 am_foreground_service_stop (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode|3),(targetSdk|1|1),(callerTargetSdk|1|1),(notificationWasDeferred|1),(notificationShown|1),(durationMs|1|3),(startForegroundCount|1|1),(stopReason|3),(fgsType|1)
12830103 am_foreground_service_timed_out (User|1|5),(Component Name|3),(allowWhileInUse|1),(startReasonCode|3),(targetSdk|1|1),(callerTargetSdk|1|1),(notificationWasDeferred|1),(notificationShown|1),(durationMs|1|3),(startForegroundCount|1|1),(stopReason|3),(fgsType|1)
129
130# Intent Sender redirect for UserHandle.USER_CURRENT
13130110 am_intent_sender_redirect_user (userId|1|5)
132