2022-06-21 03:17:22 +00:00
|
|
|
# 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.
|
|
|
|
|
2022-06-24 06:39:57 +00:00
|
|
|
domain: SENSOR
|
2022-06-21 03:17:22 +00:00
|
|
|
|
|
|
|
ENABLE_SENSOR:
|
2022-12-28 07:37:36 +00:00
|
|
|
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: When registering enable sensor}
|
2022-06-21 03:17:22 +00:00
|
|
|
UID: {type: INT32, desc: calling uid}
|
|
|
|
PKG_NAME: {type: STRING, desc: package name}
|
|
|
|
TYPE: {type: INT32, desc: type}
|
|
|
|
|
|
|
|
DISABLE_SENSOR:
|
2022-12-28 07:37:36 +00:00
|
|
|
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: When unregistering disable sensor}
|
2022-06-21 03:17:22 +00:00
|
|
|
UID: {type: INT32, desc: calling uid}
|
|
|
|
PKG_NAME: {type: STRING, desc: package name}
|
|
|
|
TYPE: {type: INT32, desc: type}
|
|
|
|
|
2022-12-28 07:37:36 +00:00
|
|
|
DATA_CHANNEL_EXCEPTION:
|
2022-07-15 09:26:36 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, desc: sensor data channel exception}
|
2022-07-18 01:34:02 +00:00
|
|
|
PKG_NAME: {type: STRING, desc: package name}
|
2022-06-21 03:17:22 +00:00
|
|
|
ERROR_CODE: {type: INT32, desc: error code}
|
|
|
|
|
2022-12-28 07:37:36 +00:00
|
|
|
VERIFY_ACCESS_TOKEN_FAIL:
|
2022-07-15 09:26:36 +00:00
|
|
|
__BASE: {type: SECURITY, level: MINOR, desc: sensor verify access token fail}
|
2022-07-18 01:34:02 +00:00
|
|
|
PKG_NAME: {type: STRING, desc: package name}
|
2022-06-21 03:17:22 +00:00
|
|
|
ERROR_CODE: {type: INT32, desc: error code}
|
|
|
|
|
2022-12-28 07:37:36 +00:00
|
|
|
SERVICE_IPC_EXCEPTION:
|
2022-07-15 09:26:36 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, desc: sensor service ipc exception}
|
2022-07-18 01:34:02 +00:00
|
|
|
PKG_NAME: {type: STRING, desc: package name}
|
2022-06-21 03:17:22 +00:00
|
|
|
ERROR_CODE: {type: INT32, desc: error code}
|
|
|
|
|
2022-12-28 07:37:36 +00:00
|
|
|
HDF_SERVICE_EXCEPTION:
|
2022-07-15 09:26:36 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, desc: sensor hdf service exception}
|
2022-07-18 01:34:02 +00:00
|
|
|
PKG_NAME: {type: STRING, desc: package name}
|
2022-06-21 03:17:22 +00:00
|
|
|
ERROR_CODE: {type: INT32, desc: error code}
|
|
|
|
|
2022-12-28 07:37:36 +00:00
|
|
|
SERVICE_EXCEPTION:
|
2022-07-15 09:26:36 +00:00
|
|
|
__BASE: {type: FAULT, level: MINOR, desc: sensor service exception}
|
2022-07-18 01:34:02 +00:00
|
|
|
PKG_NAME: {type: STRING, desc: package name}
|
2022-06-21 03:17:22 +00:00
|
|
|
ERROR_CODE: {type: INT32, desc: error code}
|