sensors_sensor/hisysevent.yaml
hui1975 e6005caccb 修改yaml
Signed-off-by: hui1975 <zhaominghui10@huawei.com>
Change-Id: Iacf0942939a1d2a558ff30972e12bf6a12ebdb70
2022-12-28 15:37:36 +08:00

51 lines
2.0 KiB
YAML
Executable File

# Copyright (c) 2021 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: SENSOR
ENABLE_SENSOR:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: When registering enable sensor}
UID: {type: INT32, desc: calling uid}
PKG_NAME: {type: STRING, desc: package name}
TYPE: {type: INT32, desc: type}
DISABLE_SENSOR:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: When unregistering disable sensor}
UID: {type: INT32, desc: calling uid}
PKG_NAME: {type: STRING, desc: package name}
TYPE: {type: INT32, desc: type}
DATA_CHANNEL_EXCEPTION:
__BASE: {type: FAULT, level: MINOR, desc: sensor data channel exception}
PKG_NAME: {type: STRING, desc: package name}
ERROR_CODE: {type: INT32, desc: error code}
VERIFY_ACCESS_TOKEN_FAIL:
__BASE: {type: SECURITY, level: MINOR, desc: sensor verify access token fail}
PKG_NAME: {type: STRING, desc: package name}
ERROR_CODE: {type: INT32, desc: error code}
SERVICE_IPC_EXCEPTION:
__BASE: {type: FAULT, level: MINOR, desc: sensor service ipc exception}
PKG_NAME: {type: STRING, desc: package name}
ERROR_CODE: {type: INT32, desc: error code}
HDF_SERVICE_EXCEPTION:
__BASE: {type: FAULT, level: MINOR, desc: sensor hdf service exception}
PKG_NAME: {type: STRING, desc: package name}
ERROR_CODE: {type: INT32, desc: error code}
SERVICE_EXCEPTION:
__BASE: {type: FAULT, level: MINOR, desc: sensor service exception}
PKG_NAME: {type: STRING, desc: package name}
ERROR_CODE: {type: INT32, desc: error code}