1# Copyright (c) 2024 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: WEBVIEW
15
16AUDIO_FRAME_DROP_STATISTICS:
17  __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: audio frame drop statistics, preserve: true}
18  BUNDLE_NAME: {type: STRING, desc: bundle name}
19  AUDIO_BLANK_FRAME_COUNT: {type: UINT32, desc: audo blank frame count}
20
21AUDIO_PLAY_ERROR:
22  __BASE: {type: FAULT, level: MINOR, tag: fault, desc: audio play error, preserve: true}
23  BUNDLE_NAME: {type: STRING, desc: bundle name}
24  ERROR_TYPE: {type: STRING, desc: audio play error type}
25  ERROR_CODE: {type: STRING, desc: audio play error code}
26  ERROR_DESC: {type: STRING, desc: audio play error description}
27
28CAMERA_CAPTURE_ERROR:
29  __BASE: {type: FAULT, level: MINOR, tag: fault, desc: camera capture error, preserve: true}
30  BUNDLE_NAME: {type: STRING, desc: bundle name}
31  DEVICE_ID: {type: INT32, desc: device ID of camera capture}
32  ERROR_DESC: {type: STRING, desc: camera capture error description}
33
34DRAG_DROP:
35  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: drag drop, preserve: true}
36  BUNDLE_NAME: {type: STRING, desc: bundle name}
37  NWEB_ID: {type: INT32, desc: Drag Drop Nweb Id}
38  PLAIN_TEXT: {type: UINT32, desc: Drag Drop Text size}
39  LINK_URL: {type: UINT32, desc: Drag Drop Url size}
40  HTML: {type: UINT32, desc: Drag Drop Html Size}
41
42DRAG_END:
43  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: drag end, preserve: true}
44  BUNDLE_NAME: {type: STRING, desc: bundle name}
45  NWEB_ID: {type: INT32, desc: Drag End Nweb Id}
46
47DRAG_ENTER:
48  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: drag enter, preserve: true}
49  BUNDLE_NAME: {type: STRING, desc: bundle name}
50  NWEB_ID: {type: INT16, desc: Drag Ented Nweb Id}
51
52DRAG_LEAVE:
53  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: drag leave, preserve: true}
54  BUNDLE_NAME: {type: STRING, desc: bundle name}
55  NWEB_ID: {type: INT16, desc: Drag Leave Nweb Id}
56
57DRAG_START:
58  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: drag start, preserve: true}
59  BUNDLE_NAME: {type: STRING, desc: bundle name}
60  NWEB_ID: {type: INT32, desc: Drag Start Nweb Id}
61
62DYNAMIC_FRAME_DROP_STATISTICS:
63  __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: dynamic frame drop statistics, preserve: true}
64  BUNDLE_NAME: {type: STRING, desc: bundle name}
65  STARTTIME: {type: UINT16, desc: start time}
66  DURATION: {type: UINT16, desc: duration}
67  TOTAL_APP_FRAMES: {type: UINT32, desc: total app frames}
68  TOTAL_APP_MISSED_FRAMES: {type: UINT32, desc: total app missed frames}
69  MAX_APP_FRAMETIME: {type: UINT64, desc: max app frame time}
70  ABILITY_NAME: {type: STRING, desc: ability name}
71  PAGE_URL: {type: STRING, desc: page url}
72  SCENE_ID: {type: STRING, desc: interaction scene id}
73
74FORCE_ENABLE_ZOOM:
75  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: force enable zoom, preserve: true}
76  BUNDLE_NAME: {type: STRING, desc: bundle name}
77  ENABLE_ZOOM_STATUS: {type: STRING, desc: force enable zoom status}
78
79INPUT_METHOD:
80  __BASE: {type: FAULT, level: MINOR, tag: fault, desc: input method error, preserve: true}
81  BUNDLE_NAME: {type: STRING, desc: bundle name}
82  ATTACH_CODE: {type: STRING, desc: attach code}
83  IS_SHOW_KEY_BOARD: {type: STRING, desc: is show key board}
84
85INSTANCE_INITIALIZE_TIME:
86  __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: web instance initialize time statistics, preserve: true}
87  BUNDLE_NAME: {type: STRING, desc: bundle name}
88  INSTANCE_ID: {type: UINT32, desc: instance id}
89  USED_TIME: {type: INT64, desc: used time}
90
91JANK_STATS_APP:
92  __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: jank statistics, preserve: true}
93  BUNDLE_NAME: {type: STRING, desc: package name}
94  VERSION_NAME: {type: STRING, desc: app version name}
95  ABILITY_NAME: {type: STRING, desc: ability name}
96  JANK_STATS: {type: UINT16, arrsize: 8, desc: jank frame stats}
97  STARTTIME: {type: INT64, desc: begin time since last report}
98  JANK_STATS_VER: {type: UINT32, desc: jank range version}
99  VERSION_CODE: {type: UINT32, desc: app version code}
100  DURATION: {type: INT64, desc: duration since last report}
101
102MULTI_INSTANCE_STATISTICS:
103  __BASE: {type: STATISTIC, level: CRITICAL, tag: webStats, desc: statistics of multiple instances, preserve: true}
104  INSTANCE_ID: {type: UINT32, desc: web instance id}
105  MAX_COUNT: {type: UINT32, desc: maximum  instance count}
106  INSTANCE_COUNT: {type: UINT32, desc: web instance count}
107  BUNDLE_NAME: {type: STRING, desc: bundle name}
108
109OPEN_PRIVATE_MODE:
110  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: open private mode, preserve: true}
111  BUNDLE_NAME: {type: STRING, desc: bundle name}
112  OPEN_PRIVATE_STATUS: {type: BOOL, desc: open private status}
113
114PAGE_DOWNLOAD_ERROR:
115  __BASE: {type: FAULT, level: MINOR, tag: fault, desc: page download error, preserve: true}
116  BUNDLE_NAME: {type: STRING, desc: bundle name}
117  ERROR_CODE: {type: INT32, desc: error code}
118
119PAGE_LOAD_ERROR:
120  __BASE: {type: FAULT, level: CRITICAL, tag: webError, desc: page load error info, preserve: true}
121  ERROR_DESC: {type: STRING, desc: page error description}
122  INSTANCE_ID: {type: UINT32, desc: web instance id}
123  ERROR_CODE: {type: UINT32, desc: page error code}
124  ERROR_TYPE: {type: STRING, desc: page error type}
125  BUNDLE_NAME: {type: STRING, desc: bundle name}
126
127PAGE_LOAD_STATISTICS:
128  __BASE: {type: STATISTIC, level: CRITICAL, tag: webStats, desc: page load statistics, preserve: true}
129  ACCESS_SUM_COUNT: {type: UINT32, desc: page access sum count}
130  ACCESS_SUCC_COUNT: {type: UINT32, desc: page access success count}
131  INSTANCE_ID: {type: UINT32, desc: web instance id}
132  ACCESS_FAIL_RATIO: {type: FLOAT, desc: page access fail ratio}
133  ACCESS_FAIL_COUNT: {type: UINT32, desc: page access fail count}
134  BUNDLE_NAME: {type: STRING, desc: bundle name}
135
136PAGE_LOAD_TIME:
137  __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: page load time, preserve: true}
138  BUNDLE_NAME: {type: STRING, desc: bundle name}
139  ABILITY_NAME: {type: STRING, desc: ability name}
140  NAVIGATION_ID: {type: INT64, desc: navigation id}
141  NAVIGATION_START: {type: INT64, desc: navigation start}
142  REDIRECT_COUNT: {type: UINT32, desc: redirect count}
143  REDIRECT_START: {type: INT64, desc: redirect start}
144  REDIRECT_END: {type: INT64, desc: redirect end}
145  FETCH_START: {type: INT64, desc: fetch start}
146  WORKER_START: {type: INT64, desc: service worker start time}
147  DOMAIN_LOOKUP_START: {type: INT64, desc: domain lookup start}
148  DOMAIN_LOOKUP_END: {type: INT64, desc: domain lookup end}
149  CONNECT_START: {type: INT64, desc: connect start}
150  SECURE_CONNECT_START: {type: INT64, desc: secure connect start}
151  CONNECT_END: {type: INT64, desc: connect end}
152  REQUEST_START: {type: INT64, desc: request start}
153  RESPONSE_START: {type: INT64, desc: response start}
154  RESPONSE_END: {type: INT64, desc: response end}
155  DOM_INTERACTIVE: {type: INT64, desc: dom interactive}
156  DOM_CONTENT_LOADED_EVENT_START: {type: INT64, desc: dom content load event start}
157  DOM_CONTENT_LOADED_EVENT_END: {type: INT64, desc: dom content load event end}
158  LOAD_EVENT_START: {type: INT64, desc: load event start}
159  LOAD_EVENT_END: {type: INT64, desc: load event end}
160  FIRST_PAINT: {type: INT64, desc: first paint}
161  FIRST_CONTENTFUL_PAINT: {type: INT64, desc: first contentful paint}
162  LARGEST_CONTENTFUL_PAINT: {type: INT64, desc: largest contentful paint}
163
164PASTE_BOARD_ERROR:
165  __BASE: {type: FAULT, level: MINOR, tag: fault, desc: paste board error, preserve: true}
166  BUNDLE_NAME: {type: STRING, desc: bundle name}
167  ERROR_CODE: {type: INT32, desc: error code}
168  RECORD_SIZE: {type: INT64, desc: record size}
169
170PROCESS_CRASH:
171  __BASE: {type: FAULT, level: MINOR, desc: process crash, preserve: true}
172  BUNDLE_NAME: {type: STRING, desc: bundle name}
173  PROCESS_TYPE: {type: STRING, desc: process type}
174  ERROR_REASON: {type: STRING, desc: error reason}
175  CRASH_COUNT: {type: UINT32, desc: crash count}
176
177RENDER_JIT_LOCKDOWN:
178  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: advanced security lock mode, preserve: true}
179  BUNDLE_NAME: {type: STRING, desc: bundle name}
180  JIT_LOCKDOWN_MODE: {type: BOOL, desc: jit lockdown mode}
181
182SITE_ISOLATION_MODE:
183  __BASE: {type: BEHAVIOR, level: MINOR, tag: UserBehavior, desc: site isolation mode, preserve: true}
184  BUNDLE_NAME: {type: STRING, desc: bundle name}
185  SITE_ISOLATION_STATUS: {type: BOOL, desc: site isolation status}
186
187VIDEO_FRAME_DROP_STATISTICS:
188  __BASE: {type: STATISTIC, level: MINOR, tag: performance, desc: videos frame drop statistics, preserve: true}
189  BUNDLE_NAME: {type: STRING, desc: bundle name}
190  VIDEO_FRAME_DROPPED_COUNT: {type: UINT32, desc: video frame dropped count}
191  VIDEO_FRAME_DROPPED_DURATION: {type: UINT64, desc: video frame dropped duration}
192
193VIDEO_PLAY_ERROR:
194  __BASE: {type: FAULT, level: MINOR, tag: fault, desc: video play error, preserve: true}
195  BUNDLE_NAME: {type: STRING, desc: bundle name}
196  ERROR_TYPE: {type: STRING, desc: error type}
197  ERROR_CODE: {type: UINT32, desc: error code}
198  ERROR_DESC: {type: STRING, desc: error info}
199