@ekhein/lamda-node-sdk 1.0.1 → 1.0.2
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/dist/chunk-3HDKHFYE.js +1602 -0
- package/dist/chunk-3JBDAA2H.js +439 -0
- package/dist/chunk-4AHM55IO.js +1172 -0
- package/dist/chunk-6HD35RPW.js +5370 -0
- package/dist/chunk-7XF22HAW.js +907 -0
- package/dist/chunk-7YGA6EOV.js +109 -0
- package/dist/chunk-ADS4GRIL.js +14 -0
- package/dist/chunk-FSLE4VGI.js +48 -0
- package/dist/chunk-H7Z6XFBF.js +134 -0
- package/dist/chunk-KJKSI2WL.js +62 -0
- package/dist/chunk-O52JGDU7.js +800 -0
- package/dist/chunk-ORXTTWPB.js +379 -0
- package/dist/chunk-OZJH6SR7.js +20 -0
- package/dist/chunk-P53F45YO.js +64 -0
- package/dist/chunk-QXMPY6EE.js +289 -0
- package/dist/chunk-SBFKX3ZY.js +1554 -0
- package/dist/chunk-WFQEBPE6.js +300 -0
- package/dist/chunk-X4LTH2UN.js +983 -0
- package/dist/chunk-XAX5BZL3.js +132 -0
- package/dist/chunk-ZXF5DGTC.js +45 -0
- package/dist/constants/activity.flag.cjs +92 -0
- package/dist/constants/activity.flag.d.cts +24 -0
- package/dist/constants/activity.flag.d.ts +24 -0
- package/dist/constants/activity.flag.js +49 -0
- package/dist/constants/android.permission.cjs +116 -0
- package/dist/constants/android.permission.d.cts +32 -0
- package/dist/constants/android.permission.d.ts +32 -0
- package/dist/constants/android.permission.js +65 -0
- package/dist/constants/index.cjs +186 -0
- package/dist/constants/index.d.cts +2 -0
- package/dist/constants/index.d.ts +2 -0
- package/dist/constants/index.js +111 -0
- package/dist/decorators/inject.decorator.cjs +43 -0
- package/dist/decorators/inject.decorator.d.cts +5 -0
- package/dist/decorators/inject.decorator.d.ts +5 -0
- package/dist/decorators/inject.decorator.js +7 -0
- package/dist/main.cjs +1 -2
- package/dist/main.d.cts +17 -1152
- package/dist/main.d.ts +17 -1152
- package/dist/main.js +36 -11873
- package/dist/rpc/application.cjs +2019 -0
- package/dist/rpc/application.d.cts +138 -0
- package/dist/rpc/application.d.ts +138 -0
- package/dist/rpc/application.js +50 -0
- package/dist/rpc/debug.cjs +86 -0
- package/dist/rpc/debug.d.cts +21 -0
- package/dist/rpc/debug.d.ts +21 -0
- package/dist/rpc/debug.js +9 -0
- package/dist/rpc/file.cjs +405 -0
- package/dist/rpc/file.d.cts +40 -0
- package/dist/rpc/file.d.ts +40 -0
- package/dist/rpc/file.js +13 -0
- package/dist/rpc/google/protobuf/any.cjs +126 -0
- package/dist/rpc/google/protobuf/any.d.cts +22 -0
- package/dist/rpc/google/protobuf/any.d.ts +22 -0
- package/dist/rpc/google/protobuf/any.js +103 -0
- package/dist/rpc/google/protobuf/empty.cjs +69 -0
- package/dist/rpc/google/protobuf/empty.d.cts +20 -0
- package/dist/rpc/google/protobuf/empty.d.ts +20 -0
- package/dist/rpc/google/protobuf/empty.js +9 -0
- package/dist/rpc/google/protobuf/struct.cjs +469 -0
- package/dist/rpc/google/protobuf/struct.d.cts +65 -0
- package/dist/rpc/google/protobuf/struct.d.ts +65 -0
- package/dist/rpc/google/protobuf/struct.js +21 -0
- package/dist/rpc/policy.cjs +133 -0
- package/dist/rpc/policy.d.cts +24 -0
- package/dist/rpc/policy.d.ts +24 -0
- package/dist/rpc/policy.js +9 -0
- package/dist/rpc/proxy.cjs +1109 -0
- package/dist/rpc/proxy.d.cts +108 -0
- package/dist/rpc/proxy.d.ts +108 -0
- package/dist/rpc/proxy.js +49 -0
- package/dist/rpc/services.cjs +11898 -0
- package/dist/rpc/services.d.cts +1920 -0
- package/dist/rpc/services.d.ts +1920 -0
- package/dist/rpc/services.js +48 -0
- package/dist/rpc/settings.cjs +161 -0
- package/dist/rpc/settings.d.cts +31 -0
- package/dist/rpc/settings.d.ts +31 -0
- package/dist/rpc/settings.js +15 -0
- package/dist/rpc/shell.cjs +326 -0
- package/dist/rpc/shell.d.cts +36 -0
- package/dist/rpc/shell.d.ts +36 -0
- package/dist/rpc/shell.js +13 -0
- package/dist/rpc/status.cjs +936 -0
- package/dist/rpc/status.d.cts +76 -0
- package/dist/rpc/status.d.ts +76 -0
- package/dist/rpc/status.js +19 -0
- package/dist/rpc/storage.cjs +156 -0
- package/dist/rpc/storage.d.cts +24 -0
- package/dist/rpc/storage.d.ts +24 -0
- package/dist/rpc/storage.js +9 -0
- package/dist/rpc/types.cjs +317 -0
- package/dist/rpc/types.d.cts +36 -0
- package/dist/rpc/types.d.ts +36 -0
- package/dist/rpc/types.js +17 -0
- package/dist/rpc/uiautomator.cjs +5446 -0
- package/dist/rpc/uiautomator.d.cts +618 -0
- package/dist/rpc/uiautomator.d.ts +618 -0
- package/dist/rpc/uiautomator.js +113 -0
- package/dist/rpc/util.cjs +1212 -0
- package/dist/rpc/util.d.cts +103 -0
- package/dist/rpc/util.d.ts +103 -0
- package/dist/rpc/util.js +41 -0
- package/dist/rpc/wifi.cjs +1015 -0
- package/dist/rpc/wifi.d.cts +84 -0
- package/dist/rpc/wifi.d.ts +84 -0
- package/dist/rpc/wifi.js +25 -0
- package/package.json +3 -4
package/dist/main.d.ts
CHANGED
|
@@ -1,1155 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
fromJSON(object: any): T;
|
|
19
|
-
toJSON(message: T): unknown;
|
|
20
|
-
create(base?: DeepPartial$e<T>): T;
|
|
21
|
-
fromPartial(object: DeepPartial$e<T>): T;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
interface FileStat {
|
|
25
|
-
name: string;
|
|
26
|
-
path: string;
|
|
27
|
-
directory: boolean;
|
|
28
|
-
stMode: number;
|
|
29
|
-
stAtime: number;
|
|
30
|
-
stMtime: number;
|
|
31
|
-
stCtime: number;
|
|
32
|
-
stUid: number;
|
|
33
|
-
stGid: number;
|
|
34
|
-
stSize: number;
|
|
35
|
-
}
|
|
36
|
-
declare const FileStat: MessageFns$c<FileStat>;
|
|
37
|
-
interface FileRequest {
|
|
38
|
-
path: string;
|
|
39
|
-
mode: number;
|
|
40
|
-
payload: Uint8Array;
|
|
41
|
-
}
|
|
42
|
-
declare const FileRequest: MessageFns$c<FileRequest>;
|
|
43
|
-
interface FileDataResponse {
|
|
44
|
-
payload: Uint8Array;
|
|
45
|
-
}
|
|
46
|
-
declare const FileDataResponse: MessageFns$c<FileDataResponse>;
|
|
47
|
-
type Builtin$d = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
48
|
-
type DeepPartial$d<T> = T extends Builtin$d ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$d<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$d<U>> : T extends {} ? {
|
|
49
|
-
[K in keyof T]?: DeepPartial$d<T[K]>;
|
|
50
|
-
} : Partial<T>;
|
|
51
|
-
interface MessageFns$c<T> {
|
|
52
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
53
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
54
|
-
fromJSON(object: any): T;
|
|
55
|
-
toJSON(message: T): unknown;
|
|
56
|
-
create(base?: DeepPartial$d<T>): T;
|
|
57
|
-
fromPartial(object: DeepPartial$d<T>): T;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
declare enum ToastDuration {
|
|
61
|
-
TD_SHORT = 0,
|
|
62
|
-
TD_LONG = 1,
|
|
63
|
-
UNRECOGNIZED = -1
|
|
64
|
-
}
|
|
65
|
-
interface TouchDown {
|
|
66
|
-
tid: number;
|
|
67
|
-
x: number;
|
|
68
|
-
y: number;
|
|
69
|
-
pressure: number;
|
|
70
|
-
}
|
|
71
|
-
declare const TouchDown: MessageFns$b<TouchDown>;
|
|
72
|
-
interface TouchUp {
|
|
73
|
-
tid: number;
|
|
74
|
-
}
|
|
75
|
-
declare const TouchUp: MessageFns$b<TouchUp>;
|
|
76
|
-
interface TouchMove {
|
|
77
|
-
tid: number;
|
|
78
|
-
x: number;
|
|
79
|
-
y: number;
|
|
80
|
-
pressure: number;
|
|
81
|
-
}
|
|
82
|
-
declare const TouchMove: MessageFns$b<TouchMove>;
|
|
83
|
-
interface TouchWait {
|
|
84
|
-
wait: number;
|
|
85
|
-
}
|
|
86
|
-
declare const TouchWait: MessageFns$b<TouchWait>;
|
|
87
|
-
interface TouchAction {
|
|
88
|
-
down?: TouchDown | undefined;
|
|
89
|
-
move?: TouchMove | undefined;
|
|
90
|
-
wait?: TouchWait | undefined;
|
|
91
|
-
up?: TouchUp | undefined;
|
|
92
|
-
}
|
|
93
|
-
declare const TouchAction: MessageFns$b<TouchAction>;
|
|
94
|
-
interface TouchSequence {
|
|
95
|
-
sequence: TouchAction[];
|
|
96
|
-
}
|
|
97
|
-
declare const TouchSequence: MessageFns$b<TouchSequence>;
|
|
98
|
-
interface PerformTouchRequest {
|
|
99
|
-
sequence: TouchSequence | undefined;
|
|
100
|
-
wait: boolean;
|
|
101
|
-
}
|
|
102
|
-
declare const PerformTouchRequest: MessageFns$b<PerformTouchRequest>;
|
|
103
|
-
interface SetPropRequest {
|
|
104
|
-
name: string;
|
|
105
|
-
value: string;
|
|
106
|
-
}
|
|
107
|
-
declare const SetPropRequest: MessageFns$b<SetPropRequest>;
|
|
108
|
-
interface CertifiRequest {
|
|
109
|
-
cert: Uint8Array;
|
|
110
|
-
}
|
|
111
|
-
declare const CertifiRequest: MessageFns$b<CertifiRequest>;
|
|
112
|
-
interface ShowToastRequest {
|
|
113
|
-
text: string;
|
|
114
|
-
duration: ToastDuration;
|
|
115
|
-
}
|
|
116
|
-
declare const ShowToastRequest: MessageFns$b<ShowToastRequest>;
|
|
117
|
-
interface ServerInfoResponse {
|
|
118
|
-
uniqueId: string;
|
|
119
|
-
version: string;
|
|
120
|
-
architecture: string;
|
|
121
|
-
uptime: number;
|
|
122
|
-
secure: boolean;
|
|
123
|
-
}
|
|
124
|
-
declare const ServerInfoResponse: MessageFns$b<ServerInfoResponse>;
|
|
125
|
-
interface HexPatchRequest {
|
|
126
|
-
pattern: string;
|
|
127
|
-
replacement: string;
|
|
128
|
-
path: string;
|
|
129
|
-
maxreplace: number;
|
|
130
|
-
dryrun: boolean;
|
|
131
|
-
}
|
|
132
|
-
declare const HexPatchRequest: MessageFns$b<HexPatchRequest>;
|
|
133
|
-
interface HexPatchItem {
|
|
134
|
-
path: string;
|
|
135
|
-
index: number;
|
|
136
|
-
offset: number;
|
|
137
|
-
}
|
|
138
|
-
declare const HexPatchItem: MessageFns$b<HexPatchItem>;
|
|
139
|
-
interface HexPatchResponse {
|
|
140
|
-
count: number;
|
|
141
|
-
replaces: HexPatchItem[];
|
|
142
|
-
}
|
|
143
|
-
declare const HexPatchResponse: MessageFns$b<HexPatchResponse>;
|
|
144
|
-
type Builtin$c = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
145
|
-
type DeepPartial$c<T> = T extends Builtin$c ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$c<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$c<U>> : T extends {} ? {
|
|
146
|
-
[K in keyof T]?: DeepPartial$c<T[K]>;
|
|
147
|
-
} : Partial<T>;
|
|
148
|
-
interface MessageFns$b<T> {
|
|
149
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
150
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
151
|
-
fromJSON(object: any): T;
|
|
152
|
-
toJSON(message: T): unknown;
|
|
153
|
-
create(base?: DeepPartial$c<T>): T;
|
|
154
|
-
fromPartial(object: DeepPartial$c<T>): T;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
interface WifiStatus {
|
|
158
|
-
id: string;
|
|
159
|
-
address: string;
|
|
160
|
-
bssid: string;
|
|
161
|
-
freq: string;
|
|
162
|
-
groupCipher: string;
|
|
163
|
-
ipAddress: string;
|
|
164
|
-
keyMgmt: string;
|
|
165
|
-
mode: string;
|
|
166
|
-
pairwiseCipher: string;
|
|
167
|
-
ssid: string;
|
|
168
|
-
wifiGeneration: string;
|
|
169
|
-
wpaState: string;
|
|
170
|
-
}
|
|
171
|
-
declare const WifiStatus: MessageFns$a<WifiStatus>;
|
|
172
|
-
interface SignalPoll {
|
|
173
|
-
RSSI: string;
|
|
174
|
-
LINKSPEED: string;
|
|
175
|
-
NOISE: string;
|
|
176
|
-
FREQUENCY: string;
|
|
177
|
-
WIDTH: string;
|
|
178
|
-
avgRssi: string;
|
|
179
|
-
avgBeaconRssi: string;
|
|
180
|
-
centerFrq1: string;
|
|
181
|
-
}
|
|
182
|
-
declare const SignalPoll: MessageFns$a<SignalPoll>;
|
|
183
|
-
interface WifiInfo {
|
|
184
|
-
id: string;
|
|
185
|
-
bssid: string;
|
|
186
|
-
ssid: string;
|
|
187
|
-
freq: string;
|
|
188
|
-
noise: string;
|
|
189
|
-
level: string;
|
|
190
|
-
tsf: string;
|
|
191
|
-
flags: string;
|
|
192
|
-
}
|
|
193
|
-
declare const WifiInfo: MessageFns$a<WifiInfo>;
|
|
194
|
-
interface ScanResult {
|
|
195
|
-
stations: WifiInfo[];
|
|
196
|
-
}
|
|
197
|
-
declare const ScanResult: MessageFns$a<ScanResult>;
|
|
198
|
-
interface Network {
|
|
199
|
-
nid: number;
|
|
200
|
-
bssid: string;
|
|
201
|
-
ssid: string;
|
|
202
|
-
flags: string;
|
|
203
|
-
}
|
|
204
|
-
declare const Network: MessageFns$a<Network>;
|
|
205
|
-
interface NetworkList {
|
|
206
|
-
networks: Network[];
|
|
207
|
-
}
|
|
208
|
-
declare const NetworkList: MessageFns$a<NetworkList>;
|
|
209
|
-
interface NetworkConfig {
|
|
210
|
-
network: Network | undefined;
|
|
211
|
-
name: string;
|
|
212
|
-
value: string;
|
|
213
|
-
}
|
|
214
|
-
declare const NetworkConfig: MessageFns$a<NetworkConfig>;
|
|
215
|
-
interface WifiConfig {
|
|
216
|
-
name: string;
|
|
217
|
-
value: string;
|
|
218
|
-
}
|
|
219
|
-
declare const WifiConfig: MessageFns$a<WifiConfig>;
|
|
220
|
-
interface WifiBlacklist {
|
|
221
|
-
bssids: string[];
|
|
222
|
-
}
|
|
223
|
-
declare const WifiBlacklist: MessageFns$a<WifiBlacklist>;
|
|
224
|
-
type Builtin$b = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
225
|
-
type DeepPartial$b<T> = T extends Builtin$b ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$b<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$b<U>> : T extends {} ? {
|
|
226
|
-
[K in keyof T]?: DeepPartial$b<T[K]>;
|
|
227
|
-
} : Partial<T>;
|
|
228
|
-
interface MessageFns$a<T> {
|
|
229
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
230
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
231
|
-
fromJSON(object: any): T;
|
|
232
|
-
toJSON(message: T): unknown;
|
|
233
|
-
create(base?: DeepPartial$b<T>): T;
|
|
234
|
-
fromPartial(object: DeepPartial$b<T>): T;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
declare enum Orientation {
|
|
238
|
-
ORIEN_NATURE = 0,
|
|
239
|
-
ORIEN_LEFT = 1,
|
|
240
|
-
ORIEN_UPSIDEDOWN = 2,
|
|
241
|
-
ORIEN_RIGHT = 3,
|
|
242
|
-
UNRECOGNIZED = -1
|
|
243
|
-
}
|
|
244
|
-
declare enum Key {
|
|
245
|
-
KEY_BACK = 0,
|
|
246
|
-
KEY_CAMERA = 1,
|
|
247
|
-
KEY_CENTER = 2,
|
|
248
|
-
KEY_DELETE = 3,
|
|
249
|
-
KEY_DOWN = 4,
|
|
250
|
-
KEY_ENTER = 5,
|
|
251
|
-
KEY_HOME = 6,
|
|
252
|
-
KEY_LEFT = 7,
|
|
253
|
-
KEY_MENU = 8,
|
|
254
|
-
KEY_POWER = 9,
|
|
255
|
-
KEY_RECENT = 10,
|
|
256
|
-
KEY_RIGHT = 11,
|
|
257
|
-
KEY_SEARCH = 12,
|
|
258
|
-
KEY_UP = 13,
|
|
259
|
-
KEY_VOLUME_DOWN = 14,
|
|
260
|
-
KEY_VOLUME_MUTE = 15,
|
|
261
|
-
KEY_VOLUME_UP = 16,
|
|
262
|
-
UNRECOGNIZED = -1
|
|
263
|
-
}
|
|
264
|
-
declare enum Corner {
|
|
265
|
-
COR_CENTER = 0,
|
|
266
|
-
COR_BOTTOMRIGHT = 1,
|
|
267
|
-
COR_TOPLEFT = 2,
|
|
268
|
-
UNRECOGNIZED = -1
|
|
269
|
-
}
|
|
270
|
-
declare enum Direction {
|
|
271
|
-
DIR_UP = 0,
|
|
272
|
-
DIR_LEFT = 1,
|
|
273
|
-
DIR_DOWN = 2,
|
|
274
|
-
DIR_RIGHT = 3,
|
|
275
|
-
UNRECOGNIZED = -1
|
|
276
|
-
}
|
|
277
|
-
declare enum FindImageMethod {
|
|
278
|
-
FIM_TEMPLATE = 0,
|
|
279
|
-
FIM_FEATURE = 1,
|
|
280
|
-
UNRECOGNIZED = -1
|
|
281
|
-
}
|
|
282
|
-
declare enum FindImageArea {
|
|
283
|
-
FIA_WHOLE_SCREEN = 0,
|
|
284
|
-
FIA_LEFT = 1,
|
|
285
|
-
FIA_TOP_LEFT = 2,
|
|
286
|
-
FIA_TOP = 3,
|
|
287
|
-
FIA_TOP_RIGHT = 4,
|
|
288
|
-
FIA_RIGHT = 5,
|
|
289
|
-
FIA_BOTTOM_RIGHT = 6,
|
|
290
|
-
FIA_BOTTOM = 7,
|
|
291
|
-
FIA_BOTTOM_LEFT = 8,
|
|
292
|
-
UNRECOGNIZED = -1
|
|
293
|
-
}
|
|
294
|
-
interface Point {
|
|
295
|
-
x: number;
|
|
296
|
-
y: number;
|
|
297
|
-
}
|
|
298
|
-
declare const Point: MessageFns$9<Point>;
|
|
299
|
-
interface Bound {
|
|
300
|
-
top: number;
|
|
301
|
-
left: number;
|
|
302
|
-
bottom: number;
|
|
303
|
-
right: number;
|
|
304
|
-
}
|
|
305
|
-
declare const Bound: MessageFns$9<Bound>;
|
|
306
|
-
interface ObjInfo {
|
|
307
|
-
bounds: Bound | undefined;
|
|
308
|
-
checkable: boolean;
|
|
309
|
-
checked: boolean;
|
|
310
|
-
childCount: number;
|
|
311
|
-
className: string;
|
|
312
|
-
clickable: boolean;
|
|
313
|
-
contentDescription: string;
|
|
314
|
-
enabled: boolean;
|
|
315
|
-
focusable: boolean;
|
|
316
|
-
focused: boolean;
|
|
317
|
-
longClickable: boolean;
|
|
318
|
-
packageName: string;
|
|
319
|
-
resourceName: string;
|
|
320
|
-
scrollable: boolean;
|
|
321
|
-
selected: boolean;
|
|
322
|
-
text: string;
|
|
323
|
-
visibleBounds: Bound | undefined;
|
|
324
|
-
}
|
|
325
|
-
declare const ObjInfo: MessageFns$9<ObjInfo>;
|
|
326
|
-
interface ToastInfo {
|
|
327
|
-
timestamp: number;
|
|
328
|
-
package: string;
|
|
329
|
-
message: string;
|
|
330
|
-
}
|
|
331
|
-
declare const ToastInfo: MessageFns$9<ToastInfo>;
|
|
332
|
-
interface ObjInfoList {
|
|
333
|
-
objects: ObjInfo[];
|
|
334
|
-
}
|
|
335
|
-
declare const ObjInfoList: MessageFns$9<ObjInfoList>;
|
|
336
|
-
interface Selector {
|
|
337
|
-
mask: number;
|
|
338
|
-
text: string;
|
|
339
|
-
textContains: string;
|
|
340
|
-
textMatches: string;
|
|
341
|
-
textStartsWith: string;
|
|
342
|
-
className: string;
|
|
343
|
-
classNameMatches: string;
|
|
344
|
-
description: string;
|
|
345
|
-
descriptionContains: string;
|
|
346
|
-
descriptionMatches: string;
|
|
347
|
-
descriptionStartsWith: string;
|
|
348
|
-
checkable: boolean;
|
|
349
|
-
checked: boolean;
|
|
350
|
-
clickable: boolean;
|
|
351
|
-
longClickable: boolean;
|
|
352
|
-
scrollable: boolean;
|
|
353
|
-
enabled: boolean;
|
|
354
|
-
focusable: boolean;
|
|
355
|
-
focused: boolean;
|
|
356
|
-
selected: boolean;
|
|
357
|
-
packageName: string;
|
|
358
|
-
packageNameMatches: string;
|
|
359
|
-
resourceId: string;
|
|
360
|
-
resourceIdMatches: string;
|
|
361
|
-
index: number;
|
|
362
|
-
instance: number;
|
|
363
|
-
childOrSibling: string[];
|
|
364
|
-
childOrSiblingSelector: Selector[];
|
|
365
|
-
fields: string[];
|
|
366
|
-
}
|
|
367
|
-
declare const Selector: MessageFns$9<Selector>;
|
|
368
|
-
interface DeviceInfo {
|
|
369
|
-
productName: string;
|
|
370
|
-
sdkInt: number;
|
|
371
|
-
displayHeight: number;
|
|
372
|
-
displayRotation: number;
|
|
373
|
-
displaySizeDpX: number;
|
|
374
|
-
displaySizeDpY: number;
|
|
375
|
-
displayWidth: number;
|
|
376
|
-
screenLocked: boolean;
|
|
377
|
-
screenOn: boolean;
|
|
378
|
-
naturalOrientation: boolean;
|
|
379
|
-
currentPackageName: string;
|
|
380
|
-
}
|
|
381
|
-
declare const DeviceInfo: MessageFns$9<DeviceInfo>;
|
|
382
|
-
interface SelectorTakeScreenshotRequest {
|
|
383
|
-
selector: Selector | undefined;
|
|
384
|
-
quality: number;
|
|
385
|
-
}
|
|
386
|
-
declare const SelectorTakeScreenshotRequest: MessageFns$9<SelectorTakeScreenshotRequest>;
|
|
387
|
-
interface SelectorSetTextRequest {
|
|
388
|
-
selector: Selector | undefined;
|
|
389
|
-
text: string;
|
|
390
|
-
}
|
|
391
|
-
declare const SelectorSetTextRequest: MessageFns$9<SelectorSetTextRequest>;
|
|
392
|
-
interface SelectorClickRequest {
|
|
393
|
-
selector: Selector | undefined;
|
|
394
|
-
corner: Corner;
|
|
395
|
-
}
|
|
396
|
-
declare const SelectorClickRequest: MessageFns$9<SelectorClickRequest>;
|
|
397
|
-
interface SelectorOnlyRequest {
|
|
398
|
-
selector: Selector | undefined;
|
|
399
|
-
}
|
|
400
|
-
declare const SelectorOnlyRequest: MessageFns$9<SelectorOnlyRequest>;
|
|
401
|
-
interface SelectorDragToRequest {
|
|
402
|
-
selector: Selector | undefined;
|
|
403
|
-
target?: Selector | undefined;
|
|
404
|
-
point?: Point | undefined;
|
|
405
|
-
step: number;
|
|
406
|
-
}
|
|
407
|
-
declare const SelectorDragToRequest: MessageFns$9<SelectorDragToRequest>;
|
|
408
|
-
interface SelectorWaitRequest {
|
|
409
|
-
selector: Selector | undefined;
|
|
410
|
-
timeout: number;
|
|
411
|
-
}
|
|
412
|
-
declare const SelectorWaitRequest: MessageFns$9<SelectorWaitRequest>;
|
|
413
|
-
interface SelectorSwipeRequest {
|
|
414
|
-
selector: Selector | undefined;
|
|
415
|
-
direction: Direction;
|
|
416
|
-
step: number;
|
|
417
|
-
}
|
|
418
|
-
declare const SelectorSwipeRequest: MessageFns$9<SelectorSwipeRequest>;
|
|
419
|
-
interface SelectorFlingRequest {
|
|
420
|
-
selector: Selector | undefined;
|
|
421
|
-
vertical: boolean;
|
|
422
|
-
maxSwipes: number;
|
|
423
|
-
}
|
|
424
|
-
declare const SelectorFlingRequest: MessageFns$9<SelectorFlingRequest>;
|
|
425
|
-
interface SelectorScrollRequest {
|
|
426
|
-
selector: Selector | undefined;
|
|
427
|
-
target: Selector | undefined;
|
|
428
|
-
vertical: boolean;
|
|
429
|
-
maxSwipes: number;
|
|
430
|
-
step: number;
|
|
431
|
-
}
|
|
432
|
-
declare const SelectorScrollRequest: MessageFns$9<SelectorScrollRequest>;
|
|
433
|
-
interface SelectorPinchRequest {
|
|
434
|
-
selector: Selector | undefined;
|
|
435
|
-
percent: number;
|
|
436
|
-
step: number;
|
|
437
|
-
}
|
|
438
|
-
declare const SelectorPinchRequest: MessageFns$9<SelectorPinchRequest>;
|
|
439
|
-
interface ClickPointRequest {
|
|
440
|
-
point: Point | undefined;
|
|
441
|
-
}
|
|
442
|
-
declare const ClickPointRequest: MessageFns$9<ClickPointRequest>;
|
|
443
|
-
interface DragPointRequest {
|
|
444
|
-
A: Point | undefined;
|
|
445
|
-
B: Point | undefined;
|
|
446
|
-
step: number;
|
|
447
|
-
}
|
|
448
|
-
declare const DragPointRequest: MessageFns$9<DragPointRequest>;
|
|
449
|
-
interface SwipePointRequest {
|
|
450
|
-
A: Point | undefined;
|
|
451
|
-
B: Point | undefined;
|
|
452
|
-
step: number;
|
|
453
|
-
}
|
|
454
|
-
declare const SwipePointRequest: MessageFns$9<SwipePointRequest>;
|
|
455
|
-
interface SwipePointsRequest {
|
|
456
|
-
points: Point[];
|
|
457
|
-
step: number;
|
|
458
|
-
}
|
|
459
|
-
declare const SwipePointsRequest: MessageFns$9<SwipePointsRequest>;
|
|
460
|
-
interface OrientationRequest {
|
|
461
|
-
orientation: Orientation;
|
|
462
|
-
}
|
|
463
|
-
declare const OrientationRequest: MessageFns$9<OrientationRequest>;
|
|
464
|
-
interface PressKeyRequest {
|
|
465
|
-
key: Key;
|
|
466
|
-
code: number;
|
|
467
|
-
meta: number;
|
|
468
|
-
}
|
|
469
|
-
declare const PressKeyRequest: MessageFns$9<PressKeyRequest>;
|
|
470
|
-
interface TakeScreenshotRequest {
|
|
471
|
-
bound: Bound | undefined;
|
|
472
|
-
quality: number;
|
|
473
|
-
}
|
|
474
|
-
declare const TakeScreenshotRequest: MessageFns$9<TakeScreenshotRequest>;
|
|
475
|
-
interface ClipboardRequest {
|
|
476
|
-
ID: string;
|
|
477
|
-
value: string;
|
|
478
|
-
}
|
|
479
|
-
declare const ClipboardRequest: MessageFns$9<ClipboardRequest>;
|
|
480
|
-
interface WatcherNameList {
|
|
481
|
-
watchers: string[];
|
|
482
|
-
}
|
|
483
|
-
declare const WatcherNameList: MessageFns$9<WatcherNameList>;
|
|
484
|
-
interface WatcherRegistRequest {
|
|
485
|
-
name: string;
|
|
486
|
-
selectors: Selector[];
|
|
487
|
-
target?: Selector | undefined;
|
|
488
|
-
key?: Key | undefined;
|
|
489
|
-
}
|
|
490
|
-
declare const WatcherRegistRequest: MessageFns$9<WatcherRegistRequest>;
|
|
491
|
-
interface FindImageRequest {
|
|
492
|
-
partial: Uint8Array;
|
|
493
|
-
method: FindImageMethod;
|
|
494
|
-
area?: FindImageArea | undefined;
|
|
495
|
-
bound?: Bound | undefined;
|
|
496
|
-
distance: number;
|
|
497
|
-
threshold: number;
|
|
498
|
-
scale: number;
|
|
499
|
-
}
|
|
500
|
-
declare const FindImageRequest: MessageFns$9<FindImageRequest>;
|
|
501
|
-
interface FindImageResponse {
|
|
502
|
-
bounds: Bound[];
|
|
503
|
-
}
|
|
504
|
-
declare const FindImageResponse: MessageFns$9<FindImageResponse>;
|
|
505
|
-
type Builtin$a = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
506
|
-
type DeepPartial$a<T> = T extends Builtin$a ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$a<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$a<U>> : T extends {} ? {
|
|
507
|
-
[K in keyof T]?: DeepPartial$a<T[K]>;
|
|
508
|
-
} : Partial<T>;
|
|
509
|
-
interface MessageFns$9<T> {
|
|
510
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
511
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
512
|
-
fromJSON(object: any): T;
|
|
513
|
-
toJSON(message: T): unknown;
|
|
514
|
-
create(base?: DeepPartial$a<T>): T;
|
|
515
|
-
fromPartial(object: DeepPartial$a<T>): T;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
interface BatteryInfo {
|
|
519
|
-
battCharging: boolean;
|
|
520
|
-
battPercent: number;
|
|
521
|
-
battTemperature: number;
|
|
522
|
-
}
|
|
523
|
-
declare const BatteryInfo: MessageFns$8<BatteryInfo>;
|
|
524
|
-
interface CpuInfo {
|
|
525
|
-
cpuPercent: number;
|
|
526
|
-
cpuCount: number;
|
|
527
|
-
cpuFreqCurrent: number;
|
|
528
|
-
cpuFreqMax: number;
|
|
529
|
-
cpuFreqMin: number;
|
|
530
|
-
cpuTimesUser: number;
|
|
531
|
-
cpuTimesSystem: number;
|
|
532
|
-
cpuTimesIdle: number;
|
|
533
|
-
}
|
|
534
|
-
declare const CpuInfo: MessageFns$8<CpuInfo>;
|
|
535
|
-
interface DiskUsage {
|
|
536
|
-
diskTotal: number;
|
|
537
|
-
diskUsed: number;
|
|
538
|
-
diskFree: number;
|
|
539
|
-
diskPercent: number;
|
|
540
|
-
}
|
|
541
|
-
declare const DiskUsage: MessageFns$8<DiskUsage>;
|
|
542
|
-
interface DiskIOInfo {
|
|
543
|
-
diskIoReadBytes: number;
|
|
544
|
-
diskIoReadCount: number;
|
|
545
|
-
diskIoWriteBytes: number;
|
|
546
|
-
diskIoWriteCount: number;
|
|
547
|
-
diskIoReadTime: number;
|
|
548
|
-
diskIoWriteTime: number;
|
|
549
|
-
diskIoBusyTime: number;
|
|
550
|
-
}
|
|
551
|
-
declare const DiskIOInfo: MessageFns$8<DiskIOInfo>;
|
|
552
|
-
interface NetIOInfo {
|
|
553
|
-
netIoBytesSent: number;
|
|
554
|
-
netIoPacketsSent: number;
|
|
555
|
-
netIoBytesRecv: number;
|
|
556
|
-
netIoPacketsRecv: number;
|
|
557
|
-
netIoDropin: number;
|
|
558
|
-
netIoDropout: number;
|
|
559
|
-
netIoErrin: number;
|
|
560
|
-
netIoErrout: number;
|
|
561
|
-
}
|
|
562
|
-
declare const NetIOInfo: MessageFns$8<NetIOInfo>;
|
|
563
|
-
interface MemInfo {
|
|
564
|
-
memTotal: number;
|
|
565
|
-
memAvailable: number;
|
|
566
|
-
memPercent: number;
|
|
567
|
-
memUsed: number;
|
|
568
|
-
memFree: number;
|
|
569
|
-
memActive: number;
|
|
570
|
-
memInactive: number;
|
|
571
|
-
memBuffers: number;
|
|
572
|
-
memCached: number;
|
|
573
|
-
memShared: number;
|
|
574
|
-
memSlab: number;
|
|
575
|
-
}
|
|
576
|
-
declare const MemInfo: MessageFns$8<MemInfo>;
|
|
577
|
-
type Builtin$9 = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
578
|
-
type DeepPartial$9<T> = T extends Builtin$9 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$9<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$9<U>> : T extends {} ? {
|
|
579
|
-
[K in keyof T]?: DeepPartial$9<T[K]>;
|
|
580
|
-
} : Partial<T>;
|
|
581
|
-
interface MessageFns$8<T> {
|
|
582
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
583
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
584
|
-
fromJSON(object: any): T;
|
|
585
|
-
toJSON(message: T): unknown;
|
|
586
|
-
create(base?: DeepPartial$9<T>): T;
|
|
587
|
-
fromPartial(object: DeepPartial$9<T>): T;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
interface ShellRequest {
|
|
591
|
-
tid: string;
|
|
592
|
-
name: string;
|
|
593
|
-
script: string;
|
|
594
|
-
timeout: number;
|
|
595
|
-
}
|
|
596
|
-
declare const ShellRequest: MessageFns$7<ShellRequest>;
|
|
597
|
-
interface ShellResult {
|
|
598
|
-
exitstatus: number;
|
|
599
|
-
stdout: Uint8Array;
|
|
600
|
-
stderr: Uint8Array;
|
|
601
|
-
}
|
|
602
|
-
declare const ShellResult: MessageFns$7<ShellResult>;
|
|
603
|
-
interface ShellTask {
|
|
604
|
-
tid: string;
|
|
605
|
-
name: string;
|
|
606
|
-
pid: number;
|
|
607
|
-
}
|
|
608
|
-
declare const ShellTask: MessageFns$7<ShellTask>;
|
|
609
|
-
type Builtin$8 = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
610
|
-
type DeepPartial$8<T> = T extends Builtin$8 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$8<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$8<U>> : T extends {} ? {
|
|
611
|
-
[K in keyof T]?: DeepPartial$8<T[K]>;
|
|
612
|
-
} : Partial<T>;
|
|
613
|
-
interface MessageFns$7<T> {
|
|
614
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
615
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
616
|
-
fromJSON(object: any): T;
|
|
617
|
-
toJSON(message: T): unknown;
|
|
618
|
-
create(base?: DeepPartial$8<T>): T;
|
|
619
|
-
fromPartial(object: DeepPartial$8<T>): T;
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
declare enum Group {
|
|
623
|
-
GROUP_SYSTEM = 0,
|
|
624
|
-
GROUP_SECURE = 1,
|
|
625
|
-
GROUP_GLOBAL = 2,
|
|
626
|
-
UNRECOGNIZED = -1
|
|
627
|
-
}
|
|
628
|
-
interface SettingsRequest {
|
|
629
|
-
group: Group;
|
|
630
|
-
name: string;
|
|
631
|
-
value: string;
|
|
632
|
-
}
|
|
633
|
-
declare const SettingsRequest: MessageFns$6<SettingsRequest>;
|
|
634
|
-
type Builtin$7 = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
635
|
-
type DeepPartial$7<T> = T extends Builtin$7 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$7<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$7<U>> : T extends {} ? {
|
|
636
|
-
[K in keyof T]?: DeepPartial$7<T[K]>;
|
|
637
|
-
} : Partial<T>;
|
|
638
|
-
interface MessageFns$6<T> {
|
|
639
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
640
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
641
|
-
fromJSON(object: any): T;
|
|
642
|
-
toJSON(message: T): unknown;
|
|
643
|
-
create(base?: DeepPartial$7<T>): T;
|
|
644
|
-
fromPartial(object: DeepPartial$7<T>): T;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
interface SelinuxPolicyRequest {
|
|
648
|
-
source: string;
|
|
649
|
-
target: string;
|
|
650
|
-
tclass: string;
|
|
651
|
-
action: string;
|
|
652
|
-
}
|
|
653
|
-
declare const SelinuxPolicyRequest: MessageFns$5<SelinuxPolicyRequest>;
|
|
654
|
-
type Builtin$6 = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
655
|
-
type DeepPartial$6<T> = T extends Builtin$6 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$6<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$6<U>> : T extends {} ? {
|
|
656
|
-
[K in keyof T]?: DeepPartial$6<T[K]>;
|
|
657
|
-
} : Partial<T>;
|
|
658
|
-
interface MessageFns$5<T> {
|
|
659
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
660
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
661
|
-
fromJSON(object: any): T;
|
|
662
|
-
toJSON(message: T): unknown;
|
|
663
|
-
create(base?: DeepPartial$6<T>): T;
|
|
664
|
-
fromPartial(object: DeepPartial$6<T>): T;
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
declare enum GrantType {
|
|
668
|
-
GRANT_ALLOW = 0,
|
|
669
|
-
GRANT_DENY = 1,
|
|
670
|
-
GRANT_IGNORE = 2,
|
|
671
|
-
UNRECOGNIZED = -1
|
|
672
|
-
}
|
|
673
|
-
declare enum DataEncode {
|
|
674
|
-
DATA_ENCODE_NONE = 0,
|
|
675
|
-
DATA_ENCODE_ZLIB = 1,
|
|
676
|
-
UNRECOGNIZED = -1
|
|
677
|
-
}
|
|
678
|
-
declare enum ScriptRuntime {
|
|
679
|
-
RUNTIME_QJS = 0,
|
|
680
|
-
RUNTIME_V8 = 1,
|
|
681
|
-
UNRECOGNIZED = -1
|
|
682
|
-
}
|
|
683
|
-
interface ApplicationRequest {
|
|
684
|
-
name: string;
|
|
685
|
-
permission: string;
|
|
686
|
-
mode: GrantType;
|
|
687
|
-
path: string;
|
|
688
|
-
user: number;
|
|
689
|
-
}
|
|
690
|
-
declare const ApplicationRequest: MessageFns$4<ApplicationRequest>;
|
|
691
|
-
interface ApplicationActivityRequest {
|
|
692
|
-
package: string;
|
|
693
|
-
action: string;
|
|
694
|
-
category: string;
|
|
695
|
-
component: string;
|
|
696
|
-
extras: {
|
|
697
|
-
[key: string]: any;
|
|
698
|
-
} | undefined;
|
|
699
|
-
categories: string[];
|
|
700
|
-
flags: number;
|
|
701
|
-
debug: boolean;
|
|
702
|
-
data: string;
|
|
703
|
-
user: number;
|
|
704
|
-
}
|
|
705
|
-
declare const ApplicationActivityRequest: MessageFns$4<ApplicationActivityRequest>;
|
|
706
|
-
interface ApplicationActivityInfo {
|
|
707
|
-
package: string;
|
|
708
|
-
action: string;
|
|
709
|
-
category: string;
|
|
710
|
-
component: string;
|
|
711
|
-
extras: {
|
|
712
|
-
[key: string]: any;
|
|
713
|
-
} | undefined;
|
|
714
|
-
categories: string[];
|
|
715
|
-
flags: number;
|
|
716
|
-
debug: boolean;
|
|
717
|
-
data: string;
|
|
718
|
-
user: number;
|
|
719
|
-
}
|
|
720
|
-
declare const ApplicationActivityInfo: MessageFns$4<ApplicationActivityInfo>;
|
|
721
|
-
interface ApplicationActivityInfoList {
|
|
722
|
-
activities: ApplicationActivityInfo[];
|
|
723
|
-
}
|
|
724
|
-
declare const ApplicationActivityInfoList: MessageFns$4<ApplicationActivityInfoList>;
|
|
725
|
-
interface ApplicationPermissions {
|
|
726
|
-
permissions: string[];
|
|
727
|
-
}
|
|
728
|
-
declare const ApplicationPermissions: MessageFns$4<ApplicationPermissions>;
|
|
729
|
-
interface ApplicationInfo {
|
|
730
|
-
packageName: string;
|
|
731
|
-
uid: number;
|
|
732
|
-
enabled: boolean;
|
|
733
|
-
processName: string;
|
|
734
|
-
sourceDir: string;
|
|
735
|
-
dataDir: string;
|
|
736
|
-
baseRevisionCode: number;
|
|
737
|
-
firstInstallTime: number;
|
|
738
|
-
lastUpdateTime: number;
|
|
739
|
-
versionCode: number;
|
|
740
|
-
versionName: string;
|
|
741
|
-
activity: string;
|
|
742
|
-
user: number;
|
|
743
|
-
}
|
|
744
|
-
declare const ApplicationInfo: MessageFns$4<ApplicationInfo>;
|
|
745
|
-
interface ApplicationProcess {
|
|
746
|
-
packages: string[];
|
|
747
|
-
processName: string;
|
|
748
|
-
uid: number;
|
|
749
|
-
pid: number;
|
|
750
|
-
}
|
|
751
|
-
declare const ApplicationProcess: MessageFns$4<ApplicationProcess>;
|
|
752
|
-
interface ApplicationProcesses {
|
|
753
|
-
processes: ApplicationProcess[];
|
|
754
|
-
}
|
|
755
|
-
declare const ApplicationProcesses: MessageFns$4<ApplicationProcesses>;
|
|
756
|
-
interface ApplicationPkgNames {
|
|
757
|
-
names: string[];
|
|
758
|
-
}
|
|
759
|
-
declare const ApplicationPkgNames: MessageFns$4<ApplicationPkgNames>;
|
|
760
|
-
interface HookRequest {
|
|
761
|
-
package: string;
|
|
762
|
-
script: Uint8Array;
|
|
763
|
-
runtime: ScriptRuntime;
|
|
764
|
-
destination: string;
|
|
765
|
-
encode: DataEncode;
|
|
766
|
-
standup: number;
|
|
767
|
-
spawn: boolean;
|
|
768
|
-
user: number;
|
|
769
|
-
}
|
|
770
|
-
declare const HookRequest: MessageFns$4<HookRequest>;
|
|
771
|
-
interface HookRpcRequest {
|
|
772
|
-
package: string;
|
|
773
|
-
callinfo: string;
|
|
774
|
-
user: number;
|
|
775
|
-
}
|
|
776
|
-
declare const HookRpcRequest: MessageFns$4<HookRpcRequest>;
|
|
777
|
-
interface HookRpcResponse {
|
|
778
|
-
package: string;
|
|
779
|
-
callresult: string;
|
|
780
|
-
}
|
|
781
|
-
declare const HookRpcResponse: MessageFns$4<HookRpcResponse>;
|
|
782
|
-
type Builtin$5 = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
783
|
-
type DeepPartial$5<T> = T extends Builtin$5 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$5<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$5<U>> : T extends {} ? {
|
|
784
|
-
[K in keyof T]?: DeepPartial$5<T[K]>;
|
|
785
|
-
} : Partial<T>;
|
|
786
|
-
interface MessageFns$4<T> {
|
|
787
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
788
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
789
|
-
fromJSON(object: any): T;
|
|
790
|
-
toJSON(message: T): unknown;
|
|
791
|
-
create(base?: DeepPartial$5<T>): T;
|
|
792
|
-
fromPartial(object: DeepPartial$5<T>): T;
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
declare enum GproxyType {
|
|
796
|
-
SOCKS5 = 0,
|
|
797
|
-
HTTP_CONNECT = 1,
|
|
798
|
-
HTTP_RELAY = 2,
|
|
799
|
-
UNRECOGNIZED = -1
|
|
800
|
-
}
|
|
801
|
-
declare enum OpenVPNProto {
|
|
802
|
-
TCP = 0,
|
|
803
|
-
UDP = 1,
|
|
804
|
-
UNRECOGNIZED = -1
|
|
805
|
-
}
|
|
806
|
-
declare enum OpenVPNAuth {
|
|
807
|
-
SHA1 = 0,
|
|
808
|
-
SHA224 = 1,
|
|
809
|
-
SHA256 = 2,
|
|
810
|
-
SHA384 = 3,
|
|
811
|
-
SHA512 = 4,
|
|
812
|
-
RIPEMD160 = 5,
|
|
813
|
-
RSA_SHA1 = 6,
|
|
814
|
-
RSA_SHA224 = 7,
|
|
815
|
-
RSA_SHA256 = 8,
|
|
816
|
-
RSA_SHA384 = 9,
|
|
817
|
-
RSA_SHA512 = 10,
|
|
818
|
-
RSA_RIPEMD160 = 11,
|
|
819
|
-
UNRECOGNIZED = -1
|
|
820
|
-
}
|
|
821
|
-
declare enum OpenVPNCipher {
|
|
822
|
-
AES_128_GCM = 0,
|
|
823
|
-
AES_256_GCM = 1,
|
|
824
|
-
CHACHA20_POLY1305 = 2,
|
|
825
|
-
AES_128_CBC = 3,
|
|
826
|
-
AES_256_CBC = 4,
|
|
827
|
-
UNRECOGNIZED = -1
|
|
828
|
-
}
|
|
829
|
-
declare enum OpenVPNKeyDirection {
|
|
830
|
-
KEY_DIRECTION_NONE = 0,
|
|
831
|
-
KEY_DIRECTION_0 = 1,
|
|
832
|
-
KEY_DIRECTION_1 = 2,
|
|
833
|
-
UNRECOGNIZED = -1
|
|
834
|
-
}
|
|
835
|
-
declare enum OpenVPNEncryption {
|
|
836
|
-
TLS_NONE = 0,
|
|
837
|
-
TLS_AUTH = 1,
|
|
838
|
-
TLS_CRYPT = 2,
|
|
839
|
-
TLS_CRYPT_V2 = 3,
|
|
840
|
-
UNRECOGNIZED = -1
|
|
841
|
-
}
|
|
842
|
-
interface GproxyConfigRequest {
|
|
843
|
-
application: ApplicationInfo | undefined;
|
|
844
|
-
type: GproxyType;
|
|
845
|
-
nameserver: string;
|
|
846
|
-
login: string;
|
|
847
|
-
password: string;
|
|
848
|
-
host: string;
|
|
849
|
-
port: number;
|
|
850
|
-
bypassLocalSubnet: boolean;
|
|
851
|
-
dropUdp: boolean;
|
|
852
|
-
udpProxy: boolean;
|
|
853
|
-
dnsProxy: boolean;
|
|
854
|
-
}
|
|
855
|
-
declare const GproxyConfigRequest: MessageFns$3<GproxyConfigRequest>;
|
|
856
|
-
interface OpenVPNConfigRequest {
|
|
857
|
-
allTraffic: boolean;
|
|
858
|
-
proto: OpenVPNProto;
|
|
859
|
-
host: string;
|
|
860
|
-
port: number;
|
|
861
|
-
cipher: OpenVPNCipher;
|
|
862
|
-
ca: string;
|
|
863
|
-
cert: string;
|
|
864
|
-
key: string;
|
|
865
|
-
tlsEncryption: OpenVPNEncryption;
|
|
866
|
-
tlsKeyDirection: OpenVPNKeyDirection;
|
|
867
|
-
tlsKey: string;
|
|
868
|
-
auth: OpenVPNAuth;
|
|
869
|
-
login: string;
|
|
870
|
-
password: string;
|
|
871
|
-
}
|
|
872
|
-
declare const OpenVPNConfigRequest: MessageFns$3<OpenVPNConfigRequest>;
|
|
873
|
-
type Builtin$4 = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
874
|
-
type DeepPartial$4<T> = T extends Builtin$4 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$4<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$4<U>> : T extends {} ? {
|
|
875
|
-
[K in keyof T]?: DeepPartial$4<T[K]>;
|
|
876
|
-
} : Partial<T>;
|
|
877
|
-
interface MessageFns$3<T> {
|
|
878
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
879
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
880
|
-
fromJSON(object: any): T;
|
|
881
|
-
toJSON(message: T): unknown;
|
|
882
|
-
create(base?: DeepPartial$4<T>): T;
|
|
883
|
-
fromPartial(object: DeepPartial$4<T>): T;
|
|
884
|
-
}
|
|
885
|
-
|
|
886
|
-
interface ADBDConfigRequest {
|
|
887
|
-
adbPubkey: string;
|
|
888
|
-
}
|
|
889
|
-
declare const ADBDConfigRequest: MessageFns$2<ADBDConfigRequest>;
|
|
890
|
-
type Builtin$3 = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
891
|
-
type DeepPartial$3<T> = T extends Builtin$3 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$3<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$3<U>> : T extends {} ? {
|
|
892
|
-
[K in keyof T]?: DeepPartial$3<T[K]>;
|
|
893
|
-
} : Partial<T>;
|
|
894
|
-
interface MessageFns$2<T> {
|
|
895
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
896
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
897
|
-
fromJSON(object: any): T;
|
|
898
|
-
toJSON(message: T): unknown;
|
|
899
|
-
create(base?: DeepPartial$3<T>): T;
|
|
900
|
-
fromPartial(object: DeepPartial$3<T>): T;
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
interface Empty {
|
|
904
|
-
}
|
|
905
|
-
declare const Empty: MessageFns$1<Empty>;
|
|
906
|
-
type Builtin$2 = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
907
|
-
type DeepPartial$2<T> = T extends Builtin$2 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$2<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$2<U>> : T extends {} ? {
|
|
908
|
-
[K in keyof T]?: DeepPartial$2<T[K]>;
|
|
909
|
-
} : Partial<T>;
|
|
910
|
-
interface MessageFns$1<T> {
|
|
911
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
912
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
913
|
-
fromJSON(object: any): T;
|
|
914
|
-
toJSON(message: T): unknown;
|
|
915
|
-
create(base?: DeepPartial$2<T>): T;
|
|
916
|
-
fromPartial(object: DeepPartial$2<T>): T;
|
|
917
|
-
}
|
|
918
|
-
|
|
919
|
-
interface Boolean {
|
|
920
|
-
value: boolean;
|
|
921
|
-
}
|
|
922
|
-
declare const Boolean: MessageFns<Boolean>;
|
|
923
|
-
interface Integer {
|
|
924
|
-
value: number;
|
|
925
|
-
}
|
|
926
|
-
declare const Integer: MessageFns<Integer>;
|
|
927
|
-
interface String {
|
|
928
|
-
value: string;
|
|
929
|
-
}
|
|
930
|
-
declare const String: MessageFns<String>;
|
|
931
|
-
interface Bytes {
|
|
932
|
-
value: Uint8Array;
|
|
933
|
-
}
|
|
934
|
-
declare const Bytes: MessageFns<Bytes>;
|
|
935
|
-
type Builtin$1 = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
936
|
-
type DeepPartial$1<T> = T extends Builtin$1 ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial$1<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial$1<U>> : T extends {} ? {
|
|
937
|
-
[K in keyof T]?: DeepPartial$1<T[K]>;
|
|
938
|
-
} : Partial<T>;
|
|
939
|
-
interface MessageFns<T> {
|
|
940
|
-
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
941
|
-
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
942
|
-
fromJSON(object: any): T;
|
|
943
|
-
toJSON(message: T): unknown;
|
|
944
|
-
create(base?: DeepPartial$1<T>): T;
|
|
945
|
-
fromPartial(object: DeepPartial$1<T>): T;
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
interface ApplicationClient<CallOptionsExt = {}> {
|
|
949
|
-
isForeground(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
950
|
-
currentApplication(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<ApplicationInfo>;
|
|
951
|
-
enumerateAllPkgNames(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<ApplicationPkgNames>;
|
|
952
|
-
enumerateRunningProcesses(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<ApplicationProcesses>;
|
|
953
|
-
queryLaunchActivity(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<ApplicationActivityInfo>;
|
|
954
|
-
getPermissions(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<ApplicationPermissions>;
|
|
955
|
-
resetApplicationData(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
956
|
-
deleteApplicationCache(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
957
|
-
getLastActivities(request: DeepPartial<Integer>, options?: CallOptions & CallOptionsExt): Promise<ApplicationActivityInfoList>;
|
|
958
|
-
startActivity(request: DeepPartial<ApplicationActivityRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
959
|
-
applicationInfo(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<ApplicationInfo>;
|
|
960
|
-
startApplication(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
961
|
-
stopApplication(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
962
|
-
uninstallApplication(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
963
|
-
installFromLocalFile(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<ApplicationInfo>;
|
|
964
|
-
enableApplication(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
965
|
-
disableApplication(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
966
|
-
grantPermission(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
967
|
-
revokePermission(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
968
|
-
isPermissionGranted(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
969
|
-
isInstalled(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
970
|
-
addToDozeModeWhiteList(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
971
|
-
removeFromDozeModeWhiteList(request: DeepPartial<ApplicationRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
972
|
-
getIdentifierByLabel(request: DeepPartial<String>, options?: CallOptions & CallOptionsExt): Promise<String>;
|
|
973
|
-
callScript(request: DeepPartial<HookRpcRequest>, options?: CallOptions & CallOptionsExt): Promise<HookRpcResponse>;
|
|
974
|
-
isScriptAlive(request: DeepPartial<HookRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
975
|
-
isScriptAttached(request: DeepPartial<HookRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
976
|
-
attachScript(request: DeepPartial<HookRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
977
|
-
detachScript(request: DeepPartial<HookRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
978
|
-
}
|
|
979
|
-
interface DebugClient<CallOptionsExt = {}> {
|
|
980
|
-
isAndroidDebugBridgeRunning(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
981
|
-
installADBPubKey(request: DeepPartial<ADBDConfigRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
982
|
-
uninstallADBPubKey(request: DeepPartial<ADBDConfigRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
983
|
-
startAndroidDebugBridge(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
984
|
-
stopAndroidDebugBridge(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
985
|
-
}
|
|
986
|
-
interface ProxyClient<CallOptionsExt = {}> {
|
|
987
|
-
isOpenVPNRunning(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
988
|
-
isGproxyRunning(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
989
|
-
stopOpenVPN(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
990
|
-
stopGproxy(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
991
|
-
startOpenVPN(request: DeepPartial<OpenVPNConfigRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
992
|
-
startGproxy(request: DeepPartial<GproxyConfigRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
993
|
-
}
|
|
994
|
-
interface SelinuxPolicyClient<CallOptionsExt = {}> {
|
|
995
|
-
setEnforce(request: DeepPartial<Boolean>, options?: CallOptions & CallOptionsExt): Promise<Integer>;
|
|
996
|
-
getEnforce(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Integer>;
|
|
997
|
-
isEnabled(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
998
|
-
policySetEnforce(request: DeepPartial<String>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
999
|
-
policySetPermissive(request: DeepPartial<String>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1000
|
-
policySetAllow(request: DeepPartial<SelinuxPolicyRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1001
|
-
policySetDisallow(request: DeepPartial<SelinuxPolicyRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1002
|
-
policyCreateDomain(request: DeepPartial<String>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1003
|
-
}
|
|
1004
|
-
interface SettingsClient<CallOptionsExt = {}> {
|
|
1005
|
-
putSettings(request: DeepPartial<SettingsRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1006
|
-
getSettings(request: DeepPartial<SettingsRequest>, options?: CallOptions & CallOptionsExt): Promise<String>;
|
|
1007
|
-
}
|
|
1008
|
-
interface ShellClient<CallOptionsExt = {}> {
|
|
1009
|
-
executeForeground(request: DeepPartial<ShellRequest>, options?: CallOptions & CallOptionsExt): Promise<ShellResult>;
|
|
1010
|
-
executeBackground(request: DeepPartial<ShellRequest>, options?: CallOptions & CallOptionsExt): Promise<ShellTask>;
|
|
1011
|
-
isBackgroundFinished(request: DeepPartial<ShellTask>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1012
|
-
killBackground(request: DeepPartial<ShellTask>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1013
|
-
}
|
|
1014
|
-
interface StatusClient<CallOptionsExt = {}> {
|
|
1015
|
-
getBootTime(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Integer>;
|
|
1016
|
-
getDiskUsage(request: DeepPartial<String>, options?: CallOptions & CallOptionsExt): Promise<DiskUsage>;
|
|
1017
|
-
getBatteryInfo(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<BatteryInfo>;
|
|
1018
|
-
getCpuInfo(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<CpuInfo>;
|
|
1019
|
-
getOverallDiskIOInfo(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<DiskIOInfo>;
|
|
1020
|
-
getOverallNetIOInfo(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<NetIOInfo>;
|
|
1021
|
-
getMemInfo(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<MemInfo>;
|
|
1022
|
-
getUserDataDiskIOInfo(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<DiskIOInfo>;
|
|
1023
|
-
getNetIOInfo(request: DeepPartial<String>, options?: CallOptions & CallOptionsExt): Promise<NetIOInfo>;
|
|
1024
|
-
}
|
|
1025
|
-
interface UiAutomatorClient<CallOptionsExt = {}> {
|
|
1026
|
-
click(request: DeepPartial<ClickPointRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1027
|
-
drag(request: DeepPartial<DragPointRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1028
|
-
swipe(request: DeepPartial<SwipePointRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1029
|
-
swipePoints(request: DeepPartial<SwipePointsRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1030
|
-
openNotification(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1031
|
-
openQuickSettings(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1032
|
-
wakeUp(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1033
|
-
sleep(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1034
|
-
isScreenOn(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1035
|
-
isScreenLocked(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1036
|
-
setClipboard(request: DeepPartial<ClipboardRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1037
|
-
getClipboard(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<String>;
|
|
1038
|
-
freezeRotation(request: DeepPartial<Boolean>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1039
|
-
setOrientation(request: DeepPartial<OrientationRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1040
|
-
pressKey(request: DeepPartial<PressKeyRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1041
|
-
pressKeyCode(request: DeepPartial<PressKeyRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1042
|
-
deviceInfo(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<DeviceInfo>;
|
|
1043
|
-
takeScreenshot(request: DeepPartial<TakeScreenshotRequest>, options?: CallOptions & CallOptionsExt): Promise<Bytes>;
|
|
1044
|
-
dumpWindowHierarchy(request: DeepPartial<Boolean>, options?: CallOptions & CallOptionsExt): Promise<Bytes>;
|
|
1045
|
-
waitForIdle(request: DeepPartial<Integer>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1046
|
-
selectorTakeScreenshot(request: DeepPartial<SelectorTakeScreenshotRequest>, options?: CallOptions & CallOptionsExt): Promise<Bytes>;
|
|
1047
|
-
selectorGetText(request: DeepPartial<SelectorOnlyRequest>, options?: CallOptions & CallOptionsExt): Promise<String>;
|
|
1048
|
-
selectorClearTextField(request: DeepPartial<SelectorOnlyRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1049
|
-
selectorSetText(request: DeepPartial<SelectorSetTextRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1050
|
-
selectorClick(request: DeepPartial<SelectorClickRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1051
|
-
selectorClickExists(request: DeepPartial<SelectorClickRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1052
|
-
selectorLongClick(request: DeepPartial<SelectorClickRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1053
|
-
selectorExists(request: DeepPartial<SelectorOnlyRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1054
|
-
getLastToast(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<ToastInfo>;
|
|
1055
|
-
selectorObjInfo(request: DeepPartial<SelectorOnlyRequest>, options?: CallOptions & CallOptionsExt): Promise<ObjInfo>;
|
|
1056
|
-
selectorObjInfoOfAllInstances(request: DeepPartial<SelectorOnlyRequest>, options?: CallOptions & CallOptionsExt): Promise<ObjInfoList>;
|
|
1057
|
-
selectorCount(request: DeepPartial<SelectorOnlyRequest>, options?: CallOptions & CallOptionsExt): Promise<Integer>;
|
|
1058
|
-
selectorDragTo(request: DeepPartial<SelectorDragToRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1059
|
-
selectorWaitForExists(request: DeepPartial<SelectorWaitRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1060
|
-
selectorWaitUntilGone(request: DeepPartial<SelectorWaitRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1061
|
-
selectorSwipe(request: DeepPartial<SelectorSwipeRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1062
|
-
selectorFlingToBeginning(request: DeepPartial<SelectorFlingRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1063
|
-
selectorFlingToEnd(request: DeepPartial<SelectorFlingRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1064
|
-
selectorFlingBackward(request: DeepPartial<SelectorFlingRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1065
|
-
selectorFlingForward(request: DeepPartial<SelectorFlingRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1066
|
-
selectorScrollToBeginning(request: DeepPartial<SelectorScrollRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1067
|
-
selectorScrollToEnd(request: DeepPartial<SelectorScrollRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1068
|
-
selectorScrollBackward(request: DeepPartial<SelectorScrollRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1069
|
-
selectorScrollForward(request: DeepPartial<SelectorScrollRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1070
|
-
selectorScrollTo(request: DeepPartial<SelectorScrollRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1071
|
-
selectorPinchOut(request: DeepPartial<SelectorPinchRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1072
|
-
selectorPinchIn(request: DeepPartial<SelectorPinchRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1073
|
-
setWatcherLoopEnabled(request: DeepPartial<Boolean>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1074
|
-
getWatcherLoopEnabled(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1075
|
-
getWatcherTriggeredCount(request: DeepPartial<String>, options?: CallOptions & CallOptionsExt): Promise<Integer>;
|
|
1076
|
-
resetWatcherTriggeredCount(request: DeepPartial<String>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1077
|
-
removeWatcher(request: DeepPartial<String>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1078
|
-
getAppliedWatchers(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<WatcherNameList>;
|
|
1079
|
-
registerClickUiObjectWatcher(request: DeepPartial<WatcherRegistRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1080
|
-
registerPressKeysWatcher(request: DeepPartial<WatcherRegistRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1081
|
-
registerNoneOpWatcher(request: DeepPartial<WatcherRegistRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1082
|
-
findSimilarImage(request: DeepPartial<FindImageRequest>, options?: CallOptions & CallOptionsExt): Promise<FindImageResponse>;
|
|
1083
|
-
}
|
|
1084
|
-
interface WifiClient<CallOptionsExt = {}> {
|
|
1085
|
-
status(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<WifiStatus>;
|
|
1086
|
-
blacklistAdd(request: DeepPartial<String>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1087
|
-
blacklistClear(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1088
|
-
blacklistAll(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<WifiBlacklist>;
|
|
1089
|
-
scan(request: DeepPartial<Boolean>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1090
|
-
scanResults(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<ScanResult>;
|
|
1091
|
-
listNetworks(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<NetworkList>;
|
|
1092
|
-
selectNetwork(request: DeepPartial<Network>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1093
|
-
enableNetwork(request: DeepPartial<Network>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1094
|
-
disableNetwork(request: DeepPartial<Network>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1095
|
-
addNetwork(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Network>;
|
|
1096
|
-
removeNetwork(request: DeepPartial<Network>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1097
|
-
setNetworkConfig(request: DeepPartial<NetworkConfig>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1098
|
-
getNetworkConfig(request: DeepPartial<NetworkConfig>, options?: CallOptions & CallOptionsExt): Promise<NetworkConfig>;
|
|
1099
|
-
disconnect(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1100
|
-
reconnect(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1101
|
-
setConfig(request: DeepPartial<WifiConfig>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1102
|
-
setAutoConnect(request: DeepPartial<Boolean>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1103
|
-
saveConfig(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1104
|
-
getMacAddr(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<String>;
|
|
1105
|
-
signalPoll(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<SignalPoll>;
|
|
1106
|
-
}
|
|
1107
|
-
interface UtilClient<CallOptionsExt = {}> {
|
|
1108
|
-
recordTouch(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<TouchSequence>;
|
|
1109
|
-
performTouch(request: DeepPartial<PerformTouchRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1110
|
-
serverInfo(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<ServerInfoResponse>;
|
|
1111
|
-
reboot(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1112
|
-
beepBeep(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1113
|
-
isCACertificateInstalled(request: DeepPartial<CertifiRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1114
|
-
installCACertificate(request: DeepPartial<CertifiRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1115
|
-
uninstallCACertificate(request: DeepPartial<CertifiRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1116
|
-
shutdown(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1117
|
-
showToast(request: DeepPartial<ShowToastRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1118
|
-
reload(request: DeepPartial<Boolean>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1119
|
-
exit(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1120
|
-
setProp(request: DeepPartial<SetPropRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1121
|
-
getProp(request: DeepPartial<String>, options?: CallOptions & CallOptionsExt): Promise<String>;
|
|
1122
|
-
hexPatch(request: DeepPartial<HexPatchRequest>, options?: CallOptions & CallOptionsExt): Promise<HexPatchResponse>;
|
|
1123
|
-
}
|
|
1124
|
-
interface FileClient<CallOptionsExt = {}> {
|
|
1125
|
-
uploadFile(request: AsyncIterable<DeepPartial<FileRequest>>, options?: CallOptions & CallOptionsExt): Promise<FileStat>;
|
|
1126
|
-
downloadFile(request: DeepPartial<FileRequest>, options?: CallOptions & CallOptionsExt): AsyncIterable<FileDataResponse>;
|
|
1127
|
-
deleteFile(request: DeepPartial<FileRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1128
|
-
fileChmod(request: DeepPartial<FileRequest>, options?: CallOptions & CallOptionsExt): Promise<FileStat>;
|
|
1129
|
-
fileStat(request: DeepPartial<FileRequest>, options?: CallOptions & CallOptionsExt): Promise<FileStat>;
|
|
1130
|
-
}
|
|
1131
|
-
interface LockClient<CallOptionsExt = {}> {
|
|
1132
|
-
releaseLock(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1133
|
-
getSessionToken(request: DeepPartial<Empty>, options?: CallOptions & CallOptionsExt): Promise<String>;
|
|
1134
|
-
acquireLock(request: DeepPartial<Integer>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1135
|
-
refreshLock(request: DeepPartial<Integer>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1136
|
-
}
|
|
1137
|
-
interface StorageClient<CallOptionsExt = {}> {
|
|
1138
|
-
clearAll(request: DeepPartial<StorageRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1139
|
-
clearContainer(request: DeepPartial<StorageRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1140
|
-
exists(request: DeepPartial<StorageRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1141
|
-
delete(request: DeepPartial<StorageRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1142
|
-
expire(request: DeepPartial<StorageRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1143
|
-
ttl(request: DeepPartial<StorageRequest>, options?: CallOptions & CallOptionsExt): Promise<Integer>;
|
|
1144
|
-
set(request: DeepPartial<StorageRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1145
|
-
setnx(request: DeepPartial<StorageRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1146
|
-
setex(request: DeepPartial<StorageRequest>, options?: CallOptions & CallOptionsExt): Promise<Boolean>;
|
|
1147
|
-
get(request: DeepPartial<StorageRequest>, options?: CallOptions & CallOptionsExt): Promise<Bytes>;
|
|
1148
|
-
}
|
|
1149
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
1150
|
-
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
1151
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
1152
|
-
} : Partial<T>;
|
|
1
|
+
import { UtilClient, UiAutomatorClient, ApplicationClient, DebugClient, FileClient, LockClient, ProxyClient, SelinuxPolicyClient, ShellClient, StatusClient, StorageClient, WifiClient, SettingsClient } from './rpc/services.js';
|
|
2
|
+
import './rpc/storage.js';
|
|
3
|
+
import '@bufbuild/protobuf/wire';
|
|
4
|
+
import './rpc/file.js';
|
|
5
|
+
import './rpc/util.js';
|
|
6
|
+
import './rpc/wifi.js';
|
|
7
|
+
import './rpc/uiautomator.js';
|
|
8
|
+
import './rpc/status.js';
|
|
9
|
+
import './rpc/shell.js';
|
|
10
|
+
import './rpc/settings.js';
|
|
11
|
+
import './rpc/policy.js';
|
|
12
|
+
import './rpc/proxy.js';
|
|
13
|
+
import './rpc/application.js';
|
|
14
|
+
import './rpc/debug.js';
|
|
15
|
+
import './rpc/google/protobuf/empty.js';
|
|
16
|
+
import './rpc/types.js';
|
|
17
|
+
import 'nice-grpc-common';
|
|
1153
18
|
|
|
1154
19
|
declare class Device {
|
|
1155
20
|
readonly Util: UtilClient;
|