mirror of
https://github.com/openharmony/distributedhardware_distributed_input.git
synced 2026-07-01 21:54:07 -04:00
bc5172c2d7
Match-id-2d40d31cf78d1173cad26bebaf9cf5050e43ce88
106 lines
4.4 KiB
YAML
106 lines
4.4 KiB
YAML
# 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.
|
|
# // "tag" set tags with may used by subscriber of this event, multiple tags devided by space.
|
|
# // "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: DISTINPUT
|
|
|
|
DINPUT_INIT:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dinput sa init}
|
|
MSG: {type: STRING, desc: dinput sa init info}
|
|
|
|
DINPUT_REGISTER:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dinput register dhardware}
|
|
DEVID: {type: STRING, desc: network id}
|
|
DHID: {type: STRING, desc: hardware id}
|
|
MSG: {type: STRING, desc: dinput register dhardware info}
|
|
|
|
DINPUT_PREPARE:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dinput prepare start}
|
|
DEVID: {type: STRING, desc: network id}
|
|
MSG: {type: STRING, desc: dinput prepare start info}
|
|
|
|
DINPUT_START_USE:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dinput start use}
|
|
DEVID: {type: STRING, desc: network id}
|
|
MSG: {type: STRING, desc: dinput start info}
|
|
|
|
DINPUT_STOP_USE:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dinput stop use}
|
|
DEVID: {type: STRING, desc: network id}
|
|
MSG: {type: STRING, desc: dinput stop info}
|
|
|
|
DINPUT_UNPREPARE:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dinput unprepare}
|
|
DEVID: {type: STRING, desc: network id}
|
|
MSG: {type: STRING, desc: dinput unprepare info}
|
|
|
|
DINPUT_UNREGISTER:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dinput unregister}
|
|
DEVID: {type: STRING, desc: network id}
|
|
DHID: {type: STRING, desc: hardware id}
|
|
MSG: {type: STRING, desc: dinput unregister info}
|
|
|
|
DINPUT_EXIT:
|
|
__BASE: {type: BEHAVIOR, level: CRITICAL, desc: dinput server exit}
|
|
MSG: {type: STRING, desc: dinput server exit info}
|
|
|
|
DINPUT_INIT_FAIL:
|
|
__BASE: {type: FAULT, level: CRITICAL, desc: dinput sa start fail occured}
|
|
ERROR_CODE: {type: INT32, desc: the return error code}
|
|
MSG: {type: STRING, desc: dinput sa start fail info}
|
|
|
|
DINPUT_REGISTER_FAIL:
|
|
__BASE: {type: FAULT, level: CRITICAL, desc: dinput register fail occured}
|
|
DEVID: {type: STRING, desc: network id}
|
|
DHID: {type: STRING, desc: hardware id}
|
|
ERROR_CODE: {type: INT32, desc: the return error code}
|
|
MSG: {type: STRING, desc: dinput register fail info}
|
|
|
|
DINPUT_OPT_FAIL:
|
|
__BASE: {type: FAULT, level: CRITICAL, desc: dinput operate fail occured}
|
|
DEVID: {type: STRING, desc: network id}
|
|
ERROR_CODE: {type: INT32, desc: the return error code}
|
|
MSG: {type: STRING, desc: dinput operate fail info}
|
|
|
|
DINPUT_UNREGISTER_FAIL:
|
|
__BASE: {type: FAULT, level: CRITICAL, desc: dinput unregister fail occured}
|
|
DEVID: {type: STRING, desc: network id}
|
|
DHID: {type: STRING, desc: hardware id}
|
|
ERROR_CODE: {type: INT32, desc: the return error code}
|
|
MSG: {type: STRING, desc: dinput unregister fail info}
|