5 rpc sync(ReqEmpty) returns (RspEmpty) {}
6 rpc killServer(ReqEmpty) returns (RspEmpty) {}
8 rpc findElement(ReqFindElement) returns (RspFindElement) {}
10 rpc getValue(ReqGetValue) returns (RspGetValue) {}
11 rpc setValue(ReqSetValue) returns (RspSetValue) {}
12 rpc getSize(ReqGetSize) returns (RspGetSize) {}
13 rpc clear(ReqClear) returns (RspClear) {}
14 rpc getAttribute(ReqGetAttribute) returns (RspGetAttribute) {}
16 rpc click(ReqClick) returns (RspClick) {}
17 rpc longClick(ReqClick) returns (RspClick) {}
18 rpc flick(ReqFlick) returns (RspFlick) {}
20 rpc touchDown(ReqTouchDown) returns (RspTouchDown) {}
21 rpc touchMove(ReqTouchMove) returns (RspTouchMove) {}
22 rpc touchUp(ReqTouchUp) returns (RspTouchUp) {}
24 rpc installApp(stream ReqInstallApp) returns (RspInstallApp) {}
25 rpc removeApp(ReqRemoveApp) returns (RspRemoveApp) {}
26 rpc getAppInfo(ReqGetAppInfo) returns (RspGetAppInfo) {}
27 rpc launchApp(ReqLaunchApp) returns (RspLaunchApp) {}
28 rpc closeApp(ReqCloseApp) returns (RspCloseApp) {}
30 rpc getDeviceTime(ReqGetDeviceTime) returns (RspGetDeviceTime) {}
31 rpc getLocation(ReqGetLocation) returns (RspGetLocation) {}
32 rpc sendKey(ReqKey) returns (RspKey) {}
35 // ------------------------------------ //
66 // ------------------------------------ //
68 message ReqFindElement {
74 string automationId = 2;
82 string widgetType = 4;
86 string widgetStyle = 5;
110 bool isFocusable = 11;
113 oneof _isscrollable {
114 bool isScrollable = 12;
118 bool isSelected = 13;
136 repeated ReqFindElement children = 18;
138 message RspFindElement {
139 RspStatus status = 1;
140 repeated Element elements = 2;
143 // ------------------------------------ //
145 message ReqGetValue {
146 string elementId = 1;
147 // TODO : text, widgetstyle, widgettype, automationid
149 message RspGetValue {
150 RspStatus status = 1;
153 string stringValue = 3;
155 double doubleValue = 5;
160 message ReqSetValue {
161 string elementId = 1;
164 string stringValue = 3;
166 double doubleValue = 5;
170 message RspSetValue {
171 RspStatus status = 1;
175 string elementId = 1;
178 RspStatus status = 1;
183 string elementId = 1;
186 RspStatus status = 1;
189 message ReqGetAttribute {
204 string elementId = 1;
205 RequestType attribute = 2;
207 message RspGetAttribute {
208 RspStatus status = 1;
211 string stringValue = 3;
213 double doubleValue = 5;
218 // ------------------------------------ //
226 RequestType type = 1;
228 string elementId = 2;
229 Point coordination = 3;
233 RspStatus status = 1;
237 Point startPoint = 1;
239 int32 durationMs = 3;
242 RspStatus status = 1;
245 message ReqTouchDown{
246 Point coordination = 1;
248 message RspTouchDown{
249 RspStatus status = 1;
253 message ReqTouchMove{
255 Point coordination = 2;
257 message RspTouchMove{
258 RspStatus status = 1;
263 Point coordination = 2;
266 RspStatus status = 1;
269 // ------------------------------------ //
271 message ReqInstallApp{
274 message RspInstallApp{
275 RspStatus status = 1;
278 message ReqRemoveApp{
279 string packageName = 1;
281 message RspRemoveApp{
282 RspStatus status = 1;
285 message ReqGetAppInfo{
286 string packageName = 1;
288 message RspGetAppInfo {
289 RspStatus status = 1;
290 bool isInstalled = 2;
295 message ReqLaunchApp{
296 string packageName = 1;
298 message RspLaunchApp{
299 RspStatus status = 1;
303 string packageName = 1;
306 RspStatus status = 1;
309 // ------------------------------------ //
311 message ReqGetDeviceTime{
318 message RspGetDeviceTime{
319 RspStatus status = 1;
320 int64 timestampUTC = 2;
321 string localeDatetime = 3;
324 message ReqGetLocation{
326 message RspGetLocation{
327 RspStatus status = 1;
350 KeyActionType actionType = 2;
353 string XF86keyCode = 4;
357 RspStatus status = 1;
360 // ------------------------------------ //