2022-05-22 11:25:03 +00:00
|
|
|
# Copyright (c) 2021-2022 Huawei Device Co., Ltd.
|
2022-03-11 14:31:18 +00:00
|
|
|
# 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.
|
|
|
|
|
2022-05-22 12:15:03 +00:00
|
|
|
domain: AAFWK
|
2022-03-11 14:31:18 +00:00
|
|
|
|
|
|
|
LIFECYCLE_TIMEOUT:
|
2022-07-14 09:54:40 +00:00
|
|
|
__BASE: {type: FAULT, level: CRITICAL, tag: STABILITY, desc: ability timeout}
|
|
|
|
PID: {type: INT32, desc: pid}
|
|
|
|
UID: {type: INT32, desc: uid}
|
|
|
|
PACKAGE_NAME: {type: STRING, desc: package name}
|
|
|
|
PROCESS_NAME: {type: STRING, desc: process name}
|
|
|
|
MSG: {type: STRING, desc: application event message}
|
|
|
|
|
|
|
|
APP_LIFECYCLE_TIMEOUT:
|
2022-07-15 02:04:55 +00:00
|
|
|
__BASE: {type: FAULT, level: CRITICAL, tag: STABILITY, desc: application timeout}
|
2022-03-11 14:31:18 +00:00
|
|
|
PID: {type: INT32, desc: pid}
|
|
|
|
UID: {type: INT32, desc: uid}
|
|
|
|
PACKAGE_NAME: {type: STRING, desc: package name}
|
|
|
|
PROCESS_NAME: {type: STRING, desc: process name}
|
|
|
|
MSG: {type: STRING, desc: application event message}
|
|
|
|
|
2022-04-20 14:01:35 +00:00
|
|
|
JS_ERROR:
|
|
|
|
__BASE: {type: FAULT, level: CRITICAL, tag: STABILITY, desc: js runtime error}
|
2022-04-21 07:26:25 +00:00
|
|
|
PACKAGE_NAME: {type: STRING, desc: app package name}
|
2022-04-20 14:01:35 +00:00
|
|
|
VERSION: {type: STRING, desc: app version}
|
2022-09-02 01:29:47 +00:00
|
|
|
TYPE: {type: INT32, desc: js crash type}
|
2022-07-14 09:54:40 +00:00
|
|
|
HAPPEN_TIME: {type: INT64, desc: fault trigger time}
|
2022-04-20 14:01:35 +00:00
|
|
|
REASON: {type: STRING, desc: error type}
|
|
|
|
JSVM: {type: STRING, desc: js runtime type}
|
|
|
|
SUMMARY: {type: STRING, desc: fault summary}
|
2022-03-11 14:31:18 +00:00
|
|
|
|
2022-06-18 07:46:49 +00:00
|
|
|
THREAD_BLOCK_3S:
|
2022-03-11 14:31:18 +00:00
|
|
|
__BASE: {type: FAULT, level: CRITICAL, tag: STABILITY, desc: application freeze}
|
|
|
|
PID: {type: INT32, desc: pid}
|
2022-08-06 06:11:35 +00:00
|
|
|
UID: {type: INT32, desc: uid}
|
|
|
|
PACKAGE_NAME: {type: STRING, desc: package name}
|
|
|
|
PROCESS_NAME: {type: STRING, desc: process name}
|
|
|
|
MSG: {type: STRING, desc: application event message}
|
|
|
|
|
|
|
|
THREAD_BLOCK_6S:
|
|
|
|
__BASE: {type: FAULT, level: CRITICAL, tag: STABILITY, desc: application freeze}
|
|
|
|
PID: {type: INT32, desc: pid}
|
2022-03-11 14:31:18 +00:00
|
|
|
UID: {type: INT32, desc: uid}
|
|
|
|
PACKAGE_NAME: {type: STRING, desc: package name}
|
|
|
|
PROCESS_NAME: {type: STRING, desc: process name}
|
2022-05-19 02:41:50 +00:00
|
|
|
MSG: {type: STRING, desc: application event message}
|
2022-05-25 08:46:16 +00:00
|
|
|
|
|
|
|
# fault event
|
|
|
|
|
2022-05-20 06:43:06 +00:00
|
|
|
START_ABILITY_ERROR:
|
2022-05-25 17:26:58 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, tag: ability, desc: start ability error}
|
2022-05-30 02:35:08 +00:00
|
|
|
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}
|
2022-05-20 06:43:06 +00:00
|
|
|
ABILITY_NAME: {type: STRING, desc: ability name}
|
2022-11-26 03:47:49 +00:00
|
|
|
|
2022-05-20 06:43:06 +00:00
|
|
|
TERMINATE_ABILITY_ERROR:
|
2022-05-25 17:26:58 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, tag: ability, desc: terminate ability error}
|
2022-05-25 08:46:16 +00:00
|
|
|
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}
|
2022-05-22 11:25:03 +00:00
|
|
|
ABILITY_NAME: {type: STRING, desc: ability name}
|
2022-11-26 03:47:49 +00:00
|
|
|
|
2022-05-22 11:25:03 +00:00
|
|
|
START_EXTENSION_ERROR:
|
2022-05-25 17:26:58 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, tag: ability, desc: start extensionAbility error}
|
2022-05-25 08:46:16 +00:00
|
|
|
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}
|
2022-05-22 11:25:03 +00:00
|
|
|
ABILITY_NAME: {type: STRING, desc: ability name}
|
2022-11-26 03:47:49 +00:00
|
|
|
|
2022-05-22 11:25:03 +00:00
|
|
|
STOP_EXTENSION_ERROR:
|
2022-05-25 17:26:58 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, tag: ability, desc: stop extensionAbility error}
|
2022-05-25 08:46:16 +00:00
|
|
|
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}
|
2022-05-22 11:25:03 +00:00
|
|
|
ABILITY_NAME: {type: STRING, desc: ability name}
|
2022-11-26 03:47:49 +00:00
|
|
|
|
2022-05-22 11:25:03 +00:00
|
|
|
CONNECT_SERVICE_ERROR:
|
2022-09-02 01:29:47 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, tag: ability, desc: connect serviceExtensionAbility error}
|
2022-05-25 08:46:16 +00:00
|
|
|
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}
|
2022-05-22 11:25:03 +00:00
|
|
|
ABILITY_NAME: {type: STRING, desc: ability name}
|
2022-11-26 03:47:49 +00:00
|
|
|
|
2022-05-22 11:25:03 +00:00
|
|
|
DISCONNECT_SERVICE_ERROR:
|
2022-05-25 17:26:58 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, tag: ability, desc: disconnect serviceExtensionAbility error}
|
2022-05-25 08:46:16 +00:00
|
|
|
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}
|
2022-05-19 02:41:50 +00:00
|
|
|
ABILITY_NAME: {type: STRING, desc: ability name}
|
2022-05-25 08:46:16 +00:00
|
|
|
|
|
|
|
# ability behavior event
|
|
|
|
|
2022-05-20 06:43:06 +00:00
|
|
|
START_ABILITY:
|
2022-06-14 06:30:45 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: start ability}
|
2022-05-25 08:46:16 +00:00
|
|
|
USER_ID: {type: INT32, desc: userId}
|
|
|
|
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
|
|
|
MODULE_NAME: {type: STRING, desc: module name}
|
2022-05-19 02:41:50 +00:00
|
|
|
ABILITY_NAME: {type: STRING, desc: ability name}
|
|
|
|
|
2022-05-25 08:46:16 +00:00
|
|
|
CLOSE_ABILITY:
|
2022-05-25 17:26:58 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: close ability}
|
2022-05-19 02:41:50 +00:00
|
|
|
|
2022-05-20 06:43:06 +00:00
|
|
|
TERMINATE_ABILITY:
|
2022-05-25 17:26:58 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: terminate ability}
|
2022-05-19 02:41:50 +00:00
|
|
|
|
2022-06-06 06:07:51 +00:00
|
|
|
ABILITY_ONFOREGROUND:
|
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: start ability}
|
2022-06-07 06:57:02 +00:00
|
|
|
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
|
|
|
MODULE_NAME: {type: STRING, desc: module name}
|
2022-06-06 06:07:51 +00:00
|
|
|
ABILITY_NAME: {type: STRING, desc: ability name}
|
|
|
|
|
|
|
|
ABILITY_ONBACKGROUND:
|
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: start ability}
|
2022-06-07 06:57:02 +00:00
|
|
|
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
|
|
|
MODULE_NAME: {type: STRING, desc: module name}
|
2022-06-06 06:07:51 +00:00
|
|
|
ABILITY_NAME: {type: STRING, desc: ability name}
|
|
|
|
|
2022-05-25 08:46:16 +00:00
|
|
|
# serviceExtensionAbility behavior event
|
2022-05-19 02:41:50 +00:00
|
|
|
|
2022-05-26 08:25:04 +00:00
|
|
|
START_SERVICE:
|
2022-05-25 17:26:58 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: start serviceExtensionAbility}
|
2022-05-25 08:46:16 +00:00
|
|
|
USER_ID: {type: INT32, desc: userId}
|
|
|
|
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
|
|
|
MODULE_NAME: {type: STRING, desc: module name}
|
2022-05-20 06:43:06 +00:00
|
|
|
ABILITY_NAME: {type: STRING, desc: ability name}
|
2022-05-25 08:46:16 +00:00
|
|
|
EXTENSION_TYPE: {type: STRING, desc: extension type}
|
2022-11-26 03:47:49 +00:00
|
|
|
|
2022-05-26 08:25:04 +00:00
|
|
|
STOP_SERVICE:
|
2022-05-25 17:26:58 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: stop serviceExtensionAbility}
|
2022-05-25 08:46:16 +00:00
|
|
|
USER_ID: {type: INT32, desc: userId}
|
|
|
|
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
|
|
|
MODULE_NAME: {type: STRING, desc: module name}
|
2022-05-20 06:43:06 +00:00
|
|
|
ABILITY_NAME: {type: STRING, desc: ability name}
|
2022-05-25 08:46:16 +00:00
|
|
|
EXTENSION_TYPE: {type: STRING, desc: extension type}
|
2022-11-26 03:47:49 +00:00
|
|
|
|
2022-05-25 17:26:58 +00:00
|
|
|
CONNECT_SERVICE:
|
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: connect serviceAbility}
|
2022-05-25 08:46:16 +00:00
|
|
|
USER_ID: {type: INT32, desc: userId}
|
|
|
|
BUNDLE_NAME: {type: STRING, desc: bundle name}
|
|
|
|
MODULE_NAME: {type: STRING, desc: module name}
|
2022-05-20 06:43:06 +00:00
|
|
|
ABILITY_NAME: {type: STRING, desc: ability name}
|
2022-11-26 03:47:49 +00:00
|
|
|
|
2022-05-25 17:26:58 +00:00
|
|
|
DISCONNECT_SERVICE:
|
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, tag: ability, desc: disconnect serviceAbility}
|
2022-05-19 02:41:50 +00:00
|
|
|
|
2022-05-25 08:46:16 +00:00
|
|
|
# app behavior event
|
2022-05-19 02:41:50 +00:00
|
|
|
|
|
|
|
APP_ATTACH:
|
2022-05-25 17:26:58 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: attach app}
|
2022-06-06 06:07:51 +00:00
|
|
|
APP_PID: {type: INT32, desc: app pid}
|
2022-05-30 02:35:08 +00:00
|
|
|
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}
|
2022-05-19 02:41:50 +00:00
|
|
|
|
|
|
|
APP_LAUNCH:
|
2022-05-25 17:26:58 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: launch app}
|
2022-06-06 06:07:51 +00:00
|
|
|
APP_PID: {type: INT32, desc: app pid}
|
2022-05-30 02:35:08 +00:00
|
|
|
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}
|
2022-05-19 02:41:50 +00:00
|
|
|
|
|
|
|
APP_FOREGROUND:
|
2022-06-14 06:30:45 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: foreground app}
|
2022-06-06 06:07:51 +00:00
|
|
|
APP_PID: {type: INT32, desc: app pid}
|
2022-05-30 02:35:08 +00:00
|
|
|
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}
|
2022-05-19 02:41:50 +00:00
|
|
|
|
|
|
|
APP_BACKGROUND:
|
2022-06-14 06:30:45 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, tag: PowerStats, desc: background app}
|
2022-06-06 06:07:51 +00:00
|
|
|
APP_PID: {type: INT32, desc: app pid}
|
2022-05-30 02:35:08 +00:00
|
|
|
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}
|
2022-05-19 02:41:50 +00:00
|
|
|
|
|
|
|
APP_TERMINATE:
|
2022-05-25 17:26:58 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, tag: app, desc: terminate app}
|
2022-06-06 06:07:51 +00:00
|
|
|
APP_PID: {type: INT32, desc: app pid}
|
2022-05-30 02:35:08 +00:00
|
|
|
VERSION_CODE: {type: INT32, desc: version code}
|
|
|
|
VERSION_NAME: {type: STRING, desc: version name}
|
|
|
|
PROCESS_NAME: {type: STRING, desc: process name}
|
2022-10-08 06:24:34 +00:00
|
|
|
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}
|