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