xref: /base/msdp/device_status/hisysevent.yaml (revision f857971d)
1# Copyright (c) 2021-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: MSDP
15
16SUBSCRIBE:
17  __BASE: {type: STATISTIC, level: MINOR, tag: deviceStatus, desc: subscribes to the device status}
18  UID: {type: INT32, desc: subscribes to the device status uid}
19  PACKAGE_NAME: {type: STRING, desc: devicestatus pkgname}
20  TYPE: {type: INT32, desc: deviceStatus type}
21
22UNSUBSCRIBE:
23  __BASE: {type: STATISTIC, level: MINOR, tag: deviceStatus, desc: unsubscribes from the device status}
24  UID: {type: INT32, desc: unsubscribes from the device status uid}
25  PACKAGE_NAME: {type: STRING, desc: devicestatus pkgname}
26  TYPE: {type: INT32, desc: deviceStatus type}
27
28PREPARE_SUCCESS:
29  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: prepare coordination}
30  MONITOR_ID: {type: INT32, desc: Monitor_Id}
31  ISOPEN: {type: BOOL, desc: IsOpen}
32  MSG: {type: STRING, desc: Prepare Coordination Successfully}
33
34PREPARE_FAILED:
35  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: prepare coordination}
36  MONITOR_ID: {type: INT32, desc: Monitor_Id}
37  ISOPEN: {type: BOOL, desc: IsOpen}
38  MSG: {type: STRING, desc: Prepare Coordination Failed}
39
40UNPREPARE_SUCCESS:
41  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: unprepare coordination}
42  ISCLOSE: {type: BOOL, desc: IsClose}
43  MSG: {type: STRING, desc: Unprepare Coordination Successfully}
44
45UNPREPARE_FAILED:
46  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: unprepare coordination}
47  ISCLOSE: {type: BOOL, desc: IsClose}
48  MSG: {type: STRING, desc: Unprepare Coordination Failed}
49
50ACTIVATE_SUCCESS:
51  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: start remote coordination}
52  LOCALNETWORKID: {type: STRING, desc: localNetworkId}
53  REMOTENETWORKID: {type: STRING, desc: remoteNetworkId}
54  MSG: {type: STRING, desc: Start Remote Coordination Successfully}
55
56ACTIVATE_FAILED:
57  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: start remote coordination}
58  LOCALNETWORKID: {type: STRING, desc: localNetworkId}
59  REMOTENETWORKID: {type: STRING, desc: remoteNetworkId}
60  MSG: {type: STRING, desc: Start Remote Coordination Failed}
61
62ACTIVATE_RESULT:
63  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: Start Remote Accordination Result}
64  REMOTENETWORKID: {type: STRING, desc: remoteNetWorkId}
65  ISSUCCESS: {type: BOOL, desc: IsSuccess}
66  MSG: {type: STRING, desc: Start Remote Accordination Result Failed}
67
68DEACTIVATE_SUCCESS:
69  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: stop remote coordination}
70  REMOTENETWORKID: {type: STRING, desc: remoteNetWorkId}
71  SESSIONID: {type: INT32, desc: sessionId}
72  MSG: {type: STRING, desc: Stop Remote Accordination Successfully}
73
74DEACTIVATE_FAILED:
75  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: stop remote coordination}
76  REMOTENETWORKID: {type: STRING, desc: remoteNetWorkId}
77  SESSIONID: {type: INT32, desc: sessionId}
78  MSG: {type: STRING, desc: Stop Remote Accordination Failed}
79
80DEACTIVATE_RESULT:
81  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: stop remote coordination result}
82  REMOTENETWORKID: {type: STRING, desc: remoteNetWorkId}
83  SESSIONID: {type: INT32, desc: sessionId}
84  MSG: {type: STRING, desc: Stop Remote Accordination Result Failed}
85
86D_INPUT_START_REMOTE_INPUT:
87  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: distributed input start remote input}
88  REMOTENETWORKID: {type: STRING, desc: remoteNetWorkId}
89  ORIGINNETWORKID: {type: STRING, desc: originNetWorkId}
90  MSG: {type: STRING, desc: D_input Start Remote Input Failed}
91
92D_INPUT_STOP_REMOTE_INPUT_O:
93  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: distributed input stop remote input}
94  REMOTENETWORKID: {type: STRING, desc: remoteNetWorkId}
95  ORIGINNETWORKID: {type: STRING, desc: originNetWorkId}
96  MSG: {type: STRING, desc: D_input Stop Remote Input Failed}
97
98D_INPUT_STOP_REMOTE_INPUT_T:
99  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: distributed input stop remote input}
100  ORIGINNETWORKID: {type: STRING, desc: originNetWorkId}
101  MSG: {type: STRING, desc: D_input Stop Remote Input Failed}
102
103D_INPUT_PREPARE_REMOTE_INPUT_O:
104  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: distributed input prepare remote input}
105  DEVICEID: {type: STRING, desc: deviceId}
106  MSG: {type: STRING, desc: D_input Prepare Remote Input Failed}
107
108D_INPUT_PREPARE_REMOTE_INPUT_T:
109  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: distributed input prepare remote input}
110  REMOTENETWORKID: {type: STRING, desc: remoteNetWorkId}
111  ORIGINNETWORKID: {type: STRING, desc: originNetWorkId}
112  MSG: {type: STRING, desc: D_input Prepare Remote Input Failed}
113
114D_INPUT_UNPREPARE_REMOTE_INPUT_O:
115  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: distributed input unprepare remote input}
116  DEVICEID: {type: STRING, desc: deviceId}
117  MSG: {type: STRING, desc: D_input Unprepare Remote Input Failed}
118
119D_INPUT_UNPREPARE_REMOTE_INPUT_T:
120  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: distributed input unprepare remote input}
121  REMOTENETWORKID: {type: STRING, desc: remoteNetWorkId}
122  ORIGINNETWORKID: {type: STRING, desc: originNetWorkId}
123  MSG: {type: STRING, desc: D_input Unprepare Remote Input Failed}
124
125OPEN_SOFUBUS_RESULT:
126  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: open softbus result}
127  REMOTENETWORKID: {type: STRING, desc: remoteNetWorkId}
128  PARA: {type: INT32, desc: tag information}
129  MSG: {type: STRING, desc: Open SoftBus Result Failed}
130
131START_DRAG_SUCCESS:
132  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: start drag}
133  MSG: {type: STRING, desc: Start Drag Successfully}
134  CURDRAGSTATE: {type: STRING, desc: dragstate}
135
136START_DRAG_FAILED:
137  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: start drag}
138  MSG: {type: STRING, desc: Start Drag Failed}
139  CURDRAGSTATE: {type: STRING, desc: dragstate}
140
141SET_DRAG_WINDOW_VISIBLE_SUCCESS:
142  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: Set Drag Window Visible}
143  MSG: {type: STRING, desc: Set Drag Window Visible Successfully}
144  ISVISBLE: {type: BOOL, desc: IsVisible}
145  CURDRAGSTATE: {type: STRING, desc: dragstate}
146
147SET_DRAG_WINDOW_VISIBLE_FAILED:
148  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: Set Drag Window Visible}
149  MSG: {type: STRING, desc: Set Drag Window Visible Failed}
150  ISVISBLE: {type: BOOL, desc: IsVisible}
151  CURDRAGSTATE: {type: STRING, desc: dragstate}
152
153UPDATE_DRAG_STYLE_SUCCESS:
154  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: Update Drag Style}
155  MSG: {type: STRING, desc: Update Drag Style Successfully}
156  DRAGSTYLE: {type: STRING, desc: dragstyle}
157
158
159UPDATE_DRAG_STYLE_FAILED:
160  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: Update Drag Style}
161  MSG: {type: STRING, desc: Update Drag Style Failed}
162  DRAGSTYLE: {type: STRING, desc: dragstyle}
163
164SEND_TOKENID:
165  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: Send Drag Data}
166  MSG: {type: STRING, desc: Send Token Id Failed}
167  TARGETID: {type: INT32, desc: targetTid}
168  UDKEY: {type: STRING, desc: udkey}
169
170STOP_DRAG_SUCCESS:
171  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: Stop Drag}
172  MSG: {type: STRING, desc: Stop Drag Successfully}
173  CURDRAGSTATE: {type: STRING, desc: dragstate}
174  ANIMATE: {type: BOOL, desc: animate}
175
176STOP_DRAG_FAILED:
177  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: Stop Drag}
178  MSG: {type: STRING, desc: Stop Drag Failed}
179  CURDRAGSTATE: {type: STRING, desc: dragstate}
180  ANIMATE: {type: BOOL, desc: animate}
181
182NOTIFY_DRAG_RESULT_SUCCESS:
183  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: Notify Drag Result}
184  MSG: {type: STRING, desc: Notify Drag Result Successfully}
185  DRAGRESULT: {type: STRING, desc: DragResult}
186
187NOTIFY_DRAG_RESULT_FAILED:
188  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: Notify Drag Result}
189  MSG: {type: STRING, desc: Notify Drag Result Failed}
190  DRAGRESULT: {type: STRING, desc: DragResult}
191
192COOPERATE_DRAG_SUCCESS:
193  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: Cooperate Drag}
194  MSG: {type: STRING, desc: On Coordination And The State Change Successfully}
195  PRESTATE: {type: STRING, desc: PreviousState}
196  UPDATESTATE: {type: STRING, desc: UpdateState}
197
198COOPERATE_DRAG_FAILED:
199  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: Cooperate Drag}
200  MSG: {type: STRING, desc: The Current Coordination State Is Out}
201  CURSTATE: {type: STRING, desc: CurrentState}
202
203COOPERATE_DRAG_RESULT_SUCCESS:
204  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: Cooperate Drag Result}
205  MSG: {type: STRING, desc: Coordination Drag Result Successfully}
206  DEVICEID: {type: STRING, desc: remotedeviceId}
207  SESSIONID: {type: STRING, desc: sessionId}
208  CURSTATE: {type: STRING, desc: CurCoordinationState}
209
210COOPERATE_DRAG_RESULT_FAILED:
211  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: Cooperate Drag Result}
212  MSG: {type: STRING, desc: Coordination Drag Result Failed}
213  DEVICEID: {type: STRING, desc: remotedeviceId}
214  SESSIONID: {type: STRING, desc: sessionId}
215  CURSTATE: {type: STRING, desc: CurCoordinationState}
216
217ENABLE_SUCCESS:
218  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: enable cooperate}
219  MSG: {type: STRING, desc: Enable cooperate successfully}
220
221ENABLE_FAILED:
222  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: enable cooperate}
223  MSG: {type: STRING, desc: Enable cooperate failed}
224
225DISABLE_SUCCESS:
226  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: disable cooperate}
227  MSG: {type: STRING, desc: Disable cooperate successfully}
228
229DISABLE_FAILED:
230  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: disable cooperate}
231  MSG: {type: STRING, desc: Disable cooperate failed}
232
233LOCAL_ACTIVATE_SUCCESS:
234  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: local start cooperate}
235  MSG: {type: STRING, desc: Local start cooperate successfully}
236
237LOCAL_ACTIVATE_FAILED:
238  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: local start cooperate}
239  MSG: {type: STRING, desc: Local start cooperate failed}
240
241REMOTE_ACTIVATE_SUCCESS:
242  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: remote start cooperate}
243  MSG: {type: STRING, desc: Remote start cooperate successfully}
244
245REMOTE_ACTIVATE_FAILED:
246  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: remote start cooperate}
247  MSG: {type: STRING, desc: Remote start cooperate failed}
248
249LOCAL_DEACTIVATE_SUCCESS:
250  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: local stop cooperate}
251  MSG: {type: STRING, desc: Local stop cooperate successfully}
252
253LOCAL_DEACTIVATE_FAILED:
254  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: local stop cooperate}
255  MSG: {type: STRING, desc: Local stop cooperate failed}
256
257REMOTE_DEACTIVATE_SUCCESS:
258  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: remote stop cooperate}
259  MSG: {type: STRING, desc: Remote stop cooperate successfully}
260
261REMOTE_DEACTIVATE_FAILED:
262  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: remote stop cooperate}
263  MSG: {type: STRING, desc: Remote stop cooperate failed}
264
265OPENSESSION_SUCCESS:
266  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: open session}
267  MSG: {type: STRING, desc: Open session successfully}
268
269OPENSESSION_FAILED:
270  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: open session}
271  MSG: {type: STRING, desc: Open session failed}
272
273UPDATESTATE_SUCCESS:
274  __BASE: {type: BEHAVIOR, level: MINOR, tag: deviceStatus, desc: Cooperate update}
275  MSG: {type: STRING, desc: Update cooperatestate successfully}
276  CURSTATE: {type: STRING, desc: CurrentState}
277
278START_SUCCESS:
279  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: Start client}
280  MSG: {type: STRING, desc: Start client successfully}
281
282START_FAILED:
283  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: Start client}
284  MSG: {type: STRING, desc: Start client failed}
285
286STOP_SUCCESS:
287  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: Stop client}
288  MSG: {type: STRING, desc: Stop client successfully}
289
290STOP_FAILED:
291  __BASE: {type: FAULT, level: MINOR, tag: deviceStatus, desc: Stop client}
292  MSG: {type: STRING, desc: Stop client failed}
293
294DRAG_BEHAVIOR:
295  __BASE: {type: BEHAVIOR, level: CRITICAL, desc: Drag behavior, preserve: false}
296  ORG_PKG: {type: STRING, desc: business pkg name}
297  FUNC: {type: STRING, desc: current function name}
298  BIZ_STATE: {type: INT32, desc: business state}
299  BIZ_STAGE: {type: INT32, desc: business stage}
300  BIZ_SCENE: {type: INT32, desc: business scene}
301  STAGE_RES: {type: INT32, desc: stage result}
302  ERROR_CODE: {type: INT32, desc: error code}
303  HOST_PKG: {type: STRING, desc: host module name}
304  LOCAL_NET_ID: {type: STRING, desc: local device network id}
305  PEER_NET_ID: {type: STRING, desc: peer device network id}
306  DRAG_SUMMARY: {type: STRING, desc: drag summary}
307  APP_CALLER: {type: STRING, desc: app caller}