加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
hisysevent.yaml 1.91 KB
一键复制 编辑 原始数据 按行查看 历史
# 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.
domain: CAMERA
CAMERA_ERR:
__BASE: {type: FAULT, level: CRITICAL, desc: camera error}
MSG: {type: STRING, desc: message}
CAMERA_STATE:
__BASE: {type: BEHAVIOR, level: MINOR, desc: state change}
MSG: {type: STRING, desc: message}
CAMERA_STATISTIC:
__BASE: {type: STATISTIC, level: MINOR, desc: camera stats}
MSG: {type: STRING, desc: message}
CAMERA_CONNECT:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: camera connect}
PID: {type: INT32, desc: pid}
UID: {type: INT32, desc: uid}
ID: {type: STRING, desc: camera id}
NAME: {type: STRING, desc: package name}
CAMERA_DISCONNECT:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: camera disconnect}
ID: {type: STRING, desc: camera id}
TORCH_STATE:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: torch state}
PID: {type: INT32, desc: pid}
UID: {type: INT32, desc: uid}
STATE: {type: INT32, desc: status}
CAMERA_CONFIG:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: camera config}
TYPE: {type: STRING, desc: stream type}
WIDTH: {type: INT32, desc: image width}
HEIGHT: {type: INT32, desc: image height}
FLASHLIGHT_ON:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: flashlight on}
FLASHLIGHT_OFF:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: flashlight off}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化