sensors_sensor/hisysevent.yaml

51 lines
2.0 KiB
YAML
Raw Normal View History

# 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}