android-emulator-webrtc 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/settings.json +3 -0
- package/api_descriptor.pb +0 -0
- package/cloudbuilders/Dockerfile +2 -2
- package/dist/components/emulator/emulator.js +43 -56
- package/dist/components/emulator/net/emulator_status.js +15 -23
- package/dist/components/emulator/net/jsep_protocol_driver.js +54 -104
- package/dist/components/emulator/net/logcat.js +34 -34
- package/dist/components/emulator/views/event_handler.js +57 -75
- package/dist/components/emulator/views/simple_png_view.js +89 -206
- package/dist/components/emulator/views/webrtc_view.js +108 -177
- package/dist/index.js +4 -8
- package/dist/proto/emulator_controller_grpc_web_pb.js +454 -634
- package/dist/proto/emulator_controller_pb.js +4620 -3945
- package/dist/proto/emulator_web_client.js +26 -56
- package/dist/proto/rtc_service_grpc_web_pb.js +35 -101
- package/dist/proto/rtc_service_pb.js +31 -88
- package/package.json +24 -21
- package/proto/README.MD +1 -1
- package/proto/emulator_controller.proto +1090 -804
- package/protoc-plugin/grpc_generator.cc +661 -549
- package/src/components/emulator/emulator.js +3 -10
- package/src/components/emulator/net/jsep_protocol_driver.js +0 -2
- package/src/components/emulator/views/simple_png_view.js +80 -134
- package/src/components/emulator/views/webrtc_view.js +83 -95
- package/test/emulator.test.js +7 -7
- package/test/event_handler.test.js +3 -0
- package/test/jsep_protocol_driver.test.js +3 -0
- package/test/simple_png_view.test.js +54 -42
- package/test/touch_event_handler.test.js +3 -1
|
@@ -5,74 +5,76 @@
|
|
|
5
5
|
* @enhanceable
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
10
|
+
// versions:
|
|
11
|
+
// protoc-gen-grpc-web v1.4.2
|
|
12
|
+
// protoc v3.12.4
|
|
13
|
+
// source: emulator_controller.proto
|
|
9
14
|
|
|
10
15
|
/* eslint-disable */
|
|
11
16
|
// @ts-nocheck
|
|
17
|
+
|
|
12
18
|
var grpc = {};
|
|
13
19
|
grpc.web = require('grpc-web');
|
|
14
|
-
|
|
15
20
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
16
|
-
|
|
17
21
|
var proto = {};
|
|
18
22
|
proto.android = {};
|
|
19
23
|
proto.android.emulation = {};
|
|
20
24
|
proto.android.emulation.control = require('./emulator_controller_pb.js');
|
|
25
|
+
|
|
21
26
|
/**
|
|
22
27
|
* @param {string} hostname
|
|
23
28
|
* @param {?Object} credentials
|
|
24
|
-
* @param {?
|
|
29
|
+
* @param {?grpc.web.ClientOptions} options
|
|
25
30
|
* @constructor
|
|
26
31
|
* @struct
|
|
27
32
|
* @final
|
|
28
33
|
*/
|
|
29
|
-
|
|
30
34
|
proto.android.emulation.control.EmulatorControllerClient = function (hostname, credentials, options) {
|
|
31
35
|
if (!options) options = {};
|
|
32
|
-
options
|
|
36
|
+
options.format = 'text';
|
|
37
|
+
|
|
33
38
|
/**
|
|
34
39
|
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
35
40
|
*/
|
|
36
|
-
|
|
37
41
|
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
42
|
+
|
|
38
43
|
/**
|
|
39
44
|
* @private @const {string} The hostname
|
|
40
45
|
*/
|
|
41
|
-
|
|
42
|
-
this.hostname_ = hostname;
|
|
46
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
43
47
|
};
|
|
48
|
+
|
|
44
49
|
/**
|
|
45
50
|
* @param {string} hostname
|
|
46
51
|
* @param {?Object} credentials
|
|
47
|
-
* @param {?
|
|
52
|
+
* @param {?grpc.web.ClientOptions} options
|
|
48
53
|
* @constructor
|
|
49
54
|
* @struct
|
|
50
55
|
* @final
|
|
51
56
|
*/
|
|
52
|
-
|
|
53
|
-
|
|
54
57
|
proto.android.emulation.control.EmulatorControllerPromiseClient = function (hostname, credentials, options) {
|
|
55
58
|
if (!options) options = {};
|
|
56
|
-
options
|
|
59
|
+
options.format = 'text';
|
|
60
|
+
|
|
57
61
|
/**
|
|
58
62
|
* @private @const {!grpc.web.GrpcWebClientBase} The client
|
|
59
63
|
*/
|
|
60
|
-
|
|
61
64
|
this.client_ = new grpc.web.GrpcWebClientBase(options);
|
|
65
|
+
|
|
62
66
|
/**
|
|
63
67
|
* @private @const {string} The hostname
|
|
64
68
|
*/
|
|
65
|
-
|
|
66
|
-
this.hostname_ = hostname;
|
|
69
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
67
70
|
};
|
|
71
|
+
|
|
68
72
|
/**
|
|
69
73
|
* @const
|
|
70
74
|
* @type {!grpc.web.MethodDescriptor<
|
|
71
75
|
* !proto.android.emulation.control.SensorValue,
|
|
72
76
|
* !proto.android.emulation.control.SensorValue>}
|
|
73
77
|
*/
|
|
74
|
-
|
|
75
|
-
|
|
76
78
|
var methodDescriptor_EmulatorController_streamSensor = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/streamSensor', grpc.web.MethodType.SERVER_STREAMING, proto.android.emulation.control.SensorValue, proto.android.emulation.control.SensorValue,
|
|
77
79
|
/**
|
|
78
80
|
* @param {!proto.android.emulation.control.SensorValue} request
|
|
@@ -81,52 +83,35 @@ var methodDescriptor_EmulatorController_streamSensor = new grpc.web.MethodDescri
|
|
|
81
83
|
function (request) {
|
|
82
84
|
return request.serializeBinary();
|
|
83
85
|
}, proto.android.emulation.control.SensorValue.deserializeBinary);
|
|
84
|
-
/**
|
|
85
|
-
* @const
|
|
86
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
87
|
-
* !proto.android.emulation.control.SensorValue,
|
|
88
|
-
* !proto.android.emulation.control.SensorValue>}
|
|
89
|
-
*/
|
|
90
86
|
|
|
91
|
-
var methodInfo_EmulatorController_streamSensor = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.SensorValue,
|
|
92
|
-
/**
|
|
93
|
-
* @param {!proto.android.emulation.control.SensorValue} request
|
|
94
|
-
* @return {!Uint8Array}
|
|
95
|
-
*/
|
|
96
|
-
function (request) {
|
|
97
|
-
return request.serializeBinary();
|
|
98
|
-
}, proto.android.emulation.control.SensorValue.deserializeBinary);
|
|
99
87
|
/**
|
|
100
88
|
* @param {!proto.android.emulation.control.SensorValue} request The request proto
|
|
101
|
-
* @param {?Object<string, string
|
|
89
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
102
90
|
* call metadata
|
|
103
91
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.SensorValue>}
|
|
104
92
|
* The XHR Node Readable Stream
|
|
105
93
|
*/
|
|
106
|
-
|
|
107
94
|
proto.android.emulation.control.EmulatorControllerClient.prototype.streamSensor = function (request, metadata) {
|
|
108
95
|
return this.client_.serverStreaming(this.hostname_ + '/android.emulation.control.EmulatorController/streamSensor', request, metadata || {}, methodDescriptor_EmulatorController_streamSensor);
|
|
109
96
|
};
|
|
97
|
+
|
|
110
98
|
/**
|
|
111
99
|
* @param {!proto.android.emulation.control.SensorValue} request The request proto
|
|
112
|
-
* @param {?Object<string, string
|
|
100
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
113
101
|
* call metadata
|
|
114
102
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.SensorValue>}
|
|
115
103
|
* The XHR Node Readable Stream
|
|
116
104
|
*/
|
|
117
|
-
|
|
118
|
-
|
|
119
105
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.streamSensor = function (request, metadata) {
|
|
120
106
|
return this.client_.serverStreaming(this.hostname_ + '/android.emulation.control.EmulatorController/streamSensor', request, metadata || {}, methodDescriptor_EmulatorController_streamSensor);
|
|
121
107
|
};
|
|
108
|
+
|
|
122
109
|
/**
|
|
123
110
|
* @const
|
|
124
111
|
* @type {!grpc.web.MethodDescriptor<
|
|
125
112
|
* !proto.android.emulation.control.SensorValue,
|
|
126
113
|
* !proto.android.emulation.control.SensorValue>}
|
|
127
114
|
*/
|
|
128
|
-
|
|
129
|
-
|
|
130
115
|
var methodDescriptor_EmulatorController_getSensor = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/getSensor', grpc.web.MethodType.UNARY, proto.android.emulation.control.SensorValue, proto.android.emulation.control.SensorValue,
|
|
131
116
|
/**
|
|
132
117
|
* @param {!proto.android.emulation.control.SensorValue} request
|
|
@@ -135,56 +120,39 @@ var methodDescriptor_EmulatorController_getSensor = new grpc.web.MethodDescripto
|
|
|
135
120
|
function (request) {
|
|
136
121
|
return request.serializeBinary();
|
|
137
122
|
}, proto.android.emulation.control.SensorValue.deserializeBinary);
|
|
138
|
-
/**
|
|
139
|
-
* @const
|
|
140
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
141
|
-
* !proto.android.emulation.control.SensorValue,
|
|
142
|
-
* !proto.android.emulation.control.SensorValue>}
|
|
143
|
-
*/
|
|
144
123
|
|
|
145
|
-
var methodInfo_EmulatorController_getSensor = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.SensorValue,
|
|
146
|
-
/**
|
|
147
|
-
* @param {!proto.android.emulation.control.SensorValue} request
|
|
148
|
-
* @return {!Uint8Array}
|
|
149
|
-
*/
|
|
150
|
-
function (request) {
|
|
151
|
-
return request.serializeBinary();
|
|
152
|
-
}, proto.android.emulation.control.SensorValue.deserializeBinary);
|
|
153
124
|
/**
|
|
154
125
|
* @param {!proto.android.emulation.control.SensorValue} request The
|
|
155
126
|
* request proto
|
|
156
127
|
* @param {?Object<string, string>} metadata User defined
|
|
157
128
|
* call metadata
|
|
158
|
-
* @param {function(?grpc.web.
|
|
129
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.SensorValue)}
|
|
159
130
|
* callback The callback function(error, response)
|
|
160
131
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.SensorValue>|undefined}
|
|
161
132
|
* The XHR Node Readable Stream
|
|
162
133
|
*/
|
|
163
|
-
|
|
164
134
|
proto.android.emulation.control.EmulatorControllerClient.prototype.getSensor = function (request, metadata, callback) {
|
|
165
135
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/getSensor', request, metadata || {}, methodDescriptor_EmulatorController_getSensor, callback);
|
|
166
136
|
};
|
|
137
|
+
|
|
167
138
|
/**
|
|
168
139
|
* @param {!proto.android.emulation.control.SensorValue} request The
|
|
169
140
|
* request proto
|
|
170
|
-
* @param {?Object<string, string
|
|
141
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
171
142
|
* call metadata
|
|
172
143
|
* @return {!Promise<!proto.android.emulation.control.SensorValue>}
|
|
173
144
|
* Promise that resolves to the response
|
|
174
145
|
*/
|
|
175
|
-
|
|
176
|
-
|
|
177
146
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.getSensor = function (request, metadata) {
|
|
178
147
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/getSensor', request, metadata || {}, methodDescriptor_EmulatorController_getSensor);
|
|
179
148
|
};
|
|
149
|
+
|
|
180
150
|
/**
|
|
181
151
|
* @const
|
|
182
152
|
* @type {!grpc.web.MethodDescriptor<
|
|
183
153
|
* !proto.android.emulation.control.SensorValue,
|
|
184
154
|
* !proto.google.protobuf.Empty>}
|
|
185
155
|
*/
|
|
186
|
-
|
|
187
|
-
|
|
188
156
|
var methodDescriptor_EmulatorController_setSensor = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/setSensor', grpc.web.MethodType.UNARY, proto.android.emulation.control.SensorValue, google_protobuf_empty_pb.Empty,
|
|
189
157
|
/**
|
|
190
158
|
* @param {!proto.android.emulation.control.SensorValue} request
|
|
@@ -193,56 +161,39 @@ var methodDescriptor_EmulatorController_setSensor = new grpc.web.MethodDescripto
|
|
|
193
161
|
function (request) {
|
|
194
162
|
return request.serializeBinary();
|
|
195
163
|
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
196
|
-
/**
|
|
197
|
-
* @const
|
|
198
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
199
|
-
* !proto.android.emulation.control.SensorValue,
|
|
200
|
-
* !proto.google.protobuf.Empty>}
|
|
201
|
-
*/
|
|
202
164
|
|
|
203
|
-
var methodInfo_EmulatorController_setSensor = new grpc.web.AbstractClientBase.MethodInfo(google_protobuf_empty_pb.Empty,
|
|
204
|
-
/**
|
|
205
|
-
* @param {!proto.android.emulation.control.SensorValue} request
|
|
206
|
-
* @return {!Uint8Array}
|
|
207
|
-
*/
|
|
208
|
-
function (request) {
|
|
209
|
-
return request.serializeBinary();
|
|
210
|
-
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
211
165
|
/**
|
|
212
166
|
* @param {!proto.android.emulation.control.SensorValue} request The
|
|
213
167
|
* request proto
|
|
214
168
|
* @param {?Object<string, string>} metadata User defined
|
|
215
169
|
* call metadata
|
|
216
|
-
* @param {function(?grpc.web.
|
|
170
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
217
171
|
* callback The callback function(error, response)
|
|
218
172
|
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
219
173
|
* The XHR Node Readable Stream
|
|
220
174
|
*/
|
|
221
|
-
|
|
222
175
|
proto.android.emulation.control.EmulatorControllerClient.prototype.setSensor = function (request, metadata, callback) {
|
|
223
176
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/setSensor', request, metadata || {}, methodDescriptor_EmulatorController_setSensor, callback);
|
|
224
177
|
};
|
|
178
|
+
|
|
225
179
|
/**
|
|
226
180
|
* @param {!proto.android.emulation.control.SensorValue} request The
|
|
227
181
|
* request proto
|
|
228
|
-
* @param {?Object<string, string
|
|
182
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
229
183
|
* call metadata
|
|
230
184
|
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
231
185
|
* Promise that resolves to the response
|
|
232
186
|
*/
|
|
233
|
-
|
|
234
|
-
|
|
235
187
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.setSensor = function (request, metadata) {
|
|
236
188
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/setSensor', request, metadata || {}, methodDescriptor_EmulatorController_setSensor);
|
|
237
189
|
};
|
|
190
|
+
|
|
238
191
|
/**
|
|
239
192
|
* @const
|
|
240
193
|
* @type {!grpc.web.MethodDescriptor<
|
|
241
194
|
* !proto.android.emulation.control.PhysicalModelValue,
|
|
242
195
|
* !proto.google.protobuf.Empty>}
|
|
243
196
|
*/
|
|
244
|
-
|
|
245
|
-
|
|
246
197
|
var methodDescriptor_EmulatorController_setPhysicalModel = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/setPhysicalModel', grpc.web.MethodType.UNARY, proto.android.emulation.control.PhysicalModelValue, google_protobuf_empty_pb.Empty,
|
|
247
198
|
/**
|
|
248
199
|
* @param {!proto.android.emulation.control.PhysicalModelValue} request
|
|
@@ -251,56 +202,39 @@ var methodDescriptor_EmulatorController_setPhysicalModel = new grpc.web.MethodDe
|
|
|
251
202
|
function (request) {
|
|
252
203
|
return request.serializeBinary();
|
|
253
204
|
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
254
|
-
/**
|
|
255
|
-
* @const
|
|
256
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
257
|
-
* !proto.android.emulation.control.PhysicalModelValue,
|
|
258
|
-
* !proto.google.protobuf.Empty>}
|
|
259
|
-
*/
|
|
260
205
|
|
|
261
|
-
var methodInfo_EmulatorController_setPhysicalModel = new grpc.web.AbstractClientBase.MethodInfo(google_protobuf_empty_pb.Empty,
|
|
262
|
-
/**
|
|
263
|
-
* @param {!proto.android.emulation.control.PhysicalModelValue} request
|
|
264
|
-
* @return {!Uint8Array}
|
|
265
|
-
*/
|
|
266
|
-
function (request) {
|
|
267
|
-
return request.serializeBinary();
|
|
268
|
-
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
269
206
|
/**
|
|
270
207
|
* @param {!proto.android.emulation.control.PhysicalModelValue} request The
|
|
271
208
|
* request proto
|
|
272
209
|
* @param {?Object<string, string>} metadata User defined
|
|
273
210
|
* call metadata
|
|
274
|
-
* @param {function(?grpc.web.
|
|
211
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
275
212
|
* callback The callback function(error, response)
|
|
276
213
|
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
277
214
|
* The XHR Node Readable Stream
|
|
278
215
|
*/
|
|
279
|
-
|
|
280
216
|
proto.android.emulation.control.EmulatorControllerClient.prototype.setPhysicalModel = function (request, metadata, callback) {
|
|
281
217
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/setPhysicalModel', request, metadata || {}, methodDescriptor_EmulatorController_setPhysicalModel, callback);
|
|
282
218
|
};
|
|
219
|
+
|
|
283
220
|
/**
|
|
284
221
|
* @param {!proto.android.emulation.control.PhysicalModelValue} request The
|
|
285
222
|
* request proto
|
|
286
|
-
* @param {?Object<string, string
|
|
223
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
287
224
|
* call metadata
|
|
288
225
|
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
289
226
|
* Promise that resolves to the response
|
|
290
227
|
*/
|
|
291
|
-
|
|
292
|
-
|
|
293
228
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.setPhysicalModel = function (request, metadata) {
|
|
294
229
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/setPhysicalModel', request, metadata || {}, methodDescriptor_EmulatorController_setPhysicalModel);
|
|
295
230
|
};
|
|
231
|
+
|
|
296
232
|
/**
|
|
297
233
|
* @const
|
|
298
234
|
* @type {!grpc.web.MethodDescriptor<
|
|
299
235
|
* !proto.android.emulation.control.PhysicalModelValue,
|
|
300
236
|
* !proto.android.emulation.control.PhysicalModelValue>}
|
|
301
237
|
*/
|
|
302
|
-
|
|
303
|
-
|
|
304
238
|
var methodDescriptor_EmulatorController_getPhysicalModel = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/getPhysicalModel', grpc.web.MethodType.UNARY, proto.android.emulation.control.PhysicalModelValue, proto.android.emulation.control.PhysicalModelValue,
|
|
305
239
|
/**
|
|
306
240
|
* @param {!proto.android.emulation.control.PhysicalModelValue} request
|
|
@@ -309,56 +243,39 @@ var methodDescriptor_EmulatorController_getPhysicalModel = new grpc.web.MethodDe
|
|
|
309
243
|
function (request) {
|
|
310
244
|
return request.serializeBinary();
|
|
311
245
|
}, proto.android.emulation.control.PhysicalModelValue.deserializeBinary);
|
|
312
|
-
/**
|
|
313
|
-
* @const
|
|
314
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
315
|
-
* !proto.android.emulation.control.PhysicalModelValue,
|
|
316
|
-
* !proto.android.emulation.control.PhysicalModelValue>}
|
|
317
|
-
*/
|
|
318
246
|
|
|
319
|
-
var methodInfo_EmulatorController_getPhysicalModel = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.PhysicalModelValue,
|
|
320
|
-
/**
|
|
321
|
-
* @param {!proto.android.emulation.control.PhysicalModelValue} request
|
|
322
|
-
* @return {!Uint8Array}
|
|
323
|
-
*/
|
|
324
|
-
function (request) {
|
|
325
|
-
return request.serializeBinary();
|
|
326
|
-
}, proto.android.emulation.control.PhysicalModelValue.deserializeBinary);
|
|
327
247
|
/**
|
|
328
248
|
* @param {!proto.android.emulation.control.PhysicalModelValue} request The
|
|
329
249
|
* request proto
|
|
330
250
|
* @param {?Object<string, string>} metadata User defined
|
|
331
251
|
* call metadata
|
|
332
|
-
* @param {function(?grpc.web.
|
|
252
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.PhysicalModelValue)}
|
|
333
253
|
* callback The callback function(error, response)
|
|
334
254
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.PhysicalModelValue>|undefined}
|
|
335
255
|
* The XHR Node Readable Stream
|
|
336
256
|
*/
|
|
337
|
-
|
|
338
257
|
proto.android.emulation.control.EmulatorControllerClient.prototype.getPhysicalModel = function (request, metadata, callback) {
|
|
339
258
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/getPhysicalModel', request, metadata || {}, methodDescriptor_EmulatorController_getPhysicalModel, callback);
|
|
340
259
|
};
|
|
260
|
+
|
|
341
261
|
/**
|
|
342
262
|
* @param {!proto.android.emulation.control.PhysicalModelValue} request The
|
|
343
263
|
* request proto
|
|
344
|
-
* @param {?Object<string, string
|
|
264
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
345
265
|
* call metadata
|
|
346
266
|
* @return {!Promise<!proto.android.emulation.control.PhysicalModelValue>}
|
|
347
267
|
* Promise that resolves to the response
|
|
348
268
|
*/
|
|
349
|
-
|
|
350
|
-
|
|
351
269
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.getPhysicalModel = function (request, metadata) {
|
|
352
270
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/getPhysicalModel', request, metadata || {}, methodDescriptor_EmulatorController_getPhysicalModel);
|
|
353
271
|
};
|
|
272
|
+
|
|
354
273
|
/**
|
|
355
274
|
* @const
|
|
356
275
|
* @type {!grpc.web.MethodDescriptor<
|
|
357
276
|
* !proto.android.emulation.control.PhysicalModelValue,
|
|
358
277
|
* !proto.android.emulation.control.PhysicalModelValue>}
|
|
359
278
|
*/
|
|
360
|
-
|
|
361
|
-
|
|
362
279
|
var methodDescriptor_EmulatorController_streamPhysicalModel = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/streamPhysicalModel', grpc.web.MethodType.SERVER_STREAMING, proto.android.emulation.control.PhysicalModelValue, proto.android.emulation.control.PhysicalModelValue,
|
|
363
280
|
/**
|
|
364
281
|
* @param {!proto.android.emulation.control.PhysicalModelValue} request
|
|
@@ -367,52 +284,35 @@ var methodDescriptor_EmulatorController_streamPhysicalModel = new grpc.web.Metho
|
|
|
367
284
|
function (request) {
|
|
368
285
|
return request.serializeBinary();
|
|
369
286
|
}, proto.android.emulation.control.PhysicalModelValue.deserializeBinary);
|
|
370
|
-
/**
|
|
371
|
-
* @const
|
|
372
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
373
|
-
* !proto.android.emulation.control.PhysicalModelValue,
|
|
374
|
-
* !proto.android.emulation.control.PhysicalModelValue>}
|
|
375
|
-
*/
|
|
376
287
|
|
|
377
|
-
var methodInfo_EmulatorController_streamPhysicalModel = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.PhysicalModelValue,
|
|
378
|
-
/**
|
|
379
|
-
* @param {!proto.android.emulation.control.PhysicalModelValue} request
|
|
380
|
-
* @return {!Uint8Array}
|
|
381
|
-
*/
|
|
382
|
-
function (request) {
|
|
383
|
-
return request.serializeBinary();
|
|
384
|
-
}, proto.android.emulation.control.PhysicalModelValue.deserializeBinary);
|
|
385
288
|
/**
|
|
386
289
|
* @param {!proto.android.emulation.control.PhysicalModelValue} request The request proto
|
|
387
|
-
* @param {?Object<string, string
|
|
290
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
388
291
|
* call metadata
|
|
389
292
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.PhysicalModelValue>}
|
|
390
293
|
* The XHR Node Readable Stream
|
|
391
294
|
*/
|
|
392
|
-
|
|
393
295
|
proto.android.emulation.control.EmulatorControllerClient.prototype.streamPhysicalModel = function (request, metadata) {
|
|
394
296
|
return this.client_.serverStreaming(this.hostname_ + '/android.emulation.control.EmulatorController/streamPhysicalModel', request, metadata || {}, methodDescriptor_EmulatorController_streamPhysicalModel);
|
|
395
297
|
};
|
|
298
|
+
|
|
396
299
|
/**
|
|
397
300
|
* @param {!proto.android.emulation.control.PhysicalModelValue} request The request proto
|
|
398
|
-
* @param {?Object<string, string
|
|
301
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
399
302
|
* call metadata
|
|
400
303
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.PhysicalModelValue>}
|
|
401
304
|
* The XHR Node Readable Stream
|
|
402
305
|
*/
|
|
403
|
-
|
|
404
|
-
|
|
405
306
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.streamPhysicalModel = function (request, metadata) {
|
|
406
307
|
return this.client_.serverStreaming(this.hostname_ + '/android.emulation.control.EmulatorController/streamPhysicalModel', request, metadata || {}, methodDescriptor_EmulatorController_streamPhysicalModel);
|
|
407
308
|
};
|
|
309
|
+
|
|
408
310
|
/**
|
|
409
311
|
* @const
|
|
410
312
|
* @type {!grpc.web.MethodDescriptor<
|
|
411
313
|
* !proto.android.emulation.control.ClipData,
|
|
412
314
|
* !proto.google.protobuf.Empty>}
|
|
413
315
|
*/
|
|
414
|
-
|
|
415
|
-
|
|
416
316
|
var methodDescriptor_EmulatorController_setClipboard = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/setClipboard', grpc.web.MethodType.UNARY, proto.android.emulation.control.ClipData, google_protobuf_empty_pb.Empty,
|
|
417
317
|
/**
|
|
418
318
|
* @param {!proto.android.emulation.control.ClipData} request
|
|
@@ -421,56 +321,39 @@ var methodDescriptor_EmulatorController_setClipboard = new grpc.web.MethodDescri
|
|
|
421
321
|
function (request) {
|
|
422
322
|
return request.serializeBinary();
|
|
423
323
|
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
424
|
-
/**
|
|
425
|
-
* @const
|
|
426
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
427
|
-
* !proto.android.emulation.control.ClipData,
|
|
428
|
-
* !proto.google.protobuf.Empty>}
|
|
429
|
-
*/
|
|
430
324
|
|
|
431
|
-
var methodInfo_EmulatorController_setClipboard = new grpc.web.AbstractClientBase.MethodInfo(google_protobuf_empty_pb.Empty,
|
|
432
|
-
/**
|
|
433
|
-
* @param {!proto.android.emulation.control.ClipData} request
|
|
434
|
-
* @return {!Uint8Array}
|
|
435
|
-
*/
|
|
436
|
-
function (request) {
|
|
437
|
-
return request.serializeBinary();
|
|
438
|
-
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
439
325
|
/**
|
|
440
326
|
* @param {!proto.android.emulation.control.ClipData} request The
|
|
441
327
|
* request proto
|
|
442
328
|
* @param {?Object<string, string>} metadata User defined
|
|
443
329
|
* call metadata
|
|
444
|
-
* @param {function(?grpc.web.
|
|
330
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
445
331
|
* callback The callback function(error, response)
|
|
446
332
|
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
447
333
|
* The XHR Node Readable Stream
|
|
448
334
|
*/
|
|
449
|
-
|
|
450
335
|
proto.android.emulation.control.EmulatorControllerClient.prototype.setClipboard = function (request, metadata, callback) {
|
|
451
336
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/setClipboard', request, metadata || {}, methodDescriptor_EmulatorController_setClipboard, callback);
|
|
452
337
|
};
|
|
338
|
+
|
|
453
339
|
/**
|
|
454
340
|
* @param {!proto.android.emulation.control.ClipData} request The
|
|
455
341
|
* request proto
|
|
456
|
-
* @param {?Object<string, string
|
|
342
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
457
343
|
* call metadata
|
|
458
344
|
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
459
345
|
* Promise that resolves to the response
|
|
460
346
|
*/
|
|
461
|
-
|
|
462
|
-
|
|
463
347
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.setClipboard = function (request, metadata) {
|
|
464
348
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/setClipboard', request, metadata || {}, methodDescriptor_EmulatorController_setClipboard);
|
|
465
349
|
};
|
|
350
|
+
|
|
466
351
|
/**
|
|
467
352
|
* @const
|
|
468
353
|
* @type {!grpc.web.MethodDescriptor<
|
|
469
354
|
* !proto.google.protobuf.Empty,
|
|
470
355
|
* !proto.android.emulation.control.ClipData>}
|
|
471
356
|
*/
|
|
472
|
-
|
|
473
|
-
|
|
474
357
|
var methodDescriptor_EmulatorController_getClipboard = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/getClipboard', grpc.web.MethodType.UNARY, google_protobuf_empty_pb.Empty, proto.android.emulation.control.ClipData,
|
|
475
358
|
/**
|
|
476
359
|
* @param {!proto.google.protobuf.Empty} request
|
|
@@ -479,56 +362,39 @@ var methodDescriptor_EmulatorController_getClipboard = new grpc.web.MethodDescri
|
|
|
479
362
|
function (request) {
|
|
480
363
|
return request.serializeBinary();
|
|
481
364
|
}, proto.android.emulation.control.ClipData.deserializeBinary);
|
|
482
|
-
/**
|
|
483
|
-
* @const
|
|
484
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
485
|
-
* !proto.google.protobuf.Empty,
|
|
486
|
-
* !proto.android.emulation.control.ClipData>}
|
|
487
|
-
*/
|
|
488
365
|
|
|
489
|
-
var methodInfo_EmulatorController_getClipboard = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.ClipData,
|
|
490
|
-
/**
|
|
491
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
492
|
-
* @return {!Uint8Array}
|
|
493
|
-
*/
|
|
494
|
-
function (request) {
|
|
495
|
-
return request.serializeBinary();
|
|
496
|
-
}, proto.android.emulation.control.ClipData.deserializeBinary);
|
|
497
366
|
/**
|
|
498
367
|
* @param {!proto.google.protobuf.Empty} request The
|
|
499
368
|
* request proto
|
|
500
369
|
* @param {?Object<string, string>} metadata User defined
|
|
501
370
|
* call metadata
|
|
502
|
-
* @param {function(?grpc.web.
|
|
371
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.ClipData)}
|
|
503
372
|
* callback The callback function(error, response)
|
|
504
373
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.ClipData>|undefined}
|
|
505
374
|
* The XHR Node Readable Stream
|
|
506
375
|
*/
|
|
507
|
-
|
|
508
376
|
proto.android.emulation.control.EmulatorControllerClient.prototype.getClipboard = function (request, metadata, callback) {
|
|
509
377
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/getClipboard', request, metadata || {}, methodDescriptor_EmulatorController_getClipboard, callback);
|
|
510
378
|
};
|
|
379
|
+
|
|
511
380
|
/**
|
|
512
381
|
* @param {!proto.google.protobuf.Empty} request The
|
|
513
382
|
* request proto
|
|
514
|
-
* @param {?Object<string, string
|
|
383
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
515
384
|
* call metadata
|
|
516
385
|
* @return {!Promise<!proto.android.emulation.control.ClipData>}
|
|
517
386
|
* Promise that resolves to the response
|
|
518
387
|
*/
|
|
519
|
-
|
|
520
|
-
|
|
521
388
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.getClipboard = function (request, metadata) {
|
|
522
389
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/getClipboard', request, metadata || {}, methodDescriptor_EmulatorController_getClipboard);
|
|
523
390
|
};
|
|
391
|
+
|
|
524
392
|
/**
|
|
525
393
|
* @const
|
|
526
394
|
* @type {!grpc.web.MethodDescriptor<
|
|
527
395
|
* !proto.google.protobuf.Empty,
|
|
528
396
|
* !proto.android.emulation.control.ClipData>}
|
|
529
397
|
*/
|
|
530
|
-
|
|
531
|
-
|
|
532
398
|
var methodDescriptor_EmulatorController_streamClipboard = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/streamClipboard', grpc.web.MethodType.SERVER_STREAMING, google_protobuf_empty_pb.Empty, proto.android.emulation.control.ClipData,
|
|
533
399
|
/**
|
|
534
400
|
* @param {!proto.google.protobuf.Empty} request
|
|
@@ -537,52 +403,35 @@ var methodDescriptor_EmulatorController_streamClipboard = new grpc.web.MethodDes
|
|
|
537
403
|
function (request) {
|
|
538
404
|
return request.serializeBinary();
|
|
539
405
|
}, proto.android.emulation.control.ClipData.deserializeBinary);
|
|
540
|
-
/**
|
|
541
|
-
* @const
|
|
542
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
543
|
-
* !proto.google.protobuf.Empty,
|
|
544
|
-
* !proto.android.emulation.control.ClipData>}
|
|
545
|
-
*/
|
|
546
406
|
|
|
547
|
-
var methodInfo_EmulatorController_streamClipboard = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.ClipData,
|
|
548
|
-
/**
|
|
549
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
550
|
-
* @return {!Uint8Array}
|
|
551
|
-
*/
|
|
552
|
-
function (request) {
|
|
553
|
-
return request.serializeBinary();
|
|
554
|
-
}, proto.android.emulation.control.ClipData.deserializeBinary);
|
|
555
407
|
/**
|
|
556
408
|
* @param {!proto.google.protobuf.Empty} request The request proto
|
|
557
|
-
* @param {?Object<string, string
|
|
409
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
558
410
|
* call metadata
|
|
559
411
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.ClipData>}
|
|
560
412
|
* The XHR Node Readable Stream
|
|
561
413
|
*/
|
|
562
|
-
|
|
563
414
|
proto.android.emulation.control.EmulatorControllerClient.prototype.streamClipboard = function (request, metadata) {
|
|
564
415
|
return this.client_.serverStreaming(this.hostname_ + '/android.emulation.control.EmulatorController/streamClipboard', request, metadata || {}, methodDescriptor_EmulatorController_streamClipboard);
|
|
565
416
|
};
|
|
417
|
+
|
|
566
418
|
/**
|
|
567
419
|
* @param {!proto.google.protobuf.Empty} request The request proto
|
|
568
|
-
* @param {?Object<string, string
|
|
420
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
569
421
|
* call metadata
|
|
570
422
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.ClipData>}
|
|
571
423
|
* The XHR Node Readable Stream
|
|
572
424
|
*/
|
|
573
|
-
|
|
574
|
-
|
|
575
425
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.streamClipboard = function (request, metadata) {
|
|
576
426
|
return this.client_.serverStreaming(this.hostname_ + '/android.emulation.control.EmulatorController/streamClipboard', request, metadata || {}, methodDescriptor_EmulatorController_streamClipboard);
|
|
577
427
|
};
|
|
428
|
+
|
|
578
429
|
/**
|
|
579
430
|
* @const
|
|
580
431
|
* @type {!grpc.web.MethodDescriptor<
|
|
581
432
|
* !proto.android.emulation.control.BatteryState,
|
|
582
433
|
* !proto.google.protobuf.Empty>}
|
|
583
434
|
*/
|
|
584
|
-
|
|
585
|
-
|
|
586
435
|
var methodDescriptor_EmulatorController_setBattery = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/setBattery', grpc.web.MethodType.UNARY, proto.android.emulation.control.BatteryState, google_protobuf_empty_pb.Empty,
|
|
587
436
|
/**
|
|
588
437
|
* @param {!proto.android.emulation.control.BatteryState} request
|
|
@@ -591,56 +440,39 @@ var methodDescriptor_EmulatorController_setBattery = new grpc.web.MethodDescript
|
|
|
591
440
|
function (request) {
|
|
592
441
|
return request.serializeBinary();
|
|
593
442
|
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
594
|
-
/**
|
|
595
|
-
* @const
|
|
596
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
597
|
-
* !proto.android.emulation.control.BatteryState,
|
|
598
|
-
* !proto.google.protobuf.Empty>}
|
|
599
|
-
*/
|
|
600
443
|
|
|
601
|
-
var methodInfo_EmulatorController_setBattery = new grpc.web.AbstractClientBase.MethodInfo(google_protobuf_empty_pb.Empty,
|
|
602
|
-
/**
|
|
603
|
-
* @param {!proto.android.emulation.control.BatteryState} request
|
|
604
|
-
* @return {!Uint8Array}
|
|
605
|
-
*/
|
|
606
|
-
function (request) {
|
|
607
|
-
return request.serializeBinary();
|
|
608
|
-
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
609
444
|
/**
|
|
610
445
|
* @param {!proto.android.emulation.control.BatteryState} request The
|
|
611
446
|
* request proto
|
|
612
447
|
* @param {?Object<string, string>} metadata User defined
|
|
613
448
|
* call metadata
|
|
614
|
-
* @param {function(?grpc.web.
|
|
449
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
615
450
|
* callback The callback function(error, response)
|
|
616
451
|
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
617
452
|
* The XHR Node Readable Stream
|
|
618
453
|
*/
|
|
619
|
-
|
|
620
454
|
proto.android.emulation.control.EmulatorControllerClient.prototype.setBattery = function (request, metadata, callback) {
|
|
621
455
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/setBattery', request, metadata || {}, methodDescriptor_EmulatorController_setBattery, callback);
|
|
622
456
|
};
|
|
457
|
+
|
|
623
458
|
/**
|
|
624
459
|
* @param {!proto.android.emulation.control.BatteryState} request The
|
|
625
460
|
* request proto
|
|
626
|
-
* @param {?Object<string, string
|
|
461
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
627
462
|
* call metadata
|
|
628
463
|
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
629
464
|
* Promise that resolves to the response
|
|
630
465
|
*/
|
|
631
|
-
|
|
632
|
-
|
|
633
466
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.setBattery = function (request, metadata) {
|
|
634
467
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/setBattery', request, metadata || {}, methodDescriptor_EmulatorController_setBattery);
|
|
635
468
|
};
|
|
469
|
+
|
|
636
470
|
/**
|
|
637
471
|
* @const
|
|
638
472
|
* @type {!grpc.web.MethodDescriptor<
|
|
639
473
|
* !proto.google.protobuf.Empty,
|
|
640
474
|
* !proto.android.emulation.control.BatteryState>}
|
|
641
475
|
*/
|
|
642
|
-
|
|
643
|
-
|
|
644
476
|
var methodDescriptor_EmulatorController_getBattery = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/getBattery', grpc.web.MethodType.UNARY, google_protobuf_empty_pb.Empty, proto.android.emulation.control.BatteryState,
|
|
645
477
|
/**
|
|
646
478
|
* @param {!proto.google.protobuf.Empty} request
|
|
@@ -649,56 +481,39 @@ var methodDescriptor_EmulatorController_getBattery = new grpc.web.MethodDescript
|
|
|
649
481
|
function (request) {
|
|
650
482
|
return request.serializeBinary();
|
|
651
483
|
}, proto.android.emulation.control.BatteryState.deserializeBinary);
|
|
652
|
-
/**
|
|
653
|
-
* @const
|
|
654
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
655
|
-
* !proto.google.protobuf.Empty,
|
|
656
|
-
* !proto.android.emulation.control.BatteryState>}
|
|
657
|
-
*/
|
|
658
484
|
|
|
659
|
-
var methodInfo_EmulatorController_getBattery = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.BatteryState,
|
|
660
|
-
/**
|
|
661
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
662
|
-
* @return {!Uint8Array}
|
|
663
|
-
*/
|
|
664
|
-
function (request) {
|
|
665
|
-
return request.serializeBinary();
|
|
666
|
-
}, proto.android.emulation.control.BatteryState.deserializeBinary);
|
|
667
485
|
/**
|
|
668
486
|
* @param {!proto.google.protobuf.Empty} request The
|
|
669
487
|
* request proto
|
|
670
488
|
* @param {?Object<string, string>} metadata User defined
|
|
671
489
|
* call metadata
|
|
672
|
-
* @param {function(?grpc.web.
|
|
490
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.BatteryState)}
|
|
673
491
|
* callback The callback function(error, response)
|
|
674
492
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.BatteryState>|undefined}
|
|
675
493
|
* The XHR Node Readable Stream
|
|
676
494
|
*/
|
|
677
|
-
|
|
678
495
|
proto.android.emulation.control.EmulatorControllerClient.prototype.getBattery = function (request, metadata, callback) {
|
|
679
496
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/getBattery', request, metadata || {}, methodDescriptor_EmulatorController_getBattery, callback);
|
|
680
497
|
};
|
|
498
|
+
|
|
681
499
|
/**
|
|
682
500
|
* @param {!proto.google.protobuf.Empty} request The
|
|
683
501
|
* request proto
|
|
684
|
-
* @param {?Object<string, string
|
|
502
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
685
503
|
* call metadata
|
|
686
504
|
* @return {!Promise<!proto.android.emulation.control.BatteryState>}
|
|
687
505
|
* Promise that resolves to the response
|
|
688
506
|
*/
|
|
689
|
-
|
|
690
|
-
|
|
691
507
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.getBattery = function (request, metadata) {
|
|
692
508
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/getBattery', request, metadata || {}, methodDescriptor_EmulatorController_getBattery);
|
|
693
509
|
};
|
|
510
|
+
|
|
694
511
|
/**
|
|
695
512
|
* @const
|
|
696
513
|
* @type {!grpc.web.MethodDescriptor<
|
|
697
514
|
* !proto.android.emulation.control.GpsState,
|
|
698
515
|
* !proto.google.protobuf.Empty>}
|
|
699
516
|
*/
|
|
700
|
-
|
|
701
|
-
|
|
702
517
|
var methodDescriptor_EmulatorController_setGps = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/setGps', grpc.web.MethodType.UNARY, proto.android.emulation.control.GpsState, google_protobuf_empty_pb.Empty,
|
|
703
518
|
/**
|
|
704
519
|
* @param {!proto.android.emulation.control.GpsState} request
|
|
@@ -707,56 +522,39 @@ var methodDescriptor_EmulatorController_setGps = new grpc.web.MethodDescriptor('
|
|
|
707
522
|
function (request) {
|
|
708
523
|
return request.serializeBinary();
|
|
709
524
|
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
710
|
-
/**
|
|
711
|
-
* @const
|
|
712
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
713
|
-
* !proto.android.emulation.control.GpsState,
|
|
714
|
-
* !proto.google.protobuf.Empty>}
|
|
715
|
-
*/
|
|
716
525
|
|
|
717
|
-
var methodInfo_EmulatorController_setGps = new grpc.web.AbstractClientBase.MethodInfo(google_protobuf_empty_pb.Empty,
|
|
718
|
-
/**
|
|
719
|
-
* @param {!proto.android.emulation.control.GpsState} request
|
|
720
|
-
* @return {!Uint8Array}
|
|
721
|
-
*/
|
|
722
|
-
function (request) {
|
|
723
|
-
return request.serializeBinary();
|
|
724
|
-
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
725
526
|
/**
|
|
726
527
|
* @param {!proto.android.emulation.control.GpsState} request The
|
|
727
528
|
* request proto
|
|
728
529
|
* @param {?Object<string, string>} metadata User defined
|
|
729
530
|
* call metadata
|
|
730
|
-
* @param {function(?grpc.web.
|
|
531
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
731
532
|
* callback The callback function(error, response)
|
|
732
533
|
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
733
534
|
* The XHR Node Readable Stream
|
|
734
535
|
*/
|
|
735
|
-
|
|
736
536
|
proto.android.emulation.control.EmulatorControllerClient.prototype.setGps = function (request, metadata, callback) {
|
|
737
537
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/setGps', request, metadata || {}, methodDescriptor_EmulatorController_setGps, callback);
|
|
738
538
|
};
|
|
539
|
+
|
|
739
540
|
/**
|
|
740
541
|
* @param {!proto.android.emulation.control.GpsState} request The
|
|
741
542
|
* request proto
|
|
742
|
-
* @param {?Object<string, string
|
|
543
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
743
544
|
* call metadata
|
|
744
545
|
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
745
546
|
* Promise that resolves to the response
|
|
746
547
|
*/
|
|
747
|
-
|
|
748
|
-
|
|
749
548
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.setGps = function (request, metadata) {
|
|
750
549
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/setGps', request, metadata || {}, methodDescriptor_EmulatorController_setGps);
|
|
751
550
|
};
|
|
551
|
+
|
|
752
552
|
/**
|
|
753
553
|
* @const
|
|
754
554
|
* @type {!grpc.web.MethodDescriptor<
|
|
755
555
|
* !proto.google.protobuf.Empty,
|
|
756
556
|
* !proto.android.emulation.control.GpsState>}
|
|
757
557
|
*/
|
|
758
|
-
|
|
759
|
-
|
|
760
558
|
var methodDescriptor_EmulatorController_getGps = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/getGps', grpc.web.MethodType.UNARY, google_protobuf_empty_pb.Empty, proto.android.emulation.control.GpsState,
|
|
761
559
|
/**
|
|
762
560
|
* @param {!proto.google.protobuf.Empty} request
|
|
@@ -765,56 +563,39 @@ var methodDescriptor_EmulatorController_getGps = new grpc.web.MethodDescriptor('
|
|
|
765
563
|
function (request) {
|
|
766
564
|
return request.serializeBinary();
|
|
767
565
|
}, proto.android.emulation.control.GpsState.deserializeBinary);
|
|
768
|
-
/**
|
|
769
|
-
* @const
|
|
770
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
771
|
-
* !proto.google.protobuf.Empty,
|
|
772
|
-
* !proto.android.emulation.control.GpsState>}
|
|
773
|
-
*/
|
|
774
566
|
|
|
775
|
-
var methodInfo_EmulatorController_getGps = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.GpsState,
|
|
776
|
-
/**
|
|
777
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
778
|
-
* @return {!Uint8Array}
|
|
779
|
-
*/
|
|
780
|
-
function (request) {
|
|
781
|
-
return request.serializeBinary();
|
|
782
|
-
}, proto.android.emulation.control.GpsState.deserializeBinary);
|
|
783
567
|
/**
|
|
784
568
|
* @param {!proto.google.protobuf.Empty} request The
|
|
785
569
|
* request proto
|
|
786
570
|
* @param {?Object<string, string>} metadata User defined
|
|
787
571
|
* call metadata
|
|
788
|
-
* @param {function(?grpc.web.
|
|
572
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.GpsState)}
|
|
789
573
|
* callback The callback function(error, response)
|
|
790
574
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.GpsState>|undefined}
|
|
791
575
|
* The XHR Node Readable Stream
|
|
792
576
|
*/
|
|
793
|
-
|
|
794
577
|
proto.android.emulation.control.EmulatorControllerClient.prototype.getGps = function (request, metadata, callback) {
|
|
795
578
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/getGps', request, metadata || {}, methodDescriptor_EmulatorController_getGps, callback);
|
|
796
579
|
};
|
|
580
|
+
|
|
797
581
|
/**
|
|
798
582
|
* @param {!proto.google.protobuf.Empty} request The
|
|
799
583
|
* request proto
|
|
800
|
-
* @param {?Object<string, string
|
|
584
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
801
585
|
* call metadata
|
|
802
586
|
* @return {!Promise<!proto.android.emulation.control.GpsState>}
|
|
803
587
|
* Promise that resolves to the response
|
|
804
588
|
*/
|
|
805
|
-
|
|
806
|
-
|
|
807
589
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.getGps = function (request, metadata) {
|
|
808
590
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/getGps', request, metadata || {}, methodDescriptor_EmulatorController_getGps);
|
|
809
591
|
};
|
|
592
|
+
|
|
810
593
|
/**
|
|
811
594
|
* @const
|
|
812
595
|
* @type {!grpc.web.MethodDescriptor<
|
|
813
596
|
* !proto.android.emulation.control.Fingerprint,
|
|
814
597
|
* !proto.google.protobuf.Empty>}
|
|
815
598
|
*/
|
|
816
|
-
|
|
817
|
-
|
|
818
599
|
var methodDescriptor_EmulatorController_sendFingerprint = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/sendFingerprint', grpc.web.MethodType.UNARY, proto.android.emulation.control.Fingerprint, google_protobuf_empty_pb.Empty,
|
|
819
600
|
/**
|
|
820
601
|
* @param {!proto.android.emulation.control.Fingerprint} request
|
|
@@ -823,56 +604,39 @@ var methodDescriptor_EmulatorController_sendFingerprint = new grpc.web.MethodDes
|
|
|
823
604
|
function (request) {
|
|
824
605
|
return request.serializeBinary();
|
|
825
606
|
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
826
|
-
/**
|
|
827
|
-
* @const
|
|
828
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
829
|
-
* !proto.android.emulation.control.Fingerprint,
|
|
830
|
-
* !proto.google.protobuf.Empty>}
|
|
831
|
-
*/
|
|
832
607
|
|
|
833
|
-
var methodInfo_EmulatorController_sendFingerprint = new grpc.web.AbstractClientBase.MethodInfo(google_protobuf_empty_pb.Empty,
|
|
834
|
-
/**
|
|
835
|
-
* @param {!proto.android.emulation.control.Fingerprint} request
|
|
836
|
-
* @return {!Uint8Array}
|
|
837
|
-
*/
|
|
838
|
-
function (request) {
|
|
839
|
-
return request.serializeBinary();
|
|
840
|
-
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
841
608
|
/**
|
|
842
609
|
* @param {!proto.android.emulation.control.Fingerprint} request The
|
|
843
610
|
* request proto
|
|
844
611
|
* @param {?Object<string, string>} metadata User defined
|
|
845
612
|
* call metadata
|
|
846
|
-
* @param {function(?grpc.web.
|
|
613
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
847
614
|
* callback The callback function(error, response)
|
|
848
615
|
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
849
616
|
* The XHR Node Readable Stream
|
|
850
617
|
*/
|
|
851
|
-
|
|
852
618
|
proto.android.emulation.control.EmulatorControllerClient.prototype.sendFingerprint = function (request, metadata, callback) {
|
|
853
619
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/sendFingerprint', request, metadata || {}, methodDescriptor_EmulatorController_sendFingerprint, callback);
|
|
854
620
|
};
|
|
621
|
+
|
|
855
622
|
/**
|
|
856
623
|
* @param {!proto.android.emulation.control.Fingerprint} request The
|
|
857
624
|
* request proto
|
|
858
|
-
* @param {?Object<string, string
|
|
625
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
859
626
|
* call metadata
|
|
860
627
|
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
861
628
|
* Promise that resolves to the response
|
|
862
629
|
*/
|
|
863
|
-
|
|
864
|
-
|
|
865
630
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.sendFingerprint = function (request, metadata) {
|
|
866
631
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/sendFingerprint', request, metadata || {}, methodDescriptor_EmulatorController_sendFingerprint);
|
|
867
632
|
};
|
|
633
|
+
|
|
868
634
|
/**
|
|
869
635
|
* @const
|
|
870
636
|
* @type {!grpc.web.MethodDescriptor<
|
|
871
637
|
* !proto.android.emulation.control.KeyboardEvent,
|
|
872
638
|
* !proto.google.protobuf.Empty>}
|
|
873
639
|
*/
|
|
874
|
-
|
|
875
|
-
|
|
876
640
|
var methodDescriptor_EmulatorController_sendKey = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/sendKey', grpc.web.MethodType.UNARY, proto.android.emulation.control.KeyboardEvent, google_protobuf_empty_pb.Empty,
|
|
877
641
|
/**
|
|
878
642
|
* @param {!proto.android.emulation.control.KeyboardEvent} request
|
|
@@ -881,56 +645,39 @@ var methodDescriptor_EmulatorController_sendKey = new grpc.web.MethodDescriptor(
|
|
|
881
645
|
function (request) {
|
|
882
646
|
return request.serializeBinary();
|
|
883
647
|
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
884
|
-
/**
|
|
885
|
-
* @const
|
|
886
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
887
|
-
* !proto.android.emulation.control.KeyboardEvent,
|
|
888
|
-
* !proto.google.protobuf.Empty>}
|
|
889
|
-
*/
|
|
890
648
|
|
|
891
|
-
var methodInfo_EmulatorController_sendKey = new grpc.web.AbstractClientBase.MethodInfo(google_protobuf_empty_pb.Empty,
|
|
892
|
-
/**
|
|
893
|
-
* @param {!proto.android.emulation.control.KeyboardEvent} request
|
|
894
|
-
* @return {!Uint8Array}
|
|
895
|
-
*/
|
|
896
|
-
function (request) {
|
|
897
|
-
return request.serializeBinary();
|
|
898
|
-
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
899
649
|
/**
|
|
900
650
|
* @param {!proto.android.emulation.control.KeyboardEvent} request The
|
|
901
651
|
* request proto
|
|
902
652
|
* @param {?Object<string, string>} metadata User defined
|
|
903
653
|
* call metadata
|
|
904
|
-
* @param {function(?grpc.web.
|
|
654
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
905
655
|
* callback The callback function(error, response)
|
|
906
656
|
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
907
657
|
* The XHR Node Readable Stream
|
|
908
658
|
*/
|
|
909
|
-
|
|
910
659
|
proto.android.emulation.control.EmulatorControllerClient.prototype.sendKey = function (request, metadata, callback) {
|
|
911
660
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/sendKey', request, metadata || {}, methodDescriptor_EmulatorController_sendKey, callback);
|
|
912
661
|
};
|
|
662
|
+
|
|
913
663
|
/**
|
|
914
664
|
* @param {!proto.android.emulation.control.KeyboardEvent} request The
|
|
915
665
|
* request proto
|
|
916
|
-
* @param {?Object<string, string
|
|
666
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
917
667
|
* call metadata
|
|
918
668
|
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
919
669
|
* Promise that resolves to the response
|
|
920
670
|
*/
|
|
921
|
-
|
|
922
|
-
|
|
923
671
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.sendKey = function (request, metadata) {
|
|
924
672
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/sendKey', request, metadata || {}, methodDescriptor_EmulatorController_sendKey);
|
|
925
673
|
};
|
|
674
|
+
|
|
926
675
|
/**
|
|
927
676
|
* @const
|
|
928
677
|
* @type {!grpc.web.MethodDescriptor<
|
|
929
678
|
* !proto.android.emulation.control.TouchEvent,
|
|
930
679
|
* !proto.google.protobuf.Empty>}
|
|
931
680
|
*/
|
|
932
|
-
|
|
933
|
-
|
|
934
681
|
var methodDescriptor_EmulatorController_sendTouch = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/sendTouch', grpc.web.MethodType.UNARY, proto.android.emulation.control.TouchEvent, google_protobuf_empty_pb.Empty,
|
|
935
682
|
/**
|
|
936
683
|
* @param {!proto.android.emulation.control.TouchEvent} request
|
|
@@ -939,56 +686,39 @@ var methodDescriptor_EmulatorController_sendTouch = new grpc.web.MethodDescripto
|
|
|
939
686
|
function (request) {
|
|
940
687
|
return request.serializeBinary();
|
|
941
688
|
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
942
|
-
/**
|
|
943
|
-
* @const
|
|
944
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
945
|
-
* !proto.android.emulation.control.TouchEvent,
|
|
946
|
-
* !proto.google.protobuf.Empty>}
|
|
947
|
-
*/
|
|
948
689
|
|
|
949
|
-
var methodInfo_EmulatorController_sendTouch = new grpc.web.AbstractClientBase.MethodInfo(google_protobuf_empty_pb.Empty,
|
|
950
|
-
/**
|
|
951
|
-
* @param {!proto.android.emulation.control.TouchEvent} request
|
|
952
|
-
* @return {!Uint8Array}
|
|
953
|
-
*/
|
|
954
|
-
function (request) {
|
|
955
|
-
return request.serializeBinary();
|
|
956
|
-
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
957
690
|
/**
|
|
958
691
|
* @param {!proto.android.emulation.control.TouchEvent} request The
|
|
959
692
|
* request proto
|
|
960
693
|
* @param {?Object<string, string>} metadata User defined
|
|
961
694
|
* call metadata
|
|
962
|
-
* @param {function(?grpc.web.
|
|
695
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
963
696
|
* callback The callback function(error, response)
|
|
964
697
|
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
965
698
|
* The XHR Node Readable Stream
|
|
966
699
|
*/
|
|
967
|
-
|
|
968
700
|
proto.android.emulation.control.EmulatorControllerClient.prototype.sendTouch = function (request, metadata, callback) {
|
|
969
701
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/sendTouch', request, metadata || {}, methodDescriptor_EmulatorController_sendTouch, callback);
|
|
970
702
|
};
|
|
703
|
+
|
|
971
704
|
/**
|
|
972
705
|
* @param {!proto.android.emulation.control.TouchEvent} request The
|
|
973
706
|
* request proto
|
|
974
|
-
* @param {?Object<string, string
|
|
707
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
975
708
|
* call metadata
|
|
976
709
|
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
977
710
|
* Promise that resolves to the response
|
|
978
711
|
*/
|
|
979
|
-
|
|
980
|
-
|
|
981
712
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.sendTouch = function (request, metadata) {
|
|
982
713
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/sendTouch', request, metadata || {}, methodDescriptor_EmulatorController_sendTouch);
|
|
983
714
|
};
|
|
715
|
+
|
|
984
716
|
/**
|
|
985
717
|
* @const
|
|
986
718
|
* @type {!grpc.web.MethodDescriptor<
|
|
987
719
|
* !proto.android.emulation.control.MouseEvent,
|
|
988
720
|
* !proto.google.protobuf.Empty>}
|
|
989
721
|
*/
|
|
990
|
-
|
|
991
|
-
|
|
992
722
|
var methodDescriptor_EmulatorController_sendMouse = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/sendMouse', grpc.web.MethodType.UNARY, proto.android.emulation.control.MouseEvent, google_protobuf_empty_pb.Empty,
|
|
993
723
|
/**
|
|
994
724
|
* @param {!proto.android.emulation.control.MouseEvent} request
|
|
@@ -997,56 +727,39 @@ var methodDescriptor_EmulatorController_sendMouse = new grpc.web.MethodDescripto
|
|
|
997
727
|
function (request) {
|
|
998
728
|
return request.serializeBinary();
|
|
999
729
|
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
1000
|
-
/**
|
|
1001
|
-
* @const
|
|
1002
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1003
|
-
* !proto.android.emulation.control.MouseEvent,
|
|
1004
|
-
* !proto.google.protobuf.Empty>}
|
|
1005
|
-
*/
|
|
1006
730
|
|
|
1007
|
-
var methodInfo_EmulatorController_sendMouse = new grpc.web.AbstractClientBase.MethodInfo(google_protobuf_empty_pb.Empty,
|
|
1008
|
-
/**
|
|
1009
|
-
* @param {!proto.android.emulation.control.MouseEvent} request
|
|
1010
|
-
* @return {!Uint8Array}
|
|
1011
|
-
*/
|
|
1012
|
-
function (request) {
|
|
1013
|
-
return request.serializeBinary();
|
|
1014
|
-
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
1015
731
|
/**
|
|
1016
732
|
* @param {!proto.android.emulation.control.MouseEvent} request The
|
|
1017
733
|
* request proto
|
|
1018
734
|
* @param {?Object<string, string>} metadata User defined
|
|
1019
735
|
* call metadata
|
|
1020
|
-
* @param {function(?grpc.web.
|
|
736
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
1021
737
|
* callback The callback function(error, response)
|
|
1022
738
|
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
1023
739
|
* The XHR Node Readable Stream
|
|
1024
740
|
*/
|
|
1025
|
-
|
|
1026
741
|
proto.android.emulation.control.EmulatorControllerClient.prototype.sendMouse = function (request, metadata, callback) {
|
|
1027
742
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/sendMouse', request, metadata || {}, methodDescriptor_EmulatorController_sendMouse, callback);
|
|
1028
743
|
};
|
|
744
|
+
|
|
1029
745
|
/**
|
|
1030
746
|
* @param {!proto.android.emulation.control.MouseEvent} request The
|
|
1031
747
|
* request proto
|
|
1032
|
-
* @param {?Object<string, string
|
|
748
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1033
749
|
* call metadata
|
|
1034
750
|
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
1035
751
|
* Promise that resolves to the response
|
|
1036
752
|
*/
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
753
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.sendMouse = function (request, metadata) {
|
|
1040
754
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/sendMouse', request, metadata || {}, methodDescriptor_EmulatorController_sendMouse);
|
|
1041
755
|
};
|
|
756
|
+
|
|
1042
757
|
/**
|
|
1043
758
|
* @const
|
|
1044
759
|
* @type {!grpc.web.MethodDescriptor<
|
|
1045
760
|
* !proto.android.emulation.control.PhoneCall,
|
|
1046
761
|
* !proto.android.emulation.control.PhoneResponse>}
|
|
1047
762
|
*/
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
763
|
var methodDescriptor_EmulatorController_sendPhone = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/sendPhone', grpc.web.MethodType.UNARY, proto.android.emulation.control.PhoneCall, proto.android.emulation.control.PhoneResponse,
|
|
1051
764
|
/**
|
|
1052
765
|
* @param {!proto.android.emulation.control.PhoneCall} request
|
|
@@ -1055,56 +768,39 @@ var methodDescriptor_EmulatorController_sendPhone = new grpc.web.MethodDescripto
|
|
|
1055
768
|
function (request) {
|
|
1056
769
|
return request.serializeBinary();
|
|
1057
770
|
}, proto.android.emulation.control.PhoneResponse.deserializeBinary);
|
|
1058
|
-
/**
|
|
1059
|
-
* @const
|
|
1060
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1061
|
-
* !proto.android.emulation.control.PhoneCall,
|
|
1062
|
-
* !proto.android.emulation.control.PhoneResponse>}
|
|
1063
|
-
*/
|
|
1064
771
|
|
|
1065
|
-
var methodInfo_EmulatorController_sendPhone = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.PhoneResponse,
|
|
1066
|
-
/**
|
|
1067
|
-
* @param {!proto.android.emulation.control.PhoneCall} request
|
|
1068
|
-
* @return {!Uint8Array}
|
|
1069
|
-
*/
|
|
1070
|
-
function (request) {
|
|
1071
|
-
return request.serializeBinary();
|
|
1072
|
-
}, proto.android.emulation.control.PhoneResponse.deserializeBinary);
|
|
1073
772
|
/**
|
|
1074
773
|
* @param {!proto.android.emulation.control.PhoneCall} request The
|
|
1075
774
|
* request proto
|
|
1076
775
|
* @param {?Object<string, string>} metadata User defined
|
|
1077
776
|
* call metadata
|
|
1078
|
-
* @param {function(?grpc.web.
|
|
777
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.PhoneResponse)}
|
|
1079
778
|
* callback The callback function(error, response)
|
|
1080
779
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.PhoneResponse>|undefined}
|
|
1081
780
|
* The XHR Node Readable Stream
|
|
1082
781
|
*/
|
|
1083
|
-
|
|
1084
782
|
proto.android.emulation.control.EmulatorControllerClient.prototype.sendPhone = function (request, metadata, callback) {
|
|
1085
783
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/sendPhone', request, metadata || {}, methodDescriptor_EmulatorController_sendPhone, callback);
|
|
1086
784
|
};
|
|
785
|
+
|
|
1087
786
|
/**
|
|
1088
787
|
* @param {!proto.android.emulation.control.PhoneCall} request The
|
|
1089
788
|
* request proto
|
|
1090
|
-
* @param {?Object<string, string
|
|
789
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1091
790
|
* call metadata
|
|
1092
791
|
* @return {!Promise<!proto.android.emulation.control.PhoneResponse>}
|
|
1093
792
|
* Promise that resolves to the response
|
|
1094
793
|
*/
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
794
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.sendPhone = function (request, metadata) {
|
|
1098
795
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/sendPhone', request, metadata || {}, methodDescriptor_EmulatorController_sendPhone);
|
|
1099
796
|
};
|
|
797
|
+
|
|
1100
798
|
/**
|
|
1101
799
|
* @const
|
|
1102
800
|
* @type {!grpc.web.MethodDescriptor<
|
|
1103
801
|
* !proto.android.emulation.control.SmsMessage,
|
|
1104
802
|
* !proto.android.emulation.control.PhoneResponse>}
|
|
1105
803
|
*/
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
804
|
var methodDescriptor_EmulatorController_sendSms = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/sendSms', grpc.web.MethodType.UNARY, proto.android.emulation.control.SmsMessage, proto.android.emulation.control.PhoneResponse,
|
|
1109
805
|
/**
|
|
1110
806
|
* @param {!proto.android.emulation.control.SmsMessage} request
|
|
@@ -1113,72 +809,81 @@ var methodDescriptor_EmulatorController_sendSms = new grpc.web.MethodDescriptor(
|
|
|
1113
809
|
function (request) {
|
|
1114
810
|
return request.serializeBinary();
|
|
1115
811
|
}, proto.android.emulation.control.PhoneResponse.deserializeBinary);
|
|
1116
|
-
/**
|
|
1117
|
-
* @const
|
|
1118
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1119
|
-
* !proto.android.emulation.control.SmsMessage,
|
|
1120
|
-
* !proto.android.emulation.control.PhoneResponse>}
|
|
1121
|
-
*/
|
|
1122
812
|
|
|
1123
|
-
var methodInfo_EmulatorController_sendSms = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.PhoneResponse,
|
|
1124
|
-
/**
|
|
1125
|
-
* @param {!proto.android.emulation.control.SmsMessage} request
|
|
1126
|
-
* @return {!Uint8Array}
|
|
1127
|
-
*/
|
|
1128
|
-
function (request) {
|
|
1129
|
-
return request.serializeBinary();
|
|
1130
|
-
}, proto.android.emulation.control.PhoneResponse.deserializeBinary);
|
|
1131
813
|
/**
|
|
1132
814
|
* @param {!proto.android.emulation.control.SmsMessage} request The
|
|
1133
815
|
* request proto
|
|
1134
816
|
* @param {?Object<string, string>} metadata User defined
|
|
1135
817
|
* call metadata
|
|
1136
|
-
* @param {function(?grpc.web.
|
|
818
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.PhoneResponse)}
|
|
1137
819
|
* callback The callback function(error, response)
|
|
1138
820
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.PhoneResponse>|undefined}
|
|
1139
821
|
* The XHR Node Readable Stream
|
|
1140
822
|
*/
|
|
1141
|
-
|
|
1142
823
|
proto.android.emulation.control.EmulatorControllerClient.prototype.sendSms = function (request, metadata, callback) {
|
|
1143
824
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/sendSms', request, metadata || {}, methodDescriptor_EmulatorController_sendSms, callback);
|
|
1144
825
|
};
|
|
826
|
+
|
|
1145
827
|
/**
|
|
1146
828
|
* @param {!proto.android.emulation.control.SmsMessage} request The
|
|
1147
829
|
* request proto
|
|
1148
|
-
* @param {?Object<string, string
|
|
830
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1149
831
|
* call metadata
|
|
1150
832
|
* @return {!Promise<!proto.android.emulation.control.PhoneResponse>}
|
|
1151
833
|
* Promise that resolves to the response
|
|
1152
834
|
*/
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
835
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.sendSms = function (request, metadata) {
|
|
1156
836
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/sendSms', request, metadata || {}, methodDescriptor_EmulatorController_sendSms);
|
|
1157
837
|
};
|
|
838
|
+
|
|
1158
839
|
/**
|
|
1159
840
|
* @const
|
|
1160
841
|
* @type {!grpc.web.MethodDescriptor<
|
|
1161
|
-
* !proto.
|
|
1162
|
-
* !proto.android.emulation.control.
|
|
842
|
+
* !proto.android.emulation.control.PhoneNumber,
|
|
843
|
+
* !proto.android.emulation.control.PhoneResponse>}
|
|
1163
844
|
*/
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
var methodDescriptor_EmulatorController_getStatus = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/getStatus', grpc.web.MethodType.UNARY, google_protobuf_empty_pb.Empty, proto.android.emulation.control.EmulatorStatus,
|
|
845
|
+
var methodDescriptor_EmulatorController_setPhoneNumber = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/setPhoneNumber', grpc.web.MethodType.UNARY, proto.android.emulation.control.PhoneNumber, proto.android.emulation.control.PhoneResponse,
|
|
1167
846
|
/**
|
|
1168
|
-
* @param {!proto.
|
|
847
|
+
* @param {!proto.android.emulation.control.PhoneNumber} request
|
|
1169
848
|
* @return {!Uint8Array}
|
|
1170
849
|
*/
|
|
1171
850
|
function (request) {
|
|
1172
851
|
return request.serializeBinary();
|
|
1173
|
-
}, proto.android.emulation.control.
|
|
852
|
+
}, proto.android.emulation.control.PhoneResponse.deserializeBinary);
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* @param {!proto.android.emulation.control.PhoneNumber} request The
|
|
856
|
+
* request proto
|
|
857
|
+
* @param {?Object<string, string>} metadata User defined
|
|
858
|
+
* call metadata
|
|
859
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.PhoneResponse)}
|
|
860
|
+
* callback The callback function(error, response)
|
|
861
|
+
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.PhoneResponse>|undefined}
|
|
862
|
+
* The XHR Node Readable Stream
|
|
863
|
+
*/
|
|
864
|
+
proto.android.emulation.control.EmulatorControllerClient.prototype.setPhoneNumber = function (request, metadata, callback) {
|
|
865
|
+
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/setPhoneNumber', request, metadata || {}, methodDescriptor_EmulatorController_setPhoneNumber, callback);
|
|
866
|
+
};
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* @param {!proto.android.emulation.control.PhoneNumber} request The
|
|
870
|
+
* request proto
|
|
871
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
872
|
+
* call metadata
|
|
873
|
+
* @return {!Promise<!proto.android.emulation.control.PhoneResponse>}
|
|
874
|
+
* Promise that resolves to the response
|
|
875
|
+
*/
|
|
876
|
+
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.setPhoneNumber = function (request, metadata) {
|
|
877
|
+
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/setPhoneNumber', request, metadata || {}, methodDescriptor_EmulatorController_setPhoneNumber);
|
|
878
|
+
};
|
|
879
|
+
|
|
1174
880
|
/**
|
|
1175
881
|
* @const
|
|
1176
|
-
* @type {!grpc.web.
|
|
882
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1177
883
|
* !proto.google.protobuf.Empty,
|
|
1178
884
|
* !proto.android.emulation.control.EmulatorStatus>}
|
|
1179
885
|
*/
|
|
1180
|
-
|
|
1181
|
-
var methodInfo_EmulatorController_getStatus = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.EmulatorStatus,
|
|
886
|
+
var methodDescriptor_EmulatorController_getStatus = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/getStatus', grpc.web.MethodType.UNARY, google_protobuf_empty_pb.Empty, proto.android.emulation.control.EmulatorStatus,
|
|
1182
887
|
/**
|
|
1183
888
|
* @param {!proto.google.protobuf.Empty} request
|
|
1184
889
|
* @return {!Uint8Array}
|
|
@@ -1186,41 +891,39 @@ var methodInfo_EmulatorController_getStatus = new grpc.web.AbstractClientBase.Me
|
|
|
1186
891
|
function (request) {
|
|
1187
892
|
return request.serializeBinary();
|
|
1188
893
|
}, proto.android.emulation.control.EmulatorStatus.deserializeBinary);
|
|
894
|
+
|
|
1189
895
|
/**
|
|
1190
896
|
* @param {!proto.google.protobuf.Empty} request The
|
|
1191
897
|
* request proto
|
|
1192
898
|
* @param {?Object<string, string>} metadata User defined
|
|
1193
899
|
* call metadata
|
|
1194
|
-
* @param {function(?grpc.web.
|
|
900
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.EmulatorStatus)}
|
|
1195
901
|
* callback The callback function(error, response)
|
|
1196
902
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.EmulatorStatus>|undefined}
|
|
1197
903
|
* The XHR Node Readable Stream
|
|
1198
904
|
*/
|
|
1199
|
-
|
|
1200
905
|
proto.android.emulation.control.EmulatorControllerClient.prototype.getStatus = function (request, metadata, callback) {
|
|
1201
906
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/getStatus', request, metadata || {}, methodDescriptor_EmulatorController_getStatus, callback);
|
|
1202
907
|
};
|
|
908
|
+
|
|
1203
909
|
/**
|
|
1204
910
|
* @param {!proto.google.protobuf.Empty} request The
|
|
1205
911
|
* request proto
|
|
1206
|
-
* @param {?Object<string, string
|
|
912
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1207
913
|
* call metadata
|
|
1208
914
|
* @return {!Promise<!proto.android.emulation.control.EmulatorStatus>}
|
|
1209
915
|
* Promise that resolves to the response
|
|
1210
916
|
*/
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
917
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.getStatus = function (request, metadata) {
|
|
1214
918
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/getStatus', request, metadata || {}, methodDescriptor_EmulatorController_getStatus);
|
|
1215
919
|
};
|
|
920
|
+
|
|
1216
921
|
/**
|
|
1217
922
|
* @const
|
|
1218
923
|
* @type {!grpc.web.MethodDescriptor<
|
|
1219
924
|
* !proto.android.emulation.control.ImageFormat,
|
|
1220
925
|
* !proto.android.emulation.control.Image>}
|
|
1221
926
|
*/
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
927
|
var methodDescriptor_EmulatorController_getScreenshot = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/getScreenshot', grpc.web.MethodType.UNARY, proto.android.emulation.control.ImageFormat, proto.android.emulation.control.Image,
|
|
1225
928
|
/**
|
|
1226
929
|
* @param {!proto.android.emulation.control.ImageFormat} request
|
|
@@ -1229,56 +932,39 @@ var methodDescriptor_EmulatorController_getScreenshot = new grpc.web.MethodDescr
|
|
|
1229
932
|
function (request) {
|
|
1230
933
|
return request.serializeBinary();
|
|
1231
934
|
}, proto.android.emulation.control.Image.deserializeBinary);
|
|
1232
|
-
/**
|
|
1233
|
-
* @const
|
|
1234
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1235
|
-
* !proto.android.emulation.control.ImageFormat,
|
|
1236
|
-
* !proto.android.emulation.control.Image>}
|
|
1237
|
-
*/
|
|
1238
935
|
|
|
1239
|
-
var methodInfo_EmulatorController_getScreenshot = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.Image,
|
|
1240
|
-
/**
|
|
1241
|
-
* @param {!proto.android.emulation.control.ImageFormat} request
|
|
1242
|
-
* @return {!Uint8Array}
|
|
1243
|
-
*/
|
|
1244
|
-
function (request) {
|
|
1245
|
-
return request.serializeBinary();
|
|
1246
|
-
}, proto.android.emulation.control.Image.deserializeBinary);
|
|
1247
936
|
/**
|
|
1248
937
|
* @param {!proto.android.emulation.control.ImageFormat} request The
|
|
1249
938
|
* request proto
|
|
1250
939
|
* @param {?Object<string, string>} metadata User defined
|
|
1251
940
|
* call metadata
|
|
1252
|
-
* @param {function(?grpc.web.
|
|
941
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.Image)}
|
|
1253
942
|
* callback The callback function(error, response)
|
|
1254
943
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.Image>|undefined}
|
|
1255
944
|
* The XHR Node Readable Stream
|
|
1256
945
|
*/
|
|
1257
|
-
|
|
1258
946
|
proto.android.emulation.control.EmulatorControllerClient.prototype.getScreenshot = function (request, metadata, callback) {
|
|
1259
947
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/getScreenshot', request, metadata || {}, methodDescriptor_EmulatorController_getScreenshot, callback);
|
|
1260
948
|
};
|
|
949
|
+
|
|
1261
950
|
/**
|
|
1262
951
|
* @param {!proto.android.emulation.control.ImageFormat} request The
|
|
1263
952
|
* request proto
|
|
1264
|
-
* @param {?Object<string, string
|
|
953
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1265
954
|
* call metadata
|
|
1266
955
|
* @return {!Promise<!proto.android.emulation.control.Image>}
|
|
1267
956
|
* Promise that resolves to the response
|
|
1268
957
|
*/
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
958
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.getScreenshot = function (request, metadata) {
|
|
1272
959
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/getScreenshot', request, metadata || {}, methodDescriptor_EmulatorController_getScreenshot);
|
|
1273
960
|
};
|
|
961
|
+
|
|
1274
962
|
/**
|
|
1275
963
|
* @const
|
|
1276
964
|
* @type {!grpc.web.MethodDescriptor<
|
|
1277
965
|
* !proto.android.emulation.control.ImageFormat,
|
|
1278
966
|
* !proto.android.emulation.control.Image>}
|
|
1279
967
|
*/
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
968
|
var methodDescriptor_EmulatorController_streamScreenshot = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/streamScreenshot', grpc.web.MethodType.SERVER_STREAMING, proto.android.emulation.control.ImageFormat, proto.android.emulation.control.Image,
|
|
1283
969
|
/**
|
|
1284
970
|
* @param {!proto.android.emulation.control.ImageFormat} request
|
|
@@ -1287,52 +973,35 @@ var methodDescriptor_EmulatorController_streamScreenshot = new grpc.web.MethodDe
|
|
|
1287
973
|
function (request) {
|
|
1288
974
|
return request.serializeBinary();
|
|
1289
975
|
}, proto.android.emulation.control.Image.deserializeBinary);
|
|
1290
|
-
/**
|
|
1291
|
-
* @const
|
|
1292
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1293
|
-
* !proto.android.emulation.control.ImageFormat,
|
|
1294
|
-
* !proto.android.emulation.control.Image>}
|
|
1295
|
-
*/
|
|
1296
976
|
|
|
1297
|
-
var methodInfo_EmulatorController_streamScreenshot = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.Image,
|
|
1298
|
-
/**
|
|
1299
|
-
* @param {!proto.android.emulation.control.ImageFormat} request
|
|
1300
|
-
* @return {!Uint8Array}
|
|
1301
|
-
*/
|
|
1302
|
-
function (request) {
|
|
1303
|
-
return request.serializeBinary();
|
|
1304
|
-
}, proto.android.emulation.control.Image.deserializeBinary);
|
|
1305
977
|
/**
|
|
1306
978
|
* @param {!proto.android.emulation.control.ImageFormat} request The request proto
|
|
1307
|
-
* @param {?Object<string, string
|
|
979
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1308
980
|
* call metadata
|
|
1309
981
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.Image>}
|
|
1310
982
|
* The XHR Node Readable Stream
|
|
1311
983
|
*/
|
|
1312
|
-
|
|
1313
984
|
proto.android.emulation.control.EmulatorControllerClient.prototype.streamScreenshot = function (request, metadata) {
|
|
1314
985
|
return this.client_.serverStreaming(this.hostname_ + '/android.emulation.control.EmulatorController/streamScreenshot', request, metadata || {}, methodDescriptor_EmulatorController_streamScreenshot);
|
|
1315
986
|
};
|
|
987
|
+
|
|
1316
988
|
/**
|
|
1317
989
|
* @param {!proto.android.emulation.control.ImageFormat} request The request proto
|
|
1318
|
-
* @param {?Object<string, string
|
|
990
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1319
991
|
* call metadata
|
|
1320
992
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.Image>}
|
|
1321
993
|
* The XHR Node Readable Stream
|
|
1322
994
|
*/
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
995
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.streamScreenshot = function (request, metadata) {
|
|
1326
996
|
return this.client_.serverStreaming(this.hostname_ + '/android.emulation.control.EmulatorController/streamScreenshot', request, metadata || {}, methodDescriptor_EmulatorController_streamScreenshot);
|
|
1327
997
|
};
|
|
998
|
+
|
|
1328
999
|
/**
|
|
1329
1000
|
* @const
|
|
1330
1001
|
* @type {!grpc.web.MethodDescriptor<
|
|
1331
1002
|
* !proto.android.emulation.control.AudioFormat,
|
|
1332
1003
|
* !proto.android.emulation.control.AudioPacket>}
|
|
1333
1004
|
*/
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
1005
|
var methodDescriptor_EmulatorController_streamAudio = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/streamAudio', grpc.web.MethodType.SERVER_STREAMING, proto.android.emulation.control.AudioFormat, proto.android.emulation.control.AudioPacket,
|
|
1337
1006
|
/**
|
|
1338
1007
|
* @param {!proto.android.emulation.control.AudioFormat} request
|
|
@@ -1341,52 +1010,35 @@ var methodDescriptor_EmulatorController_streamAudio = new grpc.web.MethodDescrip
|
|
|
1341
1010
|
function (request) {
|
|
1342
1011
|
return request.serializeBinary();
|
|
1343
1012
|
}, proto.android.emulation.control.AudioPacket.deserializeBinary);
|
|
1344
|
-
/**
|
|
1345
|
-
* @const
|
|
1346
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1347
|
-
* !proto.android.emulation.control.AudioFormat,
|
|
1348
|
-
* !proto.android.emulation.control.AudioPacket>}
|
|
1349
|
-
*/
|
|
1350
1013
|
|
|
1351
|
-
var methodInfo_EmulatorController_streamAudio = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.AudioPacket,
|
|
1352
|
-
/**
|
|
1353
|
-
* @param {!proto.android.emulation.control.AudioFormat} request
|
|
1354
|
-
* @return {!Uint8Array}
|
|
1355
|
-
*/
|
|
1356
|
-
function (request) {
|
|
1357
|
-
return request.serializeBinary();
|
|
1358
|
-
}, proto.android.emulation.control.AudioPacket.deserializeBinary);
|
|
1359
1014
|
/**
|
|
1360
1015
|
* @param {!proto.android.emulation.control.AudioFormat} request The request proto
|
|
1361
|
-
* @param {?Object<string, string
|
|
1016
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1362
1017
|
* call metadata
|
|
1363
1018
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.AudioPacket>}
|
|
1364
1019
|
* The XHR Node Readable Stream
|
|
1365
1020
|
*/
|
|
1366
|
-
|
|
1367
1021
|
proto.android.emulation.control.EmulatorControllerClient.prototype.streamAudio = function (request, metadata) {
|
|
1368
1022
|
return this.client_.serverStreaming(this.hostname_ + '/android.emulation.control.EmulatorController/streamAudio', request, metadata || {}, methodDescriptor_EmulatorController_streamAudio);
|
|
1369
1023
|
};
|
|
1024
|
+
|
|
1370
1025
|
/**
|
|
1371
1026
|
* @param {!proto.android.emulation.control.AudioFormat} request The request proto
|
|
1372
|
-
* @param {?Object<string, string
|
|
1027
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1373
1028
|
* call metadata
|
|
1374
1029
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.AudioPacket>}
|
|
1375
1030
|
* The XHR Node Readable Stream
|
|
1376
1031
|
*/
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
1032
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.streamAudio = function (request, metadata) {
|
|
1380
1033
|
return this.client_.serverStreaming(this.hostname_ + '/android.emulation.control.EmulatorController/streamAudio', request, metadata || {}, methodDescriptor_EmulatorController_streamAudio);
|
|
1381
1034
|
};
|
|
1035
|
+
|
|
1382
1036
|
/**
|
|
1383
1037
|
* @const
|
|
1384
1038
|
* @type {!grpc.web.MethodDescriptor<
|
|
1385
1039
|
* !proto.android.emulation.control.LogMessage,
|
|
1386
1040
|
* !proto.android.emulation.control.LogMessage>}
|
|
1387
1041
|
*/
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
1042
|
var methodDescriptor_EmulatorController_getLogcat = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/getLogcat', grpc.web.MethodType.UNARY, proto.android.emulation.control.LogMessage, proto.android.emulation.control.LogMessage,
|
|
1391
1043
|
/**
|
|
1392
1044
|
* @param {!proto.android.emulation.control.LogMessage} request
|
|
@@ -1395,56 +1047,39 @@ var methodDescriptor_EmulatorController_getLogcat = new grpc.web.MethodDescripto
|
|
|
1395
1047
|
function (request) {
|
|
1396
1048
|
return request.serializeBinary();
|
|
1397
1049
|
}, proto.android.emulation.control.LogMessage.deserializeBinary);
|
|
1398
|
-
/**
|
|
1399
|
-
* @const
|
|
1400
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1401
|
-
* !proto.android.emulation.control.LogMessage,
|
|
1402
|
-
* !proto.android.emulation.control.LogMessage>}
|
|
1403
|
-
*/
|
|
1404
1050
|
|
|
1405
|
-
var methodInfo_EmulatorController_getLogcat = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.LogMessage,
|
|
1406
|
-
/**
|
|
1407
|
-
* @param {!proto.android.emulation.control.LogMessage} request
|
|
1408
|
-
* @return {!Uint8Array}
|
|
1409
|
-
*/
|
|
1410
|
-
function (request) {
|
|
1411
|
-
return request.serializeBinary();
|
|
1412
|
-
}, proto.android.emulation.control.LogMessage.deserializeBinary);
|
|
1413
1051
|
/**
|
|
1414
1052
|
* @param {!proto.android.emulation.control.LogMessage} request The
|
|
1415
1053
|
* request proto
|
|
1416
1054
|
* @param {?Object<string, string>} metadata User defined
|
|
1417
1055
|
* call metadata
|
|
1418
|
-
* @param {function(?grpc.web.
|
|
1056
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.LogMessage)}
|
|
1419
1057
|
* callback The callback function(error, response)
|
|
1420
1058
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.LogMessage>|undefined}
|
|
1421
1059
|
* The XHR Node Readable Stream
|
|
1422
1060
|
*/
|
|
1423
|
-
|
|
1424
1061
|
proto.android.emulation.control.EmulatorControllerClient.prototype.getLogcat = function (request, metadata, callback) {
|
|
1425
1062
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/getLogcat', request, metadata || {}, methodDescriptor_EmulatorController_getLogcat, callback);
|
|
1426
1063
|
};
|
|
1064
|
+
|
|
1427
1065
|
/**
|
|
1428
1066
|
* @param {!proto.android.emulation.control.LogMessage} request The
|
|
1429
1067
|
* request proto
|
|
1430
|
-
* @param {?Object<string, string
|
|
1068
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1431
1069
|
* call metadata
|
|
1432
1070
|
* @return {!Promise<!proto.android.emulation.control.LogMessage>}
|
|
1433
1071
|
* Promise that resolves to the response
|
|
1434
1072
|
*/
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
1073
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.getLogcat = function (request, metadata) {
|
|
1438
1074
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/getLogcat', request, metadata || {}, methodDescriptor_EmulatorController_getLogcat);
|
|
1439
1075
|
};
|
|
1076
|
+
|
|
1440
1077
|
/**
|
|
1441
1078
|
* @const
|
|
1442
1079
|
* @type {!grpc.web.MethodDescriptor<
|
|
1443
1080
|
* !proto.android.emulation.control.LogMessage,
|
|
1444
1081
|
* !proto.android.emulation.control.LogMessage>}
|
|
1445
1082
|
*/
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
1083
|
var methodDescriptor_EmulatorController_streamLogcat = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/streamLogcat', grpc.web.MethodType.SERVER_STREAMING, proto.android.emulation.control.LogMessage, proto.android.emulation.control.LogMessage,
|
|
1449
1084
|
/**
|
|
1450
1085
|
* @param {!proto.android.emulation.control.LogMessage} request
|
|
@@ -1453,52 +1088,35 @@ var methodDescriptor_EmulatorController_streamLogcat = new grpc.web.MethodDescri
|
|
|
1453
1088
|
function (request) {
|
|
1454
1089
|
return request.serializeBinary();
|
|
1455
1090
|
}, proto.android.emulation.control.LogMessage.deserializeBinary);
|
|
1456
|
-
/**
|
|
1457
|
-
* @const
|
|
1458
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1459
|
-
* !proto.android.emulation.control.LogMessage,
|
|
1460
|
-
* !proto.android.emulation.control.LogMessage>}
|
|
1461
|
-
*/
|
|
1462
1091
|
|
|
1463
|
-
var methodInfo_EmulatorController_streamLogcat = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.LogMessage,
|
|
1464
|
-
/**
|
|
1465
|
-
* @param {!proto.android.emulation.control.LogMessage} request
|
|
1466
|
-
* @return {!Uint8Array}
|
|
1467
|
-
*/
|
|
1468
|
-
function (request) {
|
|
1469
|
-
return request.serializeBinary();
|
|
1470
|
-
}, proto.android.emulation.control.LogMessage.deserializeBinary);
|
|
1471
1092
|
/**
|
|
1472
1093
|
* @param {!proto.android.emulation.control.LogMessage} request The request proto
|
|
1473
|
-
* @param {?Object<string, string
|
|
1094
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1474
1095
|
* call metadata
|
|
1475
1096
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.LogMessage>}
|
|
1476
1097
|
* The XHR Node Readable Stream
|
|
1477
1098
|
*/
|
|
1478
|
-
|
|
1479
1099
|
proto.android.emulation.control.EmulatorControllerClient.prototype.streamLogcat = function (request, metadata) {
|
|
1480
1100
|
return this.client_.serverStreaming(this.hostname_ + '/android.emulation.control.EmulatorController/streamLogcat', request, metadata || {}, methodDescriptor_EmulatorController_streamLogcat);
|
|
1481
1101
|
};
|
|
1102
|
+
|
|
1482
1103
|
/**
|
|
1483
1104
|
* @param {!proto.android.emulation.control.LogMessage} request The request proto
|
|
1484
|
-
* @param {?Object<string, string
|
|
1105
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1485
1106
|
* call metadata
|
|
1486
1107
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.LogMessage>}
|
|
1487
1108
|
* The XHR Node Readable Stream
|
|
1488
1109
|
*/
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
1110
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.streamLogcat = function (request, metadata) {
|
|
1492
1111
|
return this.client_.serverStreaming(this.hostname_ + '/android.emulation.control.EmulatorController/streamLogcat', request, metadata || {}, methodDescriptor_EmulatorController_streamLogcat);
|
|
1493
1112
|
};
|
|
1113
|
+
|
|
1494
1114
|
/**
|
|
1495
1115
|
* @const
|
|
1496
1116
|
* @type {!grpc.web.MethodDescriptor<
|
|
1497
1117
|
* !proto.android.emulation.control.VmRunState,
|
|
1498
1118
|
* !proto.google.protobuf.Empty>}
|
|
1499
1119
|
*/
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
1120
|
var methodDescriptor_EmulatorController_setVmState = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/setVmState', grpc.web.MethodType.UNARY, proto.android.emulation.control.VmRunState, google_protobuf_empty_pb.Empty,
|
|
1503
1121
|
/**
|
|
1504
1122
|
* @param {!proto.android.emulation.control.VmRunState} request
|
|
@@ -1507,56 +1125,39 @@ var methodDescriptor_EmulatorController_setVmState = new grpc.web.MethodDescript
|
|
|
1507
1125
|
function (request) {
|
|
1508
1126
|
return request.serializeBinary();
|
|
1509
1127
|
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
1510
|
-
/**
|
|
1511
|
-
* @const
|
|
1512
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1513
|
-
* !proto.android.emulation.control.VmRunState,
|
|
1514
|
-
* !proto.google.protobuf.Empty>}
|
|
1515
|
-
*/
|
|
1516
1128
|
|
|
1517
|
-
var methodInfo_EmulatorController_setVmState = new grpc.web.AbstractClientBase.MethodInfo(google_protobuf_empty_pb.Empty,
|
|
1518
|
-
/**
|
|
1519
|
-
* @param {!proto.android.emulation.control.VmRunState} request
|
|
1520
|
-
* @return {!Uint8Array}
|
|
1521
|
-
*/
|
|
1522
|
-
function (request) {
|
|
1523
|
-
return request.serializeBinary();
|
|
1524
|
-
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
1525
1129
|
/**
|
|
1526
1130
|
* @param {!proto.android.emulation.control.VmRunState} request The
|
|
1527
1131
|
* request proto
|
|
1528
1132
|
* @param {?Object<string, string>} metadata User defined
|
|
1529
1133
|
* call metadata
|
|
1530
|
-
* @param {function(?grpc.web.
|
|
1134
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
1531
1135
|
* callback The callback function(error, response)
|
|
1532
1136
|
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
1533
1137
|
* The XHR Node Readable Stream
|
|
1534
1138
|
*/
|
|
1535
|
-
|
|
1536
1139
|
proto.android.emulation.control.EmulatorControllerClient.prototype.setVmState = function (request, metadata, callback) {
|
|
1537
1140
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/setVmState', request, metadata || {}, methodDescriptor_EmulatorController_setVmState, callback);
|
|
1538
1141
|
};
|
|
1142
|
+
|
|
1539
1143
|
/**
|
|
1540
1144
|
* @param {!proto.android.emulation.control.VmRunState} request The
|
|
1541
1145
|
* request proto
|
|
1542
|
-
* @param {?Object<string, string
|
|
1146
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1543
1147
|
* call metadata
|
|
1544
1148
|
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
1545
1149
|
* Promise that resolves to the response
|
|
1546
1150
|
*/
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
1151
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.setVmState = function (request, metadata) {
|
|
1550
1152
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/setVmState', request, metadata || {}, methodDescriptor_EmulatorController_setVmState);
|
|
1551
1153
|
};
|
|
1154
|
+
|
|
1552
1155
|
/**
|
|
1553
1156
|
* @const
|
|
1554
1157
|
* @type {!grpc.web.MethodDescriptor<
|
|
1555
1158
|
* !proto.google.protobuf.Empty,
|
|
1556
1159
|
* !proto.android.emulation.control.VmRunState>}
|
|
1557
1160
|
*/
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
1161
|
var methodDescriptor_EmulatorController_getVmState = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/getVmState', grpc.web.MethodType.UNARY, google_protobuf_empty_pb.Empty, proto.android.emulation.control.VmRunState,
|
|
1561
1162
|
/**
|
|
1562
1163
|
* @param {!proto.google.protobuf.Empty} request
|
|
@@ -1565,56 +1166,39 @@ var methodDescriptor_EmulatorController_getVmState = new grpc.web.MethodDescript
|
|
|
1565
1166
|
function (request) {
|
|
1566
1167
|
return request.serializeBinary();
|
|
1567
1168
|
}, proto.android.emulation.control.VmRunState.deserializeBinary);
|
|
1568
|
-
/**
|
|
1569
|
-
* @const
|
|
1570
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1571
|
-
* !proto.google.protobuf.Empty,
|
|
1572
|
-
* !proto.android.emulation.control.VmRunState>}
|
|
1573
|
-
*/
|
|
1574
1169
|
|
|
1575
|
-
var methodInfo_EmulatorController_getVmState = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.VmRunState,
|
|
1576
|
-
/**
|
|
1577
|
-
* @param {!proto.google.protobuf.Empty} request
|
|
1578
|
-
* @return {!Uint8Array}
|
|
1579
|
-
*/
|
|
1580
|
-
function (request) {
|
|
1581
|
-
return request.serializeBinary();
|
|
1582
|
-
}, proto.android.emulation.control.VmRunState.deserializeBinary);
|
|
1583
1170
|
/**
|
|
1584
1171
|
* @param {!proto.google.protobuf.Empty} request The
|
|
1585
1172
|
* request proto
|
|
1586
1173
|
* @param {?Object<string, string>} metadata User defined
|
|
1587
1174
|
* call metadata
|
|
1588
|
-
* @param {function(?grpc.web.
|
|
1175
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.VmRunState)}
|
|
1589
1176
|
* callback The callback function(error, response)
|
|
1590
1177
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.VmRunState>|undefined}
|
|
1591
1178
|
* The XHR Node Readable Stream
|
|
1592
1179
|
*/
|
|
1593
|
-
|
|
1594
1180
|
proto.android.emulation.control.EmulatorControllerClient.prototype.getVmState = function (request, metadata, callback) {
|
|
1595
1181
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/getVmState', request, metadata || {}, methodDescriptor_EmulatorController_getVmState, callback);
|
|
1596
1182
|
};
|
|
1183
|
+
|
|
1597
1184
|
/**
|
|
1598
1185
|
* @param {!proto.google.protobuf.Empty} request The
|
|
1599
1186
|
* request proto
|
|
1600
|
-
* @param {?Object<string, string
|
|
1187
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1601
1188
|
* call metadata
|
|
1602
1189
|
* @return {!Promise<!proto.android.emulation.control.VmRunState>}
|
|
1603
1190
|
* Promise that resolves to the response
|
|
1604
1191
|
*/
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
1192
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.getVmState = function (request, metadata) {
|
|
1608
1193
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/getVmState', request, metadata || {}, methodDescriptor_EmulatorController_getVmState);
|
|
1609
1194
|
};
|
|
1195
|
+
|
|
1610
1196
|
/**
|
|
1611
1197
|
* @const
|
|
1612
1198
|
* @type {!grpc.web.MethodDescriptor<
|
|
1613
1199
|
* !proto.android.emulation.control.DisplayConfigurations,
|
|
1614
1200
|
* !proto.android.emulation.control.DisplayConfigurations>}
|
|
1615
1201
|
*/
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
1202
|
var methodDescriptor_EmulatorController_setDisplayConfigurations = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/setDisplayConfigurations', grpc.web.MethodType.UNARY, proto.android.emulation.control.DisplayConfigurations, proto.android.emulation.control.DisplayConfigurations,
|
|
1619
1203
|
/**
|
|
1620
1204
|
* @param {!proto.android.emulation.control.DisplayConfigurations} request
|
|
@@ -1623,56 +1207,39 @@ var methodDescriptor_EmulatorController_setDisplayConfigurations = new grpc.web.
|
|
|
1623
1207
|
function (request) {
|
|
1624
1208
|
return request.serializeBinary();
|
|
1625
1209
|
}, proto.android.emulation.control.DisplayConfigurations.deserializeBinary);
|
|
1626
|
-
/**
|
|
1627
|
-
* @const
|
|
1628
|
-
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1629
|
-
* !proto.android.emulation.control.DisplayConfigurations,
|
|
1630
|
-
* !proto.android.emulation.control.DisplayConfigurations>}
|
|
1631
|
-
*/
|
|
1632
1210
|
|
|
1633
|
-
var methodInfo_EmulatorController_setDisplayConfigurations = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.DisplayConfigurations,
|
|
1634
|
-
/**
|
|
1635
|
-
* @param {!proto.android.emulation.control.DisplayConfigurations} request
|
|
1636
|
-
* @return {!Uint8Array}
|
|
1637
|
-
*/
|
|
1638
|
-
function (request) {
|
|
1639
|
-
return request.serializeBinary();
|
|
1640
|
-
}, proto.android.emulation.control.DisplayConfigurations.deserializeBinary);
|
|
1641
1211
|
/**
|
|
1642
1212
|
* @param {!proto.android.emulation.control.DisplayConfigurations} request The
|
|
1643
1213
|
* request proto
|
|
1644
1214
|
* @param {?Object<string, string>} metadata User defined
|
|
1645
1215
|
* call metadata
|
|
1646
|
-
* @param {function(?grpc.web.
|
|
1216
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.DisplayConfigurations)}
|
|
1647
1217
|
* callback The callback function(error, response)
|
|
1648
1218
|
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.DisplayConfigurations>|undefined}
|
|
1649
1219
|
* The XHR Node Readable Stream
|
|
1650
1220
|
*/
|
|
1651
|
-
|
|
1652
1221
|
proto.android.emulation.control.EmulatorControllerClient.prototype.setDisplayConfigurations = function (request, metadata, callback) {
|
|
1653
1222
|
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/setDisplayConfigurations', request, metadata || {}, methodDescriptor_EmulatorController_setDisplayConfigurations, callback);
|
|
1654
1223
|
};
|
|
1224
|
+
|
|
1655
1225
|
/**
|
|
1656
1226
|
* @param {!proto.android.emulation.control.DisplayConfigurations} request The
|
|
1657
1227
|
* request proto
|
|
1658
|
-
* @param {?Object<string, string
|
|
1228
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1659
1229
|
* call metadata
|
|
1660
1230
|
* @return {!Promise<!proto.android.emulation.control.DisplayConfigurations>}
|
|
1661
1231
|
* Promise that resolves to the response
|
|
1662
1232
|
*/
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
1233
|
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.setDisplayConfigurations = function (request, metadata) {
|
|
1666
1234
|
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/setDisplayConfigurations', request, metadata || {}, methodDescriptor_EmulatorController_setDisplayConfigurations);
|
|
1667
1235
|
};
|
|
1236
|
+
|
|
1668
1237
|
/**
|
|
1669
1238
|
* @const
|
|
1670
1239
|
* @type {!grpc.web.MethodDescriptor<
|
|
1671
1240
|
* !proto.google.protobuf.Empty,
|
|
1672
1241
|
* !proto.android.emulation.control.DisplayConfigurations>}
|
|
1673
1242
|
*/
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
1243
|
var methodDescriptor_EmulatorController_getDisplayConfigurations = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/getDisplayConfigurations', grpc.web.MethodType.UNARY, google_protobuf_empty_pb.Empty, proto.android.emulation.control.DisplayConfigurations,
|
|
1677
1244
|
/**
|
|
1678
1245
|
* @param {!proto.google.protobuf.Empty} request
|
|
@@ -1681,101 +1248,354 @@ var methodDescriptor_EmulatorController_getDisplayConfigurations = new grpc.web.
|
|
|
1681
1248
|
function (request) {
|
|
1682
1249
|
return request.serializeBinary();
|
|
1683
1250
|
}, proto.android.emulation.control.DisplayConfigurations.deserializeBinary);
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
1254
|
+
* request proto
|
|
1255
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1256
|
+
* call metadata
|
|
1257
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.DisplayConfigurations)}
|
|
1258
|
+
* callback The callback function(error, response)
|
|
1259
|
+
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.DisplayConfigurations>|undefined}
|
|
1260
|
+
* The XHR Node Readable Stream
|
|
1261
|
+
*/
|
|
1262
|
+
proto.android.emulation.control.EmulatorControllerClient.prototype.getDisplayConfigurations = function (request, metadata, callback) {
|
|
1263
|
+
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/getDisplayConfigurations', request, metadata || {}, methodDescriptor_EmulatorController_getDisplayConfigurations, callback);
|
|
1264
|
+
};
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
1268
|
+
* request proto
|
|
1269
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1270
|
+
* call metadata
|
|
1271
|
+
* @return {!Promise<!proto.android.emulation.control.DisplayConfigurations>}
|
|
1272
|
+
* Promise that resolves to the response
|
|
1273
|
+
*/
|
|
1274
|
+
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.getDisplayConfigurations = function (request, metadata) {
|
|
1275
|
+
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/getDisplayConfigurations', request, metadata || {}, methodDescriptor_EmulatorController_getDisplayConfigurations);
|
|
1276
|
+
};
|
|
1277
|
+
|
|
1684
1278
|
/**
|
|
1685
1279
|
* @const
|
|
1686
|
-
* @type {!grpc.web.
|
|
1280
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1687
1281
|
* !proto.google.protobuf.Empty,
|
|
1688
|
-
* !proto.android.emulation.control.
|
|
1282
|
+
* !proto.android.emulation.control.Notification>}
|
|
1689
1283
|
*/
|
|
1690
|
-
|
|
1691
|
-
var methodInfo_EmulatorController_getDisplayConfigurations = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.DisplayConfigurations,
|
|
1284
|
+
var methodDescriptor_EmulatorController_streamNotification = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/streamNotification', grpc.web.MethodType.SERVER_STREAMING, google_protobuf_empty_pb.Empty, proto.android.emulation.control.Notification,
|
|
1692
1285
|
/**
|
|
1693
1286
|
* @param {!proto.google.protobuf.Empty} request
|
|
1694
1287
|
* @return {!Uint8Array}
|
|
1695
1288
|
*/
|
|
1696
1289
|
function (request) {
|
|
1697
1290
|
return request.serializeBinary();
|
|
1698
|
-
}, proto.android.emulation.control.
|
|
1291
|
+
}, proto.android.emulation.control.Notification.deserializeBinary);
|
|
1292
|
+
|
|
1699
1293
|
/**
|
|
1700
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
1294
|
+
* @param {!proto.google.protobuf.Empty} request The request proto
|
|
1295
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1296
|
+
* call metadata
|
|
1297
|
+
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.Notification>}
|
|
1298
|
+
* The XHR Node Readable Stream
|
|
1299
|
+
*/
|
|
1300
|
+
proto.android.emulation.control.EmulatorControllerClient.prototype.streamNotification = function (request, metadata) {
|
|
1301
|
+
return this.client_.serverStreaming(this.hostname_ + '/android.emulation.control.EmulatorController/streamNotification', request, metadata || {}, methodDescriptor_EmulatorController_streamNotification);
|
|
1302
|
+
};
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* @param {!proto.google.protobuf.Empty} request The request proto
|
|
1306
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1307
|
+
* call metadata
|
|
1308
|
+
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.Notification>}
|
|
1309
|
+
* The XHR Node Readable Stream
|
|
1310
|
+
*/
|
|
1311
|
+
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.streamNotification = function (request, metadata) {
|
|
1312
|
+
return this.client_.serverStreaming(this.hostname_ + '/android.emulation.control.EmulatorController/streamNotification', request, metadata || {}, methodDescriptor_EmulatorController_streamNotification);
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* @const
|
|
1317
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1318
|
+
* !proto.android.emulation.control.RotationRadian,
|
|
1319
|
+
* !proto.google.protobuf.Empty>}
|
|
1320
|
+
*/
|
|
1321
|
+
var methodDescriptor_EmulatorController_rotateVirtualSceneCamera = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/rotateVirtualSceneCamera', grpc.web.MethodType.UNARY, proto.android.emulation.control.RotationRadian, google_protobuf_empty_pb.Empty,
|
|
1322
|
+
/**
|
|
1323
|
+
* @param {!proto.android.emulation.control.RotationRadian} request
|
|
1324
|
+
* @return {!Uint8Array}
|
|
1325
|
+
*/
|
|
1326
|
+
function (request) {
|
|
1327
|
+
return request.serializeBinary();
|
|
1328
|
+
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
1329
|
+
|
|
1330
|
+
/**
|
|
1331
|
+
* @param {!proto.android.emulation.control.RotationRadian} request The
|
|
1701
1332
|
* request proto
|
|
1702
1333
|
* @param {?Object<string, string>} metadata User defined
|
|
1703
1334
|
* call metadata
|
|
1704
|
-
* @param {function(?grpc.web.
|
|
1335
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
1705
1336
|
* callback The callback function(error, response)
|
|
1706
|
-
* @return {!grpc.web.ClientReadableStream<!proto.
|
|
1337
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
1707
1338
|
* The XHR Node Readable Stream
|
|
1708
1339
|
*/
|
|
1340
|
+
proto.android.emulation.control.EmulatorControllerClient.prototype.rotateVirtualSceneCamera = function (request, metadata, callback) {
|
|
1341
|
+
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/rotateVirtualSceneCamera', request, metadata || {}, methodDescriptor_EmulatorController_rotateVirtualSceneCamera, callback);
|
|
1342
|
+
};
|
|
1709
1343
|
|
|
1710
|
-
|
|
1711
|
-
|
|
1344
|
+
/**
|
|
1345
|
+
* @param {!proto.android.emulation.control.RotationRadian} request The
|
|
1346
|
+
* request proto
|
|
1347
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1348
|
+
* call metadata
|
|
1349
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
1350
|
+
* Promise that resolves to the response
|
|
1351
|
+
*/
|
|
1352
|
+
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.rotateVirtualSceneCamera = function (request, metadata) {
|
|
1353
|
+
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/rotateVirtualSceneCamera', request, metadata || {}, methodDescriptor_EmulatorController_rotateVirtualSceneCamera);
|
|
1712
1354
|
};
|
|
1355
|
+
|
|
1713
1356
|
/**
|
|
1714
|
-
* @
|
|
1357
|
+
* @const
|
|
1358
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1359
|
+
* !proto.android.emulation.control.Velocity,
|
|
1360
|
+
* !proto.google.protobuf.Empty>}
|
|
1361
|
+
*/
|
|
1362
|
+
var methodDescriptor_EmulatorController_setVirtualSceneCameraVelocity = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/setVirtualSceneCameraVelocity', grpc.web.MethodType.UNARY, proto.android.emulation.control.Velocity, google_protobuf_empty_pb.Empty,
|
|
1363
|
+
/**
|
|
1364
|
+
* @param {!proto.android.emulation.control.Velocity} request
|
|
1365
|
+
* @return {!Uint8Array}
|
|
1366
|
+
*/
|
|
1367
|
+
function (request) {
|
|
1368
|
+
return request.serializeBinary();
|
|
1369
|
+
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
1370
|
+
|
|
1371
|
+
/**
|
|
1372
|
+
* @param {!proto.android.emulation.control.Velocity} request The
|
|
1715
1373
|
* request proto
|
|
1716
1374
|
* @param {?Object<string, string>} metadata User defined
|
|
1717
1375
|
* call metadata
|
|
1718
|
-
* @
|
|
1376
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
1377
|
+
* callback The callback function(error, response)
|
|
1378
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
1379
|
+
* The XHR Node Readable Stream
|
|
1380
|
+
*/
|
|
1381
|
+
proto.android.emulation.control.EmulatorControllerClient.prototype.setVirtualSceneCameraVelocity = function (request, metadata, callback) {
|
|
1382
|
+
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/setVirtualSceneCameraVelocity', request, metadata || {}, methodDescriptor_EmulatorController_setVirtualSceneCameraVelocity, callback);
|
|
1383
|
+
};
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* @param {!proto.android.emulation.control.Velocity} request The
|
|
1387
|
+
* request proto
|
|
1388
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1389
|
+
* call metadata
|
|
1390
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
1719
1391
|
* Promise that resolves to the response
|
|
1720
1392
|
*/
|
|
1393
|
+
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.setVirtualSceneCameraVelocity = function (request, metadata) {
|
|
1394
|
+
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/setVirtualSceneCameraVelocity', request, metadata || {}, methodDescriptor_EmulatorController_setVirtualSceneCameraVelocity);
|
|
1395
|
+
};
|
|
1721
1396
|
|
|
1397
|
+
/**
|
|
1398
|
+
* @const
|
|
1399
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1400
|
+
* !proto.android.emulation.control.Posture,
|
|
1401
|
+
* !proto.google.protobuf.Empty>}
|
|
1402
|
+
*/
|
|
1403
|
+
var methodDescriptor_EmulatorController_setPosture = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/setPosture', grpc.web.MethodType.UNARY, proto.android.emulation.control.Posture, google_protobuf_empty_pb.Empty,
|
|
1404
|
+
/**
|
|
1405
|
+
* @param {!proto.android.emulation.control.Posture} request
|
|
1406
|
+
* @return {!Uint8Array}
|
|
1407
|
+
*/
|
|
1408
|
+
function (request) {
|
|
1409
|
+
return request.serializeBinary();
|
|
1410
|
+
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
1722
1411
|
|
|
1723
|
-
|
|
1724
|
-
|
|
1412
|
+
/**
|
|
1413
|
+
* @param {!proto.android.emulation.control.Posture} request The
|
|
1414
|
+
* request proto
|
|
1415
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1416
|
+
* call metadata
|
|
1417
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
1418
|
+
* callback The callback function(error, response)
|
|
1419
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
1420
|
+
* The XHR Node Readable Stream
|
|
1421
|
+
*/
|
|
1422
|
+
proto.android.emulation.control.EmulatorControllerClient.prototype.setPosture = function (request, metadata, callback) {
|
|
1423
|
+
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/setPosture', request, metadata || {}, methodDescriptor_EmulatorController_setPosture, callback);
|
|
1424
|
+
};
|
|
1425
|
+
|
|
1426
|
+
/**
|
|
1427
|
+
* @param {!proto.android.emulation.control.Posture} request The
|
|
1428
|
+
* request proto
|
|
1429
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1430
|
+
* call metadata
|
|
1431
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
1432
|
+
* Promise that resolves to the response
|
|
1433
|
+
*/
|
|
1434
|
+
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.setPosture = function (request, metadata) {
|
|
1435
|
+
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/setPosture', request, metadata || {}, methodDescriptor_EmulatorController_setPosture);
|
|
1725
1436
|
};
|
|
1437
|
+
|
|
1726
1438
|
/**
|
|
1727
1439
|
* @const
|
|
1728
1440
|
* @type {!grpc.web.MethodDescriptor<
|
|
1729
|
-
* !proto.
|
|
1730
|
-
* !proto.android.emulation.control.
|
|
1441
|
+
* !proto.android.emulation.control.BrightnessValue,
|
|
1442
|
+
* !proto.android.emulation.control.BrightnessValue>}
|
|
1443
|
+
*/
|
|
1444
|
+
var methodDescriptor_EmulatorController_getBrightness = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/getBrightness', grpc.web.MethodType.UNARY, proto.android.emulation.control.BrightnessValue, proto.android.emulation.control.BrightnessValue,
|
|
1445
|
+
/**
|
|
1446
|
+
* @param {!proto.android.emulation.control.BrightnessValue} request
|
|
1447
|
+
* @return {!Uint8Array}
|
|
1731
1448
|
*/
|
|
1449
|
+
function (request) {
|
|
1450
|
+
return request.serializeBinary();
|
|
1451
|
+
}, proto.android.emulation.control.BrightnessValue.deserializeBinary);
|
|
1732
1452
|
|
|
1453
|
+
/**
|
|
1454
|
+
* @param {!proto.android.emulation.control.BrightnessValue} request The
|
|
1455
|
+
* request proto
|
|
1456
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1457
|
+
* call metadata
|
|
1458
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.BrightnessValue)}
|
|
1459
|
+
* callback The callback function(error, response)
|
|
1460
|
+
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.BrightnessValue>|undefined}
|
|
1461
|
+
* The XHR Node Readable Stream
|
|
1462
|
+
*/
|
|
1463
|
+
proto.android.emulation.control.EmulatorControllerClient.prototype.getBrightness = function (request, metadata, callback) {
|
|
1464
|
+
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/getBrightness', request, metadata || {}, methodDescriptor_EmulatorController_getBrightness, callback);
|
|
1465
|
+
};
|
|
1733
1466
|
|
|
1734
|
-
var methodDescriptor_EmulatorController_streamNotification = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/streamNotification', grpc.web.MethodType.SERVER_STREAMING, google_protobuf_empty_pb.Empty, proto.android.emulation.control.Notification,
|
|
1735
1467
|
/**
|
|
1736
|
-
* @param {!proto.
|
|
1468
|
+
* @param {!proto.android.emulation.control.BrightnessValue} request The
|
|
1469
|
+
* request proto
|
|
1470
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1471
|
+
* call metadata
|
|
1472
|
+
* @return {!Promise<!proto.android.emulation.control.BrightnessValue>}
|
|
1473
|
+
* Promise that resolves to the response
|
|
1474
|
+
*/
|
|
1475
|
+
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.getBrightness = function (request, metadata) {
|
|
1476
|
+
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/getBrightness', request, metadata || {}, methodDescriptor_EmulatorController_getBrightness);
|
|
1477
|
+
};
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* @const
|
|
1481
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1482
|
+
* !proto.android.emulation.control.BrightnessValue,
|
|
1483
|
+
* !proto.google.protobuf.Empty>}
|
|
1484
|
+
*/
|
|
1485
|
+
var methodDescriptor_EmulatorController_setBrightness = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/setBrightness', grpc.web.MethodType.UNARY, proto.android.emulation.control.BrightnessValue, google_protobuf_empty_pb.Empty,
|
|
1486
|
+
/**
|
|
1487
|
+
* @param {!proto.android.emulation.control.BrightnessValue} request
|
|
1737
1488
|
* @return {!Uint8Array}
|
|
1738
1489
|
*/
|
|
1739
1490
|
function (request) {
|
|
1740
1491
|
return request.serializeBinary();
|
|
1741
|
-
},
|
|
1492
|
+
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
1493
|
+
|
|
1494
|
+
/**
|
|
1495
|
+
* @param {!proto.android.emulation.control.BrightnessValue} request The
|
|
1496
|
+
* request proto
|
|
1497
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1498
|
+
* call metadata
|
|
1499
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
1500
|
+
* callback The callback function(error, response)
|
|
1501
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
1502
|
+
* The XHR Node Readable Stream
|
|
1503
|
+
*/
|
|
1504
|
+
proto.android.emulation.control.EmulatorControllerClient.prototype.setBrightness = function (request, metadata, callback) {
|
|
1505
|
+
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/setBrightness', request, metadata || {}, methodDescriptor_EmulatorController_setBrightness, callback);
|
|
1506
|
+
};
|
|
1507
|
+
|
|
1508
|
+
/**
|
|
1509
|
+
* @param {!proto.android.emulation.control.BrightnessValue} request The
|
|
1510
|
+
* request proto
|
|
1511
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1512
|
+
* call metadata
|
|
1513
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
1514
|
+
* Promise that resolves to the response
|
|
1515
|
+
*/
|
|
1516
|
+
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.setBrightness = function (request, metadata) {
|
|
1517
|
+
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/setBrightness', request, metadata || {}, methodDescriptor_EmulatorController_setBrightness);
|
|
1518
|
+
};
|
|
1519
|
+
|
|
1742
1520
|
/**
|
|
1743
1521
|
* @const
|
|
1744
|
-
* @type {!grpc.web.
|
|
1522
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1745
1523
|
* !proto.google.protobuf.Empty,
|
|
1746
|
-
* !proto.android.emulation.control.
|
|
1524
|
+
* !proto.android.emulation.control.DisplayMode>}
|
|
1747
1525
|
*/
|
|
1748
|
-
|
|
1749
|
-
var methodInfo_EmulatorController_streamNotification = new grpc.web.AbstractClientBase.MethodInfo(proto.android.emulation.control.Notification,
|
|
1526
|
+
var methodDescriptor_EmulatorController_getDisplayMode = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/getDisplayMode', grpc.web.MethodType.UNARY, google_protobuf_empty_pb.Empty, proto.android.emulation.control.DisplayMode,
|
|
1750
1527
|
/**
|
|
1751
1528
|
* @param {!proto.google.protobuf.Empty} request
|
|
1752
1529
|
* @return {!Uint8Array}
|
|
1753
1530
|
*/
|
|
1754
1531
|
function (request) {
|
|
1755
1532
|
return request.serializeBinary();
|
|
1756
|
-
}, proto.android.emulation.control.
|
|
1533
|
+
}, proto.android.emulation.control.DisplayMode.deserializeBinary);
|
|
1534
|
+
|
|
1757
1535
|
/**
|
|
1758
|
-
* @param {!proto.google.protobuf.Empty} request The
|
|
1536
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
1537
|
+
* request proto
|
|
1759
1538
|
* @param {?Object<string, string>} metadata User defined
|
|
1760
1539
|
* call metadata
|
|
1761
|
-
* @
|
|
1540
|
+
* @param {function(?grpc.web.RpcError, ?proto.android.emulation.control.DisplayMode)}
|
|
1541
|
+
* callback The callback function(error, response)
|
|
1542
|
+
* @return {!grpc.web.ClientReadableStream<!proto.android.emulation.control.DisplayMode>|undefined}
|
|
1762
1543
|
* The XHR Node Readable Stream
|
|
1763
1544
|
*/
|
|
1545
|
+
proto.android.emulation.control.EmulatorControllerClient.prototype.getDisplayMode = function (request, metadata, callback) {
|
|
1546
|
+
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/getDisplayMode', request, metadata || {}, methodDescriptor_EmulatorController_getDisplayMode, callback);
|
|
1547
|
+
};
|
|
1764
1548
|
|
|
1765
|
-
|
|
1766
|
-
|
|
1549
|
+
/**
|
|
1550
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
1551
|
+
* request proto
|
|
1552
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1553
|
+
* call metadata
|
|
1554
|
+
* @return {!Promise<!proto.android.emulation.control.DisplayMode>}
|
|
1555
|
+
* Promise that resolves to the response
|
|
1556
|
+
*/
|
|
1557
|
+
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.getDisplayMode = function (request, metadata) {
|
|
1558
|
+
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/getDisplayMode', request, metadata || {}, methodDescriptor_EmulatorController_getDisplayMode);
|
|
1767
1559
|
};
|
|
1560
|
+
|
|
1768
1561
|
/**
|
|
1769
|
-
* @
|
|
1562
|
+
* @const
|
|
1563
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1564
|
+
* !proto.android.emulation.control.DisplayMode,
|
|
1565
|
+
* !proto.google.protobuf.Empty>}
|
|
1566
|
+
*/
|
|
1567
|
+
var methodDescriptor_EmulatorController_setDisplayMode = new grpc.web.MethodDescriptor('/android.emulation.control.EmulatorController/setDisplayMode', grpc.web.MethodType.UNARY, proto.android.emulation.control.DisplayMode, google_protobuf_empty_pb.Empty,
|
|
1568
|
+
/**
|
|
1569
|
+
* @param {!proto.android.emulation.control.DisplayMode} request
|
|
1570
|
+
* @return {!Uint8Array}
|
|
1571
|
+
*/
|
|
1572
|
+
function (request) {
|
|
1573
|
+
return request.serializeBinary();
|
|
1574
|
+
}, google_protobuf_empty_pb.Empty.deserializeBinary);
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* @param {!proto.android.emulation.control.DisplayMode} request The
|
|
1578
|
+
* request proto
|
|
1770
1579
|
* @param {?Object<string, string>} metadata User defined
|
|
1771
1580
|
* call metadata
|
|
1772
|
-
* @
|
|
1581
|
+
* @param {function(?grpc.web.RpcError, ?proto.google.protobuf.Empty)}
|
|
1582
|
+
* callback The callback function(error, response)
|
|
1583
|
+
* @return {!grpc.web.ClientReadableStream<!proto.google.protobuf.Empty>|undefined}
|
|
1773
1584
|
* The XHR Node Readable Stream
|
|
1774
1585
|
*/
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.streamNotification = function (request, metadata) {
|
|
1778
|
-
return this.client_.serverStreaming(this.hostname_ + '/android.emulation.control.EmulatorController/streamNotification', request, metadata || {}, methodDescriptor_EmulatorController_streamNotification);
|
|
1586
|
+
proto.android.emulation.control.EmulatorControllerClient.prototype.setDisplayMode = function (request, metadata, callback) {
|
|
1587
|
+
return this.client_.rpcCall(this.hostname_ + '/android.emulation.control.EmulatorController/setDisplayMode', request, metadata || {}, methodDescriptor_EmulatorController_setDisplayMode, callback);
|
|
1779
1588
|
};
|
|
1780
1589
|
|
|
1590
|
+
/**
|
|
1591
|
+
* @param {!proto.android.emulation.control.DisplayMode} request The
|
|
1592
|
+
* request proto
|
|
1593
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1594
|
+
* call metadata
|
|
1595
|
+
* @return {!Promise<!proto.google.protobuf.Empty>}
|
|
1596
|
+
* Promise that resolves to the response
|
|
1597
|
+
*/
|
|
1598
|
+
proto.android.emulation.control.EmulatorControllerPromiseClient.prototype.setDisplayMode = function (request, metadata) {
|
|
1599
|
+
return this.client_.unaryCall(this.hostname_ + '/android.emulation.control.EmulatorController/setDisplayMode', request, metadata || {}, methodDescriptor_EmulatorController_setDisplayMode);
|
|
1600
|
+
};
|
|
1781
1601
|
module.exports = proto.android.emulation.control;
|