1# Copyright (c) 2021-2022 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
217DRAG_BEHAVIOR:
218  __BASE: {type: BEHAVIOR, level: CRITICAL, desc: Drag behavior, preserve: false}
219  ORG_PKG: {type: STRING, desc: business pkg name}
220  FUNC: {type: STRING, desc: current function name}
221  BIZ_STATE: {type: INT32, desc: business state}
222  BIZ_STAGE: {type: INT32, desc: business stage}
223  BIZ_SCENE: {type: INT32, desc: business scene}
224  STAGE_RES: {type: INT32, desc: stage result}
225  ERROR_CODE: {type: INT32, desc: error code}
226  HOST_PKG: {type: STRING, desc: host module name}
227  LOCAL_NET_ID: {type: STRING, desc: local device network id}
228  PEER_NET_ID: {type: STRING, desc: peer device network id}
229  DRAG_SUMMARY: {type: STRING, desc: drag summary}
230  APP_CALLER: {type: STRING, desc: app caller}