-
Notifications
You must be signed in to change notification settings - Fork 0
/
hisysevent.yaml
101 lines (87 loc) · 4.55 KB
/
hisysevent.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# 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_CONFIG:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: camera config, preserve: true}
WIDTH: {type: INT32, desc: image width}
HEIGHT: {type: INT32, desc: image height}
TYPE: {type: STRING, desc: stream type}
CAMERA_CONNECT:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: camera connect, preserve: true}
NAME: {type: STRING, desc: package name}
UID: {type: INT32, desc: uid}
ID: {type: STRING, desc: camera id}
PID: {type: INT32, desc: pid}
CAMERA_DISCONNECT:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: camera disconnect, preserve: true}
ID: {type: STRING, desc: camera id}
CAMERA_ERR:
__BASE: {type: FAULT, level: CRITICAL, desc: camera error, preserve: true}
MSG: {type: STRING, desc: message}
CAMERA_STATE:
__BASE: {type: BEHAVIOR, level: MINOR, desc: state change, preserve: true}
MSG: {type: STRING, desc: message}
CAMERA_STATISTIC:
__BASE: {type: STATISTIC, level: MINOR, desc: camera stats, preserve: true}
MSG: {type: STRING, desc: message}
FLASHLIGHT_OFF:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: flashlight off, preserve: true}
FLASHLIGHT_ON:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: flashlight on, preserve: true}
PERFORMANCE_CAPTURE:
__BASE: {type: STATISTIC, level: MINOR, desc: Report camera capture performance Start from camera service capture End with HAL capture end callback, preserve: true}
CALLER_PID: {type: INT32, desc: caller pid}
CALLER_UID: {type: INT32, desc: caller uid}
CALLER_TOKENID: {type: UINT32, desc: caller tokenId}
CALLER_BUNDLE_NAME: {type: STRING, desc: caller bundle name}
COST_TIME: {type: UINT64, desc: capture cost time}
CAPTURE_ID: {type: STRING, desc: camera capture id}
CUR_MODE: {type: INT32, desc: curent mode}
CUR_CAMERA_ID: {type: STRING, desc: curent camera id}
PERFORMANCE_MODE_CHANGE:
__BASE: {type: STATISTIC, level: MINOR, desc: Report camera mode change performance Start from camera service release session End with preview on first frame, preserve: true}
CALLER_PID: {type: INT32, desc: caller pid}
CALLER_UID: {type: INT32, desc: caller uid}
CALLER_TOKENID: {type: UINT32, desc: caller tokenId}
CALLER_BUNDLE_NAME: {type: STRING, desc: caller bundle name}
COST_TIME: {type: UINT64, desc: mode change cost time}
PRE_MODE: {type: INT32, desc: previous Mode}
CUR_MODE: {type: INT32, desc: curent mode}
PRE_CAMERA_ID: {type: STRING, desc: previous camera id}
CUR_CAMERA_ID: {type: STRING, desc: curent camera id}
PERFORMANCE_START:
__BASE: {type: STATISTIC, level: MINOR, desc: Report camera startup performance Start from camera service open device End with preview on first frame, preserve: true}
CALLER_PID: {type: INT32, desc: caller pid}
CALLER_UID: {type: INT32, desc: caller uid}
CALLER_TOKENID: {type: UINT32, desc: caller tokenId}
CALLER_BUNDLE_NAME: {type: STRING, desc: caller bundle name}
COST_TIME: {type: UINT64, desc: start camera cost time}
CUR_CAMERA_ID: {type: STRING, desc: curent camera id}
START_TYPE: {type: STRING, desc: start camera type}
CUR_MODE: {type: INT32, desc: curent mode}
PERFORMANCE_SWITCH_CAMERA:
__BASE: {type: STATISTIC, level: MINOR, desc: Report camera switch camera performance Start from camera service preSwitchCamera End with preview on first frame, preserve: true}
CALLER_PID: {type: INT32, desc: caller pid}
CALLER_UID: {type: INT32, desc: caller uid}
CALLER_TOKENID: {type: UINT32, desc: caller tokenId}
CALLER_BUNDLE_NAME: {type: STRING, desc: caller bundle name}
COST_TIME: {type: UINT64, desc: switch camera cost time}
PRE_MODE: {type: INT32, desc: previous Mode}
CUR_MODE: {type: INT32, desc: curent mode}
PRE_CAMERA_ID: {type: STRING, desc: previous camera id}
CUR_CAMERA_ID: {type: STRING, desc: curent camera id}
TORCH_STATE:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: torch state, preserve: true}
STATE: {type: INT32, desc: status}
PID: {type: INT32, desc: pid}
UID: {type: INT32, desc: uid}