1# Copyright (c) 2021 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14domain: SENSOR 15 16ENABLE_SENSOR: 17 __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: When registering enable sensor} 18 UID: {type: INT32, desc: calling uid} 19 PKG_NAME: {type: STRING, desc: package name} 20 TYPE: {type: INT32, desc: type} 21 22DISABLE_SENSOR: 23 __BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: When unregistering disable sensor} 24 UID: {type: INT32, desc: calling uid} 25 PKG_NAME: {type: STRING, desc: package name} 26 TYPE: {type: INT32, desc: type} 27 28DATA_CHANNEL_EXCEPTION: 29 __BASE: {type: FAULT, level: MINOR, desc: sensor data channel exception} 30 PKG_NAME: {type: STRING, desc: package name} 31 ERROR_CODE: {type: INT32, desc: error code} 32 33VERIFY_ACCESS_TOKEN_FAIL: 34 __BASE: {type: SECURITY, level: MINOR, desc: sensor verify access token fail} 35 PKG_NAME: {type: STRING, desc: package name} 36 ERROR_CODE: {type: INT32, desc: error code} 37 38SERVICE_IPC_EXCEPTION: 39 __BASE: {type: FAULT, level: MINOR, desc: sensor service ipc exception} 40 PKG_NAME: {type: STRING, desc: package name} 41 ERROR_CODE: {type: INT32, desc: error code} 42 43HDF_SERVICE_EXCEPTION: 44 __BASE: {type: FAULT, level: MINOR, desc: sensor hdf service exception} 45 PKG_NAME: {type: STRING, desc: package name} 46 ERROR_CODE: {type: INT32, desc: error code} 47 48SERVICE_EXCEPTION: 49 __BASE: {type: FAULT, level: MINOR, desc: sensor service exception} 50 PKG_NAME: {type: STRING, desc: package name} 51 ERROR_CODE: {type: INT32, desc: error code}