-
Notifications
You must be signed in to change notification settings - Fork 0
/
hisysevent.yaml
416 lines (366 loc) · 18.3 KB
/
hisysevent.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
# Copyright (c) 2021-2024 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
domain: AAFWK
LIFECYCLE_TIMEOUT:
__BASE: {type: FAULT, level: CRITICAL, tag: STABILITY, desc: ability timeout}
PID: {type: INT32, desc: process id}
UID: {type: INT32, desc: app uid}
PACKAGE_NAME: {type: STRING, desc: package name}
PROCESS_NAME: {type: STRING, desc: process name}
MSG: {type: STRING, desc: application event message}
STACK: {type: STRING, desc: main thread stacktrace}
LIFECYCLE_HALF_TIMEOUT:
__BASE: {type: FAULT, level: CRITICAL, tag: STABILITY, desc: ability timeout}
PID: {type: INT32, desc: process id}
UID: {type: INT32, desc: app uid}
PACKAGE_NAME: {type: STRING, desc: package name}
PROCESS_NAME: {type: STRING, desc: process name}
MSG: {type: STRING, desc: application event message}
STACK: {type: STRING, desc: main thread stacktrace}
APP_LIFECYCLE_TIMEOUT:
__BASE: {type: FAULT, level: CRITICAL, tag: STABILITY, desc: application timeout}
PID: {type: INT32, desc: process id}
UID: {type: INT32, desc: app uid}
PACKAGE_NAME: {type: STRING, desc: package name}
PROCESS_NAME: {type: STRING, desc: process name}
MSG: {type: STRING, desc: application event message}
JS_ERROR:
__BASE: {type: FAULT, level: CRITICAL, tag: STABILITY, desc: js runtime error}
PACKAGE_NAME: {type: STRING, desc: app package name}
VERSION: {type: STRING, desc: app version}
TYPE: {type: INT32, desc: js crash type}
HAPPEN_TIME: {type: INT64, desc: fault trigger time}
REASON: {type: STRING, desc: error type}
JSVM: {type: STRING, desc: js runtime type}
SUMMARY: {type: STRING, desc: fault summary}
THREAD_BLOCK_3S:
__BASE: {type: FAULT, level: CRITICAL, tag: STABILITY, desc: application freeze}
PID: {type: INT32, desc: process id}
UID: {type: INT32, desc: app uid}
PACKAGE_NAME: {type: STRING, desc: package name}
PROCESS_NAME: {type: STRING, desc: process name}
MSG: {type: STRING, desc: application event message}
STACK: {type: STRING, desc: stacktrace of current process}
THREAD_BLOCK_6S:
__BASE: {type: FAULT, level: CRITICAL, tag: STABILITY, desc: application freeze}
PID: {type: INT32, desc: process id}
UID: {type: INT32, desc: app uid}
PACKAGE_NAME: {type: STRING, desc: package name}
PROCESS_NAME: {type: STRING, desc: process name}
MSG: {type: STRING, desc: application event message}
STACK: {type: STRING, desc: main thread stacktrace}
APP_INPUT_BLOCK:
__BASE: {type: FAULT, level: CRITICAL, tag: STABILITY, desc: application freeze}
PID: {type: INT32, desc: process id}
UID: {type: INT32, desc: app uid}
PACKAGE_NAME: {type: STRING, desc: package name}
PROCESS_NAME: {type: STRING, desc: process name}
MSG: {type: STRING, desc: application event message}
STACK: {type: STRING, desc: main thread stacktrace}
# fault event
START_ABILITY_ERROR:
__BASE: {type: FAULT, level: MINOR, tag: ability, desc: start ability error}
USER_ID: {type: INT32, desc: userId}
ERROR_CODE: {type: INT32, desc: error code}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
TERMINATE_ABILITY_ERROR:
__BASE: {type: FAULT, level: MINOR, tag: ability, desc: terminate ability error}
USER_ID: {type: INT32, desc: userId}
ERROR_CODE: {type: INT32, desc: error code}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
START_EXTENSION_ERROR:
__BASE: {type: FAULT, level: MINOR, tag: ability, desc: start extensionAbility error}
USER_ID: {type: INT32, desc: userId}
ERROR_CODE: {type: INT32, desc: error code}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
STOP_EXTENSION_ERROR:
__BASE: {type: FAULT, level: MINOR, tag: ability, desc: stop extensionAbility error}
USER_ID: {type: INT32, desc: userId}
ERROR_CODE: {type: INT32, desc: error code}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
CONNECT_SERVICE_ERROR:
__BASE: {type: FAULT, level: MINOR, tag: ability, desc: connect serviceExtensionAbility error}
USER_ID: {type: INT32, desc: userId}
ERROR_CODE: {type: INT32, desc: error code}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
DISCONNECT_SERVICE_ERROR:
__BASE: {type: FAULT, level: MINOR, tag: ability, desc: disconnect serviceExtensionAbility error}
USER_ID: {type: INT32, desc: userId}
ERROR_CODE: {type: INT32, desc: error code}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
# ability behavior event
START_ABILITY:
__BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: start ability}
USER_ID: {type: INT32, desc: userId}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
CLOSE_ABILITY:
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: close ability}
TERMINATE_ABILITY:
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: terminate ability}
BUNDLE_NAME: {type: STRING, desc: bundle name}
ABILITY_NAME: {type: STRING, desc: ability name}
ABILITY_ONFOREGROUND:
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: ability onForeground}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
BUNDLE_TYPE: {type: INT32, desc: 'type of componment, atomic service or normal app'}
CALLER_BUNDLENAME: {type: STRING, desc: caller bundle name}
ABILITY_ONBACKGROUND:
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: ability onBackground}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
BUNDLE_TYPE: {type: INT32, desc: 'type of componment, atomic service or normal app'}
ABILITY_ONACTIVE:
__BASE: {type: BEHAVIOR, level: MINOR, desc: ability onActive}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
ABILITY_TYPE: {type: INT32, desc: ability type}
BUNDLE_TYPE: {type: INT32, desc: 'type of componment, atomic service or normal app'}
CALLER_BUNDLENAME: {type: STRING, desc: caller bundle name}
ABILITY_ONINACTIVE:
__BASE: {type: BEHAVIOR, level: MINOR, desc: ability onInactive}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
BUNDLE_TYPE: {type: INT32, desc: 'type of componment, atomic service or normal app'}
START_ABILITY_BY_APP_LINKING:
__BASE: {type: BEHAVIOR, level: MINOR, desc: start ability by App Linking}
BUNDLE_NAME: {type: STRING, desc: bundle name}
CALLER_BUNDLENAME: {type: STRING, desc: caller bundle name}
URI: {type: STRING, desc: uri information}
# serviceExtensionAbility behavior event
START_SERVICE:
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: start serviceExtensionAbility}
USER_ID: {type: INT32, desc: userId}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
EXTENSION_TYPE: {type: INT32, desc: extension type}
TIME: {type: INT64, desc: start service time}
PID: {type: INT32, desc: processId}
PROCESS_NAME: {type: STRING, desc: process name}
CALLER_PROCESS_ID: {type: INT32, desc: caller processId}
CALLER_PROCESS_NAME: {type: STRING, desc: caller process name}
STOP_SERVICE:
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: stop serviceExtensionAbility}
USER_ID: {type: INT32, desc: userId}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
EXTENSION_TYPE: {type: INT32, desc: extension type}
TIME: {type: INT64, desc: stop service time}
PID: {type: INT32, desc: processId}
PROCESS_NAME: {type: STRING, desc: process name}
CALLER_PROCESS_ID: {type: INT32, desc: caller processId}
CALLER_PROCESS_NAME: {type: STRING, desc: caller process name}
CONNECT_SERVICE:
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: connect serviceAbility}
USER_ID: {type: INT32, desc: userId}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
TIME: {type: INT64, desc: connect service time}
PID: {type: INT32, desc: processId}
PROCESS_NAME: {type: STRING, desc: process name}
CALLER_PROCESS_ID: {type: INT32, desc: caller processId}
CALLER_PROCESS_NAME: {type: STRING, desc: caller process name}
DISCONNECT_SERVICE:
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: disconnect serviceAbility}
TIME: {type: INT64, desc: disconnect service time}
PID: {type: INT32, desc: processId}
PROCESS_NAME: {type: STRING, desc: process name}
CALLER_PROCESS_ID: {type: INT32, desc: caller processId}
CALLER_PROCESS_NAME: {type: STRING, desc: caller process name}
START_ABILITY_OTHER_EXTENSION:
__BASE: {type: BEHAVIOR, level: MINOR, desc: start extension by startAbility}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
EXTENSION_TYPE: {type: INT32, desc: extension type}
CALLER_BUNLED_NAME: {type: STRING, desc: caller bunle name}
# app behavior event
APP_ATTACH:
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: attach app}
APP_PID: {type: INT32, desc: app pid}
VERSION_CODE: {type: INT32, desc: version code}
VERSION_NAME: {type: STRING, desc: version name}
PROCESS_NAME: {type: STRING, desc: process name}
BUNDLE_NAME: {type: STRING, desc: bundle name}
APP_LAUNCH:
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: launch app}
APP_PID: {type: INT32, desc: app pid}
VERSION_CODE: {type: INT32, desc: version code}
VERSION_NAME: {type: STRING, desc: version name}
PROCESS_NAME: {type: STRING, desc: process name}
BUNDLE_NAME: {type: STRING, desc: bundle name}
CALLER_BUNDLE_NAME: {type: STRING, desc: caller bundle name}
CALLER_VERSION_NAME: {type: STRING, desc: caller version name}
CALLER_VERSION_CODE: {type: UINT32, desc: caller version code}
CALLER_UID: {type: INT32, desc: caller app uid}
CALLER_STATE: {type: INT32, desc: caller app state}
APP_FOREGROUND:
__BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: foreground app}
APP_PID: {type: INT32, desc: app pid}
VERSION_CODE: {type: INT32, desc: version code}
VERSION_NAME: {type: STRING, desc: version name}
PROCESS_NAME: {type: STRING, desc: process name}
BUNDLE_NAME: {type: STRING, desc: bundle name}
BUNDLE_TYPE: {type: INT32, desc: 'type of componment, atomic service or normal app'}
CALLER_BUNDLENAME: {type: STRING, desc: caller bundle name}
PROCESS_TYPE: {type: INT32, desc: type of process}
APP_BACKGROUND:
__BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: background app}
APP_PID: {type: INT32, desc: app pid}
VERSION_CODE: {type: INT32, desc: version code}
VERSION_NAME: {type: STRING, desc: version name}
PROCESS_NAME: {type: STRING, desc: process name}
BUNDLE_NAME: {type: STRING, desc: bundle name}
BUNDLE_TYPE: {type: INT32, desc: 'type of componment, atomic service or normal app'}
PROCESS_TYPE: {type: INT32, desc: type of process}
APP_TERMINATE:
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: terminate app}
APP_PID: {type: INT32, desc: app pid}
VERSION_CODE: {type: INT32, desc: version code}
VERSION_NAME: {type: STRING, desc: version name}
PROCESS_NAME: {type: STRING, desc: process name}
BUNDLE_NAME: {type: STRING, desc: bundle name}
APP_RECOVERY:
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: recover app status}
APP_UID: {type: INT32, desc: app uid}
VERSION_CODE: {type: INT32, desc: version code}
VERSION_NAME: {type: STRING, desc: version name}
BUNDLE_NAME: {type: STRING, desc: bundle name}
ABILITY_NAME: {type: STRING, desc: ability name}
RECOVERY_RESULT: {type: STRING, desc: recovery result}
APP_STARTUP_TYPE:
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: app start type}
APP_PID: {type: INT32, desc: app pid}
VERSION_CODE: {type: INT32, desc: version code}
VERSION_NAME: {type: STRING, desc: version name}
BUNDLE_NAME: {type: STRING, desc: bundle name}
ABILITY_NAME: {type: STRING, desc: ability name}
START_TYPE: {type: INT32, desc: 'type of start, cold or hot'}
PROCESS_START:
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: application process startup event reporting}
STARTUP_TIME: {type: INT64, desc: process start time}
STARTUP_ABILITY_TYPE: {type: INT32, desc: process start ability type}
STARTUP_EXTENSION_TYPE: {type: INT32, desc: process start extension type}
CALLER_BUNDLE_NAME: {type: STRING, desc: caller bundle name}
CALLER_UID: {type: INT32, desc: caller uid}
CALLER_PROCESS_NAME: {type: STRING, desc: caller process name}
CALLER_PROCESS_ID: {type: INT32, desc: caller processId}
BUNDLE_NAME: {type: STRING, desc: bundle name}
PROCESS_NAME: {type: STRING, desc: process name}
PID: {type: INT32, desc: processId}
PROCESS_EXIT:
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: application process exit event reporting}
EXIT_TIME: {type: INT64, desc: process exit time}
EXIT_RESULT: {type: INT32, desc: process exit result}
EXIT_PID: {type: INT32, desc: pid}
PROCESS_NAME: {type: STRING, desc: process name}
EXTENSION_TYPE: {type: INT32, desc: process exit extension type}
EXIT_REASON: {type: INT32, desc: process exit reason}
PROCESS_START_FAILED:
__BASE: {type: FAULT, level: CRITICAL, tag: app, desc: process start failed, preserve: true}
STARTUP_TIME: {type: INT64, desc: process start failed time}
STARTUP_ABILITY_TYPE: {type: INT32, desc: process start ability type}
STARTUP_EXTENSION_TYPE: {type: INT32, desc: process start extension type}
CALLER_BUNDLE_NAME: {type: STRING, desc: caller bundle name}
CALLER_UID: {type: INT32, desc: caller uid}
CALLER_PROCESS_NAME: {type: STRING, desc: caller process name}
CALLER_PROCESS_ID: {type: INT32, desc: caller processId}
BUNDLE_NAME: {type: STRING, desc: bundle name}
PROCESS_NAME: {type: STRING, desc: process name}
PROCESS_TYPE: {type: INT32, desc: process type}
REASON: {type: INT32, desc: failed reason}
SUB_REASON: {type: INT32, desc: failed sub reason}
DRAWN_COMPLETED:
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: drawn completed event reporting}
APP_UID: {type: INT32, desc: app uid}
APP_PID: {type: INT32, desc: app pid}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
FA_SHOW_ON_LOCK:
__BASE: {type: BEHAVIOR, level: MINOR, desc: fa show on lock}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
GRANT_URI_PERMISSION:
__BASE: {type: BEHAVIOR, level: MINOR, desc: grant uri permission form SA to third-party app}
BUNDLE_NAME: {type: STRING, desc: callee bundle name}
CALLER_BUNDLE_NAME: {type: STRING, desc: caller bundle name}
URI: {type: STRING, desc: uri information}
START_PRIVATE_ABILITY:
__BASE: {type: BEHAVIOR, level: MINOR, desc: start private ability}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
RESTART_PROCESS_BY_SAME_APP:
__BASE: {type: BEHAVIOR, level: MINOR, desc: reStart process by different processes from the same app}
RESTART_TIME: {type: INT64, desc: process reStart time}
APP_UID: {type: INT32, desc: app uid}
CALLER_PROCESS_NAME: {type: STRING, desc: caller process name}
PROCESS_NAME: {type: STRING, desc: process name}
BUNDLE_NAME: {type: STRING, desc: bundle name}
START_STANDARD_ABILITIES:
__BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: start more than one standard ability}
USER_ID: {type: INT32, desc: userId}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
ABILITY_NUMBER: {type: INT32, desc: ability number}
PREVENT_START_ABILITY:
__BASE: {type: BEHAVIOR, level: MINOR, desc: Process start control, preserve: true}
CALLER_UID: {type: INT32, desc: caller uid}
CALLER_PID: {type: INT32, desc: caller pid}
CALLER_PROCESS_NAME: {type: STRING, desc: caller process name}
CALLER_BUNDLE_NAME: {type: STRING, desc: caller bundle name}
CALLEE_BUNDLE_NAME: {type: STRING, desc: callee bundle name}
CALLEE_PROCESS_NAME: {type: STRING, desc: callee process name}
EXTENSION_ABILITY_TYPE: {type: INT32, desc: extension ability type}
ABILITY_NAME: {type: STRING, desc: caller ability name}
CREATE_ATOMIC_SERVICE_PROCESS:
__BASE: {type: BEHAVIOR, level: MINOR, desc: start atomic service process}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
CALLER_BUNDLE_NAME: {type: STRING, desc: caller bundle name}
CALLER_PROCESS_NAME: {type: STRING, desc: caller process name}
CALLER_UID: {type: INT32, desc: caller uid}
ATOMIC_SERVICE_DRAWN_COMPLETE:
__BASE: {type: BEHAVIOR, level: MINOR, desc: atomic service first frame drawn complete}
BUNDLE_NAME: {type: STRING, desc: bundle name}
MODULE_NAME: {type: STRING, desc: module name}
ABILITY_NAME: {type: STRING, desc: ability name}
SHARE_UNPRIVILEGED_FILE_URI:
__BASE: {type: BEHAVIOR, level: MINOR, desc: share unprivileged file uri}
CALLER_BUNDLE_NAME: {type: STRING, desc: caller bundle name}
BUNDLE_NAME: {type: STRING, desc: bundle name}