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}
|
2022-12-21 08:22:08 +00:00
|
|
|
MISSION_PID: {type: INT32, desc: mission pid}
|
|
|
|
MISSION_UID: {type: INT32, desc: mission uid}
|
2022-07-14 09:54:40 +00:00
|
|
|
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-12-21 08:22:08 +00:00
|
|
|
APP_PID: {type: INT32, desc: app pid}
|
|
|
|
APP_UID: {type: INT32, desc: app uid}
|
2022-03-11 14:31:18 +00:00
|
|
|
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}
|
2022-12-21 08:22:08 +00:00
|
|
|
THREAD_PID: {type: INT32, desc: thread pid}
|
|
|
|
THREAD_UID: {type: INT32, desc: thread uid}
|
2022-08-06 06:11:35 +00:00
|
|
|
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}
|
2022-12-21 08:22:08 +00:00
|
|
|
THREAD_PID: {type: INT32, desc: thread pid}
|
|
|
|
THREAD_UID: {type: INT32, desc: thread uid}
|
2022-03-11 14:31:18 +00:00
|
|
|
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-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, 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-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, 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-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, 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-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, 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-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, 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-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, 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-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, desc: close ability}
|
2022-05-19 02:41:50 +00:00
|
|
|
|
2022-05-20 06:43:06 +00:00
|
|
|
TERMINATE_ABILITY:
|
2022-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, desc: terminate ability}
|
2022-05-19 02:41:50 +00:00
|
|
|
|
2022-06-06 06:07:51 +00:00
|
|
|
ABILITY_ONFOREGROUND:
|
2022-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, 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:
|
2022-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, 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-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, 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-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, 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:
|
2022-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, 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:
|
2022-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, 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-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, 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-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, 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-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, 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:
|
2022-12-21 08:22:08 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: MINOR, desc: recovery app status}
|
2022-10-08 06:24:34 +00:00
|
|
|
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}
|