2022-02-26 08:06:24 +00:00
|
|
|
# Copyright (c) 2022 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.
|
|
|
|
|
|
|
|
#####################################################
|
|
|
|
# below is the format of defining event #
|
|
|
|
#####################################################
|
|
|
|
#domain: domain name. [Only one domain name can be defined at the top]
|
|
|
|
#
|
|
|
|
#author: the author name who defined this event.
|
|
|
|
#date: the date when this event was defined, format is YYYY-MM-DD.
|
|
|
|
#logged: source file which refer to this event.
|
|
|
|
#usage: the usage of this event.
|
|
|
|
#//Define event name and event properties.
|
|
|
|
#@EVENT_NAME: the event definition part begin.
|
|
|
|
# // __BASE is used for defining the basic info of the event.
|
|
|
|
# // "type" optional values are: FAULT, STATISTICS, SECURITY, BEHAVIOR.
|
|
|
|
# // "level" optional values are: CRITICAL, MINOR.
|
2022-06-22 02:31:31 +00:00
|
|
|
# // "tag" set tags with may used by subscriber of this event, multiple tags divided by space.
|
2022-02-26 08:06:24 +00:00
|
|
|
# // "desc" full description of this event.
|
|
|
|
# @PARAMETER: {type: parameter type, arrsize: array length(optional), desc: parameter description}.
|
|
|
|
# // follow the __BASE block, each line defines a parameter of this event.
|
|
|
|
# // "type" optional values are: INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, STRING.
|
|
|
|
# // "arrsize" of the parameter is an array, set a non-zero value.
|
|
|
|
# // "desc" full description of this parameter.
|
|
|
|
|
|
|
|
#####################################################
|
|
|
|
# Example of some hiviewdfx events definition #
|
|
|
|
#####################################################
|
|
|
|
|
|
|
|
domain: WINDOWMANAGER
|
|
|
|
|
|
|
|
NO_FOCUS_WINDOW:
|
2022-08-02 07:09:29 +00:00
|
|
|
__BASE: {type: FAULT, level: CRITICAL, desc: The event is not consumed}
|
2022-02-26 08:06:24 +00:00
|
|
|
PID: {type: INT32, desc: session pid}
|
|
|
|
UID: {type: INT32, desc: session uid}
|
|
|
|
PACKAGE_NAME: {type: STRING, desc: package name}
|
|
|
|
PROCESS_NAME: {type: STRING, desc: process name}
|
2022-06-18 08:28:39 +00:00
|
|
|
MSG: {type: STRING, desc: windowmanager event message}
|
|
|
|
|
2022-12-29 04:30:06 +00:00
|
|
|
WINDOW_ANIMATION_ABNORMAL:
|
|
|
|
__BASE: {type: FAULT, level: MINOR, desc: animationCallback is more than animation task}
|
|
|
|
PID: {type: INT32, desc: app pid}
|
|
|
|
UID: {type: INT32, desc: app uid}
|
|
|
|
PACKAGE_NAME: {type: STRING, desc: ability name}
|
|
|
|
PROCESS_NAME: {type: STRING, desc: bundle name}
|
|
|
|
MSG: {type: STRING, desc: windowmanager event message}
|
|
|
|
|
2023-03-30 12:55:39 +00:00
|
|
|
ANIMATION_CALLBACK_TIMEOUT:
|
|
|
|
__BASE: {type: FAULT, level: MINOR, desc: animationCallback is time out}
|
|
|
|
PID: {type: INT32, desc: app pid}
|
|
|
|
UID: {type: INT32, desc: app uid}
|
|
|
|
PACKAGE_NAME: {type: STRING, desc: ability name}
|
|
|
|
PROCESS_NAME: {type: STRING, desc: bundle name}
|
|
|
|
MSG: {type: STRING, desc: windowmanager event message}
|
|
|
|
|
2022-06-18 08:28:39 +00:00
|
|
|
WINDOW_LIFE_CYCLE_EXCEPTION:
|
2022-08-02 07:09:29 +00:00
|
|
|
__BASE: {type: FAULT, level: CRITICAL, desc: The window life cycle is abnormal}
|
2022-06-18 08:28:39 +00:00
|
|
|
PID: {type: INT32, desc: session pid}
|
|
|
|
UID: {type: INT32, desc: session uid}
|
|
|
|
MSG: {type: STRING, desc: windowmanager event message}
|
|
|
|
|
|
|
|
WINDOW_BOOT_ANIMATION_DONE:
|
2022-08-02 07:09:29 +00:00
|
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: Boot animation done}
|
|
|
|
MSG: {type: STRING, desc: windowmanager event message}
|
|
|
|
|
|
|
|
SHOW_WINDOW_TIME:
|
|
|
|
__BASE: {type: STATISTIC, level: MINOR, desc: Sow window time performance}
|
|
|
|
MSG: {type: STRING, desc: windowmanager event message}
|
|
|
|
|
|
|
|
GET_SNAPSHOT_TIME:
|
|
|
|
__BASE: {type: STATISTIC, level: MINOR, desc: Get snapshot time performance}
|
|
|
|
MSG: {type: STRING, desc: windowmanager event message}
|