appium-adb 12.10.0 → 12.10.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.
Files changed (47) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/build/lib/adb.d.ts +220 -217
  3. package/build/lib/adb.d.ts.map +1 -1
  4. package/build/lib/adb.js +219 -216
  5. package/build/lib/adb.js.map +1 -1
  6. package/build/lib/helpers.d.ts +13 -2
  7. package/build/lib/helpers.d.ts.map +1 -1
  8. package/build/lib/helpers.js +72 -50
  9. package/build/lib/helpers.js.map +1 -1
  10. package/build/lib/tools/adb-commands.d.ts +0 -638
  11. package/build/lib/tools/adb-commands.d.ts.map +1 -1
  12. package/build/lib/tools/adb-commands.js +39 -1413
  13. package/build/lib/tools/adb-commands.js.map +1 -1
  14. package/build/lib/tools/apk-utils.d.ts +0 -141
  15. package/build/lib/tools/apk-utils.d.ts.map +1 -1
  16. package/build/lib/tools/apk-utils.js +1 -547
  17. package/build/lib/tools/apk-utils.js.map +1 -1
  18. package/build/lib/tools/app-commands.d.ts +322 -0
  19. package/build/lib/tools/app-commands.d.ts.map +1 -0
  20. package/build/lib/tools/app-commands.js +1027 -0
  21. package/build/lib/tools/app-commands.js.map +1 -0
  22. package/build/lib/tools/device-settings.d.ts +350 -0
  23. package/build/lib/tools/device-settings.d.ts.map +1 -0
  24. package/build/lib/tools/device-settings.js +709 -0
  25. package/build/lib/tools/device-settings.js.map +1 -0
  26. package/build/lib/tools/fs-commands.d.ts +69 -0
  27. package/build/lib/tools/fs-commands.d.ts.map +1 -0
  28. package/build/lib/tools/fs-commands.js +133 -0
  29. package/build/lib/tools/fs-commands.js.map +1 -0
  30. package/build/lib/tools/keyboard-commands.d.ts +69 -0
  31. package/build/lib/tools/keyboard-commands.d.ts.map +1 -1
  32. package/build/lib/tools/keyboard-commands.js +155 -0
  33. package/build/lib/tools/keyboard-commands.js.map +1 -1
  34. package/build/lib/tools/system-calls.d.ts +0 -28
  35. package/build/lib/tools/system-calls.d.ts.map +1 -1
  36. package/build/lib/tools/system-calls.js +0 -71
  37. package/build/lib/tools/system-calls.js.map +1 -1
  38. package/lib/adb.ts +228 -222
  39. package/lib/helpers.js +77 -53
  40. package/lib/tools/adb-commands.js +18 -1388
  41. package/lib/tools/apk-utils.js +2 -571
  42. package/lib/tools/app-commands.js +1035 -0
  43. package/lib/tools/device-settings.js +720 -0
  44. package/lib/tools/fs-commands.js +124 -0
  45. package/lib/tools/keyboard-commands.js +154 -0
  46. package/lib/tools/system-calls.js +0 -68
  47. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## [12.10.2](https://github.com/appium/appium-adb/compare/v12.10.1...v12.10.2) (2025-01-09)
2
+
3
+ ### Miscellaneous Chores
4
+
5
+ * Regroup application and filesystem commands ([#788](https://github.com/appium/appium-adb/issues/788)) ([9908400](https://github.com/appium/appium-adb/commit/990840031f729bf5b51d3a16a517762dd84c4d06))
6
+
7
+ ## [12.10.1](https://github.com/appium/appium-adb/compare/v12.10.0...v12.10.1) (2025-01-09)
8
+
9
+ ### Bug Fixes
10
+
11
+ * Do not prefix activity with package name if it already exists ([#787](https://github.com/appium/appium-adb/issues/787)) ([6395d58](https://github.com/appium/appium-adb/commit/6395d58c90723d84a023aa9bdc997009c91d4806))
12
+
13
+ ### Miscellaneous Chores
14
+
15
+ * Regroup some adb commands ([#786](https://github.com/appium/appium-adb/issues/786)) ([4b95444](https://github.com/appium/appium-adb/commit/4b95444b963c414bf5a09aa805c779e3bc7e11e9))
16
+
1
17
  ## [12.10.0](https://github.com/appium/appium-adb/compare/v12.9.0...v12.10.0) (2025-01-08)
2
18
 
3
19
  ### Features
@@ -3,16 +3,19 @@ import type { ADBOptions, ADBExecutable } from './types';
3
3
  import type { Logcat } from './logcat';
4
4
  import type { LogcatOpts, StringRecord } from './tools/types';
5
5
  import type { LRUCache } from 'lru-cache';
6
- import * as generalMethods from './tools/adb-commands';
7
- import * as manifestMethods from './tools/android-manifest';
8
- import * as systemCallMethods from './tools/system-calls';
9
- import * as apkSigningMethods from './tools/apk-signing';
10
- import * as apkUtilsMethods from './tools/apk-utils';
11
- import * as apksUtilsMethods from './tools/apks-utils';
12
- import * as aabUtilsMethods from './tools/aab-utils';
13
- import * as emuMethods from './tools/adb-emu-commands';
6
+ import * as generalCommands from './tools/adb-commands';
7
+ import * as manifestCommands from './tools/android-manifest';
8
+ import * as systemCommands from './tools/system-calls';
9
+ import * as signingCommands from './tools/apk-signing';
10
+ import * as apkUtilCommands from './tools/apk-utils';
11
+ import * as apksUtilCommands from './tools/apks-utils';
12
+ import * as aabUtilCommands from './tools/aab-utils';
13
+ import * as emuCommands from './tools/adb-emu-commands';
14
14
  import * as lockManagementCommands from './tools/lockmgmt';
15
15
  import * as keyboardCommands from './tools/keyboard-commands';
16
+ import * as deviceSettingsCommands from './tools/device-settings';
17
+ import * as fsCommands from './tools/fs-commands';
18
+ import * as appCommands from './tools/app-commands';
16
19
  export declare const DEFAULT_ADB_PORT = 5037;
17
20
  export declare const DEFAULT_OPTS: {
18
21
  readonly sdkRoot: string | undefined;
@@ -73,144 +76,100 @@ export declare class ADB implements ADBOptions {
73
76
  */
74
77
  clone(opts?: ADBOptions): ADB;
75
78
  static createADB(opts?: ADBOptions): Promise<ADB>;
76
- shellChunks: typeof generalMethods.shellChunks;
77
- getAdbWithCorrectAdbPath: typeof generalMethods.getAdbWithCorrectAdbPath;
78
- initAapt: typeof generalMethods.initAapt;
79
- initAapt2: typeof generalMethods.initAapt2;
80
- initZipAlign: typeof generalMethods.initZipAlign;
81
- initBundletool: typeof generalMethods.initBundletool;
82
- getApiLevel: typeof generalMethods.getApiLevel;
83
- getPlatformVersion: typeof generalMethods.getPlatformVersion;
84
- isDeviceConnected: typeof generalMethods.isDeviceConnected;
85
- mkdir: typeof generalMethods.mkdir;
86
- isValidClass: typeof generalMethods.isValidClass;
87
- resolveLaunchableActivity: typeof generalMethods.resolveLaunchableActivity;
88
- forceStop: typeof generalMethods.forceStop;
89
- killPackage: typeof generalMethods.killPackage;
90
- clear: typeof generalMethods.clear;
91
- grantAllPermissions: typeof generalMethods.grantAllPermissions;
92
- grantPermissions: typeof generalMethods.grantPermissions;
93
- grantPermission: typeof generalMethods.grantPermission;
94
- revokePermission: typeof generalMethods.revokePermission;
95
- getGrantedPermissions: typeof generalMethods.getGrantedPermissions;
96
- getDeniedPermissions: typeof generalMethods.getDeniedPermissions;
97
- getReqPermissions: typeof generalMethods.getReqPermissions;
98
- getLocationProviders: typeof generalMethods.getLocationProviders;
99
- toggleGPSLocationProvider: typeof generalMethods.toggleGPSLocationProvider;
100
- setHiddenApiPolicy: typeof generalMethods.setHiddenApiPolicy;
101
- setDefaultHiddenApiPolicy: typeof generalMethods.setDefaultHiddenApiPolicy;
102
- stopAndClear: typeof generalMethods.stopAndClear;
103
- availableIMEs: typeof generalMethods.availableIMEs;
104
- enabledIMEs: typeof generalMethods.enabledIMEs;
105
- enableIME: typeof generalMethods.enableIME;
106
- disableIME: typeof generalMethods.disableIME;
107
- setIME: typeof generalMethods.setIME;
108
- defaultIME: typeof generalMethods.defaultIME;
109
- keyevent: typeof generalMethods.keyevent;
110
- inputText: typeof generalMethods.inputText;
111
- clearTextField: typeof generalMethods.clearTextField;
112
- lock: typeof generalMethods.lock;
113
- back: typeof generalMethods.back;
114
- goToHome: typeof generalMethods.goToHome;
115
- getAdbPath: typeof generalMethods.getAdbPath;
116
- getScreenOrientation: typeof generalMethods.getScreenOrientation;
117
- sendTelnetCommand: typeof generalMethods.sendTelnetCommand;
118
- isAirplaneModeOn: typeof generalMethods.isAirplaneModeOn;
119
- setAirplaneMode: typeof generalMethods.setAirplaneMode;
120
- setBluetoothOn: typeof generalMethods.setBluetoothOn;
121
- setNfcOn: typeof generalMethods.setNfcOn;
122
- broadcastAirplaneMode: typeof generalMethods.broadcastAirplaneMode;
123
- isWifiOn: typeof generalMethods.isWifiOn;
124
- isDataOn: typeof generalMethods.isDataOn;
125
- isAnimationOn: typeof generalMethods.isAnimationOn;
126
- setAnimationScale: typeof generalMethods.setAnimationScale;
127
- rimraf: typeof generalMethods.rimraf;
128
- push: typeof generalMethods.push;
129
- pull: typeof generalMethods.pull;
130
- processExists: typeof generalMethods.processExists;
131
- getForwardList: typeof generalMethods.getForwardList;
132
- forwardPort: typeof generalMethods.forwardPort;
133
- removePortForward: typeof generalMethods.removePortForward;
134
- getReverseList: typeof generalMethods.getReverseList;
135
- reversePort: typeof generalMethods.reversePort;
136
- removePortReverse: typeof generalMethods.removePortReverse;
137
- forwardAbstractPort: typeof generalMethods.forwardAbstractPort;
138
- ping: typeof generalMethods.ping;
139
- restart: typeof generalMethods.restart;
140
- startLogcat: typeof generalMethods.startLogcat;
141
- stopLogcat: typeof generalMethods.stopLogcat;
142
- getLogcatLogs: typeof generalMethods.getLogcatLogs;
143
- setLogcatListener: typeof generalMethods.setLogcatListener;
144
- removeLogcatListener: typeof generalMethods.removeLogcatListener;
145
- listProcessStatus: typeof generalMethods.listProcessStatus;
146
- getNameByPid: typeof generalMethods.getNameByPid;
147
- getPIDsByName: typeof generalMethods.getPIDsByName;
148
- killProcessesByName: typeof generalMethods.killProcessesByName;
149
- killProcessByPID: typeof generalMethods.killProcessByPID;
150
- broadcastProcessEnd: typeof generalMethods.broadcastProcessEnd;
151
- broadcast: typeof generalMethods.broadcast;
152
- getDeviceProperty: typeof generalMethods.getDeviceProperty;
153
- setDeviceProperty: typeof generalMethods.setDeviceProperty;
154
- getDeviceSysLanguage: typeof generalMethods.getDeviceSysLanguage;
155
- getDeviceSysCountry: typeof generalMethods.getDeviceSysCountry;
156
- getDeviceSysLocale: typeof generalMethods.getDeviceSysLocale;
157
- getDeviceProductLanguage: typeof generalMethods.getDeviceProductLanguage;
158
- getDeviceProductCountry: typeof generalMethods.getDeviceProductCountry;
159
- getDeviceProductLocale: typeof generalMethods.getDeviceProductLocale;
160
- getModel: typeof generalMethods.getModel;
161
- getManufacturer: typeof generalMethods.getManufacturer;
162
- getScreenSize: typeof generalMethods.getScreenSize;
163
- getScreenDensity: typeof generalMethods.getScreenDensity;
164
- setHttpProxy: typeof generalMethods.setHttpProxy;
165
- deleteHttpProxy: typeof generalMethods.deleteHttpProxy;
166
- setSetting: typeof generalMethods.setSetting;
167
- getSetting: typeof generalMethods.getSetting;
168
- bugreport: typeof generalMethods.bugreport;
169
- screenrecord: typeof generalMethods.screenrecord;
170
- runInImeContext: typeof generalMethods.runInImeContext;
171
- getTimeZone: typeof generalMethods.getTimeZone;
172
- listFeatures: typeof generalMethods.listFeatures;
173
- isStreamedInstallSupported: typeof generalMethods.isStreamedInstallSupported;
174
- isIncrementalInstallSupported: typeof generalMethods.isIncrementalInstallSupported;
175
- getDeviceIdleWhitelist: typeof generalMethods.getDeviceIdleWhitelist;
176
- addToDeviceIdleWhitelist: typeof generalMethods.addToDeviceIdleWhitelist;
177
- takeScreenshot: typeof generalMethods.takeScreenshot;
178
- setWifiState: typeof generalMethods.setWifiState;
179
- setDataState: typeof generalMethods.setDataState;
180
- listPorts: typeof generalMethods.listPorts;
181
- executeApksigner: typeof apkSigningMethods.executeApksigner;
182
- signWithDefaultCert: typeof apkSigningMethods.signWithDefaultCert;
183
- signWithCustomCert: typeof apkSigningMethods.signWithCustomCert;
184
- sign: typeof apkSigningMethods.sign;
185
- zipAlignApk: typeof apkSigningMethods.zipAlignApk;
186
- checkApkCert: typeof apkSigningMethods.checkApkCert;
187
- getKeystoreHash: typeof apkSigningMethods.getKeystoreHash;
188
- APP_INSTALL_STATE: StringRecord<import("./tools/types").InstallState>;
189
- isAppInstalled: typeof apkUtilsMethods.isAppInstalled;
190
- startUri: typeof apkUtilsMethods.startUri;
191
- startApp: typeof apkUtilsMethods.startApp;
192
- dumpWindows: typeof apkUtilsMethods.dumpWindows;
193
- getFocusedPackageAndActivity: typeof apkUtilsMethods.getFocusedPackageAndActivity;
194
- waitForActivityOrNot: typeof apkUtilsMethods.waitForActivityOrNot;
195
- waitForActivity: typeof apkUtilsMethods.waitForActivity;
196
- waitForNotActivity: typeof apkUtilsMethods.waitForNotActivity;
197
- uninstallApk: typeof apkUtilsMethods.uninstallApk;
198
- installFromDevicePath: typeof apkUtilsMethods.installFromDevicePath;
199
- cacheApk: typeof apkUtilsMethods.cacheApk;
200
- install: typeof apkUtilsMethods.install;
201
- getApplicationInstallState: typeof apkUtilsMethods.getApplicationInstallState;
202
- installOrUpgrade: typeof apkUtilsMethods.installOrUpgrade;
203
- extractStringsFromApk: typeof apkUtilsMethods.extractStringsFromApk;
204
- getDeviceLanguage: typeof apkUtilsMethods.getDeviceLanguage;
205
- getDeviceCountry: typeof apkUtilsMethods.getDeviceCountry;
206
- getDeviceLocale: typeof apkUtilsMethods.getDeviceLocale;
207
- ensureCurrentLocale: typeof apkUtilsMethods.ensureCurrentLocale;
208
- getApkInfo: typeof apkUtilsMethods.getApkInfo;
209
- getPackageInfo: typeof apkUtilsMethods.getPackageInfo;
210
- pullApk: typeof apkUtilsMethods.pullApk;
211
- activateApp: typeof apkUtilsMethods.activateApp;
79
+ shellChunks: typeof generalCommands.shellChunks;
80
+ getAdbWithCorrectAdbPath: typeof generalCommands.getAdbWithCorrectAdbPath;
81
+ initAapt: typeof generalCommands.initAapt;
82
+ initAapt2: typeof generalCommands.initAapt2;
83
+ initZipAlign: typeof generalCommands.initZipAlign;
84
+ initBundletool: typeof generalCommands.initBundletool;
85
+ getApiLevel: typeof generalCommands.getApiLevel;
86
+ isDeviceConnected: typeof generalCommands.isDeviceConnected;
87
+ clearTextField: typeof generalCommands.clearTextField;
88
+ lock: typeof generalCommands.lock;
89
+ back: typeof generalCommands.back;
90
+ goToHome: typeof generalCommands.goToHome;
91
+ getAdbPath: typeof generalCommands.getAdbPath;
92
+ sendTelnetCommand: typeof generalCommands.sendTelnetCommand;
93
+ getForwardList: typeof generalCommands.getForwardList;
94
+ forwardPort: typeof generalCommands.forwardPort;
95
+ removePortForward: typeof generalCommands.removePortForward;
96
+ getReverseList: typeof generalCommands.getReverseList;
97
+ reversePort: typeof generalCommands.reversePort;
98
+ removePortReverse: typeof generalCommands.removePortReverse;
99
+ forwardAbstractPort: typeof generalCommands.forwardAbstractPort;
100
+ ping: typeof generalCommands.ping;
101
+ restart: typeof generalCommands.restart;
102
+ startLogcat: typeof generalCommands.startLogcat;
103
+ stopLogcat: typeof generalCommands.stopLogcat;
104
+ getLogcatLogs: typeof generalCommands.getLogcatLogs;
105
+ setLogcatListener: typeof generalCommands.setLogcatListener;
106
+ removeLogcatListener: typeof generalCommands.removeLogcatListener;
107
+ bugreport: typeof generalCommands.bugreport;
108
+ screenrecord: typeof generalCommands.screenrecord;
109
+ listFeatures: typeof generalCommands.listFeatures;
110
+ isStreamedInstallSupported: typeof generalCommands.isStreamedInstallSupported;
111
+ isIncrementalInstallSupported: typeof generalCommands.isIncrementalInstallSupported;
112
+ takeScreenshot: typeof generalCommands.takeScreenshot;
113
+ listPorts: typeof generalCommands.listPorts;
114
+ executeApksigner: typeof signingCommands.executeApksigner;
115
+ signWithDefaultCert: typeof signingCommands.signWithDefaultCert;
116
+ signWithCustomCert: typeof signingCommands.signWithCustomCert;
117
+ sign: typeof signingCommands.sign;
118
+ zipAlignApk: typeof signingCommands.zipAlignApk;
119
+ checkApkCert: typeof signingCommands.checkApkCert;
120
+ getKeystoreHash: typeof signingCommands.getKeystoreHash;
121
+ grantAllPermissions: typeof appCommands.grantAllPermissions;
122
+ grantPermissions: typeof appCommands.grantPermissions;
123
+ grantPermission: typeof appCommands.grantPermission;
124
+ revokePermission: typeof appCommands.revokePermission;
125
+ getGrantedPermissions: typeof appCommands.getGrantedPermissions;
126
+ getDeniedPermissions: typeof appCommands.getDeniedPermissions;
127
+ getReqPermissions: typeof appCommands.getReqPermissions;
128
+ stopAndClear: typeof appCommands.stopAndClear;
129
+ isValidClass: typeof appCommands.isValidClass;
130
+ resolveLaunchableActivity: typeof appCommands.resolveLaunchableActivity;
131
+ forceStop: typeof appCommands.forceStop;
132
+ killPackage: typeof appCommands.killPackage;
133
+ clear: typeof appCommands.clear;
134
+ listProcessStatus: typeof appCommands.listProcessStatus;
135
+ getNameByPid: typeof appCommands.getNameByPid;
136
+ getPIDsByName: typeof appCommands.getPIDsByName;
137
+ killProcessesByName: typeof appCommands.killProcessesByName;
138
+ killProcessByPID: typeof appCommands.killProcessByPID;
139
+ broadcastProcessEnd: typeof appCommands.broadcastProcessEnd;
140
+ broadcast: typeof appCommands.broadcast;
141
+ processExists: typeof appCommands.processExists;
142
+ readonly APP_INSTALL_STATE: StringRecord<import("./tools/types").InstallState>;
143
+ isAppInstalled: typeof appCommands.isAppInstalled;
144
+ startUri: typeof appCommands.startUri;
145
+ startApp: typeof appCommands.startApp;
146
+ dumpWindows: typeof appCommands.dumpWindows;
147
+ getFocusedPackageAndActivity: typeof appCommands.getFocusedPackageAndActivity;
148
+ waitForActivityOrNot: typeof appCommands.waitForActivityOrNot;
149
+ waitForActivity: typeof appCommands.waitForActivity;
150
+ waitForNotActivity: typeof appCommands.waitForNotActivity;
151
+ getPackageInfo: typeof appCommands.getPackageInfo;
152
+ pullApk: typeof appCommands.pullApk;
153
+ activateApp: typeof appCommands.activateApp;
154
+ uninstallApk: typeof apkUtilCommands.uninstallApk;
155
+ installFromDevicePath: typeof apkUtilCommands.installFromDevicePath;
156
+ cacheApk: typeof apkUtilCommands.cacheApk;
157
+ install: typeof apkUtilCommands.install;
158
+ installOrUpgrade: typeof apkUtilCommands.installOrUpgrade;
159
+ extractStringsFromApk: typeof apkUtilCommands.extractStringsFromApk;
160
+ getApkInfo: typeof apkUtilCommands.getApkInfo;
161
+ getApplicationInstallState: typeof apkUtilCommands.getApplicationInstallState;
212
162
  hideKeyboard: typeof keyboardCommands.hideKeyboard;
213
163
  isSoftKeyboardPresent: typeof keyboardCommands.isSoftKeyboardPresent;
164
+ keyevent: typeof keyboardCommands.keyevent;
165
+ availableIMEs: typeof keyboardCommands.availableIMEs;
166
+ enabledIMEs: typeof keyboardCommands.enabledIMEs;
167
+ enableIME: typeof keyboardCommands.enableIME;
168
+ disableIME: typeof keyboardCommands.disableIME;
169
+ setIME: typeof keyboardCommands.setIME;
170
+ defaultIME: typeof keyboardCommands.defaultIME;
171
+ inputText: typeof keyboardCommands.inputText;
172
+ runInImeContext: typeof keyboardCommands.runInImeContext;
214
173
  isLockManagementSupported: typeof lockManagementCommands.isLockManagementSupported;
215
174
  verifyLockCredential: typeof lockManagementCommands.verifyLockCredential;
216
175
  clearLockCredential: typeof lockManagementCommands.clearLockCredential;
@@ -219,36 +178,36 @@ export declare class ADB implements ADBOptions {
219
178
  isScreenLocked: typeof lockManagementCommands.isScreenLocked;
220
179
  dismissKeyguard: typeof lockManagementCommands.dismissKeyguard;
221
180
  cycleWakeUp: typeof lockManagementCommands.cycleWakeUp;
222
- getSdkBinaryPath: typeof systemCallMethods.getSdkBinaryPath;
181
+ getSdkBinaryPath: typeof systemCommands.getSdkBinaryPath;
223
182
  getBinaryNameForOS: ((binaryName: string) => string) & _.MemoizedFunction;
224
- getBinaryFromSdkRoot: typeof systemCallMethods.getBinaryFromSdkRoot;
225
- getBinaryFromPath: typeof systemCallMethods.getBinaryFromPath;
226
- getConnectedDevices: typeof systemCallMethods.getConnectedDevices;
227
- getDevicesWithRetry: typeof systemCallMethods.getDevicesWithRetry;
228
- reconnect: typeof systemCallMethods.reconnect;
229
- restartAdb: typeof systemCallMethods.restartAdb;
230
- killServer: typeof systemCallMethods.killServer;
183
+ getBinaryFromSdkRoot: typeof systemCommands.getBinaryFromSdkRoot;
184
+ getBinaryFromPath: typeof systemCommands.getBinaryFromPath;
185
+ getConnectedDevices: typeof systemCommands.getConnectedDevices;
186
+ getDevicesWithRetry: typeof systemCommands.getDevicesWithRetry;
187
+ reconnect: typeof systemCommands.reconnect;
188
+ restartAdb: typeof systemCommands.restartAdb;
189
+ killServer: typeof systemCommands.killServer;
231
190
  resetTelnetAuthToken: (() => Promise<boolean>) & _.MemoizedFunction;
232
- adbExecEmu: typeof systemCallMethods.adbExecEmu;
191
+ adbExecEmu: typeof systemCommands.adbExecEmu;
233
192
  EXEC_OUTPUT_FORMAT: {
234
193
  STDOUT: "stdout";
235
194
  FULL: "full";
236
195
  };
237
- adbExec: typeof systemCallMethods.adbExec;
238
- shell: typeof systemCallMethods.shell;
239
- createSubProcess: typeof systemCallMethods.createSubProcess;
240
- getAdbServerPort: typeof systemCallMethods.getAdbServerPort;
241
- getEmulatorPort: typeof systemCallMethods.getEmulatorPort;
242
- getPortFromEmulatorString: typeof systemCallMethods.getPortFromEmulatorString;
243
- getConnectedEmulators: typeof systemCallMethods.getConnectedEmulators;
244
- setEmulatorPort: typeof systemCallMethods.setEmulatorPort;
245
- setDeviceId: typeof systemCallMethods.setDeviceId;
246
- setDevice: typeof systemCallMethods.setDevice;
247
- getRunningAVD: typeof systemCallMethods.getRunningAVD;
248
- getRunningAVDWithRetry: typeof systemCallMethods.getRunningAVDWithRetry;
249
- killAllEmulators: typeof systemCallMethods.killAllEmulators;
250
- killEmulator: typeof systemCallMethods.killEmulator;
251
- launchAVD: typeof systemCallMethods.launchAVD;
196
+ adbExec: typeof systemCommands.adbExec;
197
+ shell: typeof systemCommands.shell;
198
+ createSubProcess: typeof systemCommands.createSubProcess;
199
+ getAdbServerPort: typeof systemCommands.getAdbServerPort;
200
+ getEmulatorPort: typeof systemCommands.getEmulatorPort;
201
+ getPortFromEmulatorString: typeof systemCommands.getPortFromEmulatorString;
202
+ getConnectedEmulators: typeof systemCommands.getConnectedEmulators;
203
+ setEmulatorPort: typeof systemCommands.setEmulatorPort;
204
+ setDeviceId: typeof systemCommands.setDeviceId;
205
+ setDevice: typeof systemCommands.setDevice;
206
+ getRunningAVD: typeof systemCommands.getRunningAVD;
207
+ getRunningAVDWithRetry: typeof systemCommands.getRunningAVDWithRetry;
208
+ killAllEmulators: typeof systemCommands.killAllEmulators;
209
+ killEmulator: typeof systemCommands.killEmulator;
210
+ launchAVD: typeof systemCommands.launchAVD;
252
211
  getVersion: (() => Promise<{
253
212
  binary: {
254
213
  version: import("semver").SemVer | null;
@@ -258,60 +217,57 @@ export declare class ADB implements ADBOptions {
258
217
  version: import("semver").SemVer | null;
259
218
  };
260
219
  }>) & _.MemoizedFunction;
261
- waitForEmulatorReady: typeof systemCallMethods.waitForEmulatorReady;
262
- waitForDevice: typeof systemCallMethods.waitForDevice;
263
- reboot: typeof systemCallMethods.reboot;
264
- changeUserPrivileges: typeof systemCallMethods.changeUserPrivileges;
265
- root: typeof systemCallMethods.root;
266
- unroot: typeof systemCallMethods.unroot;
267
- isRoot: typeof systemCallMethods.isRoot;
268
- fileExists: typeof systemCallMethods.fileExists;
269
- ls: typeof systemCallMethods.ls;
270
- fileSize: typeof systemCallMethods.fileSize;
271
- installMitmCertificate: typeof systemCallMethods.installMitmCertificate;
272
- isMitmCertificateInstalled: typeof systemCallMethods.isMitmCertificateInstalled;
273
- execBundletool: typeof apksUtilsMethods.execBundletool;
274
- getDeviceSpec: typeof apksUtilsMethods.getDeviceSpec;
275
- installMultipleApks: typeof apksUtilsMethods.installMultipleApks;
276
- installApks: typeof apksUtilsMethods.installApks;
277
- extractBaseApk: typeof apksUtilsMethods.extractBaseApk;
278
- extractLanguageApk: typeof apksUtilsMethods.extractLanguageApk;
279
- isTestPackageOnlyError: typeof apksUtilsMethods.isTestPackageOnlyError;
280
- packageAndLaunchActivityFromManifest: typeof manifestMethods.packageAndLaunchActivityFromManifest;
281
- targetSdkVersionFromManifest: typeof manifestMethods.targetSdkVersionFromManifest;
282
- targetSdkVersionUsingPKG: typeof manifestMethods.targetSdkVersionUsingPKG;
283
- compileManifest: typeof manifestMethods.compileManifest;
284
- insertManifest: typeof manifestMethods.insertManifest;
285
- hasInternetPermissionFromManifest: typeof manifestMethods.hasInternetPermissionFromManifest;
286
- extractUniversalApk: typeof aabUtilsMethods.extractUniversalApk;
287
- isEmulatorConnected: typeof emuMethods.isEmulatorConnected;
288
- verifyEmulatorConnected: typeof emuMethods.verifyEmulatorConnected;
289
- fingerprint: typeof emuMethods.fingerprint;
290
- rotate: typeof emuMethods.rotate;
291
- powerAC: typeof emuMethods.powerAC;
292
- sensorSet: typeof emuMethods.sensorSet;
293
- powerCapacity: typeof emuMethods.powerCapacity;
294
- powerOFF: typeof emuMethods.powerOFF;
295
- sendSMS: typeof emuMethods.sendSMS;
296
- gsmCall: typeof emuMethods.gsmCall;
297
- gsmSignal: typeof emuMethods.gsmSignal;
298
- gsmVoice: typeof emuMethods.gsmVoice;
299
- networkSpeed: typeof emuMethods.networkSpeed;
300
- execEmuConsoleCommand: typeof emuMethods.execEmuConsoleCommand;
301
- getEmuVersionInfo: typeof emuMethods.getEmuVersionInfo;
302
- getEmuImageProperties: typeof emuMethods.getEmuImageProperties;
303
- checkAvdExist: typeof emuMethods.checkAvdExist;
304
- POWER_AC_STATES: {
220
+ waitForEmulatorReady: typeof systemCommands.waitForEmulatorReady;
221
+ waitForDevice: typeof systemCommands.waitForDevice;
222
+ reboot: typeof systemCommands.reboot;
223
+ changeUserPrivileges: typeof systemCommands.changeUserPrivileges;
224
+ root: typeof systemCommands.root;
225
+ unroot: typeof systemCommands.unroot;
226
+ isRoot: typeof systemCommands.isRoot;
227
+ installMitmCertificate: typeof systemCommands.installMitmCertificate;
228
+ isMitmCertificateInstalled: typeof systemCommands.isMitmCertificateInstalled;
229
+ execBundletool: typeof apksUtilCommands.execBundletool;
230
+ getDeviceSpec: typeof apksUtilCommands.getDeviceSpec;
231
+ installMultipleApks: typeof apksUtilCommands.installMultipleApks;
232
+ installApks: typeof apksUtilCommands.installApks;
233
+ extractBaseApk: typeof apksUtilCommands.extractBaseApk;
234
+ extractLanguageApk: typeof apksUtilCommands.extractLanguageApk;
235
+ isTestPackageOnlyError: typeof apksUtilCommands.isTestPackageOnlyError;
236
+ packageAndLaunchActivityFromManifest: typeof manifestCommands.packageAndLaunchActivityFromManifest;
237
+ targetSdkVersionFromManifest: typeof manifestCommands.targetSdkVersionFromManifest;
238
+ targetSdkVersionUsingPKG: typeof manifestCommands.targetSdkVersionUsingPKG;
239
+ compileManifest: typeof manifestCommands.compileManifest;
240
+ insertManifest: typeof manifestCommands.insertManifest;
241
+ hasInternetPermissionFromManifest: typeof manifestCommands.hasInternetPermissionFromManifest;
242
+ extractUniversalApk: typeof aabUtilCommands.extractUniversalApk;
243
+ isEmulatorConnected: typeof emuCommands.isEmulatorConnected;
244
+ verifyEmulatorConnected: typeof emuCommands.verifyEmulatorConnected;
245
+ fingerprint: typeof emuCommands.fingerprint;
246
+ rotate: typeof emuCommands.rotate;
247
+ powerAC: typeof emuCommands.powerAC;
248
+ sensorSet: typeof emuCommands.sensorSet;
249
+ powerCapacity: typeof emuCommands.powerCapacity;
250
+ powerOFF: typeof emuCommands.powerOFF;
251
+ sendSMS: typeof emuCommands.sendSMS;
252
+ gsmCall: typeof emuCommands.gsmCall;
253
+ gsmSignal: typeof emuCommands.gsmSignal;
254
+ gsmVoice: typeof emuCommands.gsmVoice;
255
+ networkSpeed: typeof emuCommands.networkSpeed;
256
+ execEmuConsoleCommand: typeof emuCommands.execEmuConsoleCommand;
257
+ getEmuVersionInfo: typeof emuCommands.getEmuVersionInfo;
258
+ getEmuImageProperties: typeof emuCommands.getEmuImageProperties;
259
+ checkAvdExist: typeof emuCommands.checkAvdExist;
260
+ readonly POWER_AC_STATES: {
305
261
  readonly POWER_AC_ON: "on";
306
262
  readonly POWER_AC_OFF: "off";
307
263
  };
308
- GSM_CALL_ACTIONS: {
264
+ readonly GSM_CALL_ACTIONS: {
309
265
  readonly GSM_CALL: "call";
310
266
  readonly GSM_ACCEPT: "accept";
311
267
  readonly GSM_CANCEL: "cancel";
312
268
  readonly GSM_HOLD: "hold";
313
269
  };
314
- GSM_VOICE_STATES: {
270
+ readonly GSM_VOICE_STATES: {
315
271
  readonly GSM_VOICE_UNREGISTERED: "unregistered";
316
272
  readonly GSM_VOICE_HOME: "home";
317
273
  readonly GSM_VOICE_ROAMING: "roaming";
@@ -320,8 +276,8 @@ export declare class ADB implements ADBOptions {
320
276
  readonly GSM_VOICE_OFF: "off";
321
277
  readonly GSM_VOICE_ON: "on";
322
278
  };
323
- GSM_SIGNAL_STRENGTHS: readonly [0, 1, 2, 3, 4];
324
- NETWORK_SPEED: {
279
+ readonly GSM_SIGNAL_STRENGTHS: readonly [0, 1, 2, 3, 4];
280
+ readonly NETWORK_SPEED: {
325
281
  readonly GSM: "gsm";
326
282
  readonly SCSD: "scsd";
327
283
  readonly GPRS: "gprs";
@@ -332,7 +288,7 @@ export declare class ADB implements ADBOptions {
332
288
  readonly EVDO: "evdo";
333
289
  readonly FULL: "full";
334
290
  };
335
- SENSORS: {
291
+ readonly SENSORS: {
336
292
  readonly ACCELERATION: "acceleration";
337
293
  readonly GYROSCOPE: "gyroscope";
338
294
  readonly MAGNETIC_FIELD: "magnetic-field";
@@ -350,5 +306,52 @@ export declare class ADB implements ADBOptions {
350
306
  readonly HEART_RATE: "heart-rate";
351
307
  readonly RGBC_LIGHT: "rgbc-light";
352
308
  };
309
+ fileExists: typeof fsCommands.fileExists;
310
+ ls: typeof fsCommands.ls;
311
+ fileSize: typeof fsCommands.fileSize;
312
+ rimraf: typeof fsCommands.rimraf;
313
+ push: typeof fsCommands.push;
314
+ pull: typeof fsCommands.pull;
315
+ mkdir: typeof fsCommands.mkdir;
316
+ getDeviceProperty: typeof deviceSettingsCommands.getDeviceProperty;
317
+ setDeviceProperty: typeof deviceSettingsCommands.setDeviceProperty;
318
+ getDeviceSysLanguage: typeof deviceSettingsCommands.getDeviceSysLanguage;
319
+ getDeviceSysCountry: typeof deviceSettingsCommands.getDeviceSysCountry;
320
+ getDeviceSysLocale: typeof deviceSettingsCommands.getDeviceSysLocale;
321
+ getDeviceProductLanguage: typeof deviceSettingsCommands.getDeviceProductLanguage;
322
+ getDeviceProductCountry: typeof deviceSettingsCommands.getDeviceProductCountry;
323
+ getDeviceProductLocale: typeof deviceSettingsCommands.getDeviceProductLocale;
324
+ getModel: typeof deviceSettingsCommands.getModel;
325
+ getManufacturer: typeof deviceSettingsCommands.getManufacturer;
326
+ getScreenSize: typeof deviceSettingsCommands.getScreenSize;
327
+ getScreenDensity: typeof deviceSettingsCommands.getScreenDensity;
328
+ setHttpProxy: typeof deviceSettingsCommands.setHttpProxy;
329
+ deleteHttpProxy: typeof deviceSettingsCommands.deleteHttpProxy;
330
+ setSetting: typeof deviceSettingsCommands.setSetting;
331
+ getSetting: typeof deviceSettingsCommands.getSetting;
332
+ getTimeZone: typeof deviceSettingsCommands.getTimeZone;
333
+ getPlatformVersion: typeof deviceSettingsCommands.getPlatformVersion;
334
+ getLocationProviders: typeof deviceSettingsCommands.getLocationProviders;
335
+ toggleGPSLocationProvider: typeof deviceSettingsCommands.toggleGPSLocationProvider;
336
+ setHiddenApiPolicy: typeof deviceSettingsCommands.setHiddenApiPolicy;
337
+ setDefaultHiddenApiPolicy: typeof deviceSettingsCommands.setDefaultHiddenApiPolicy;
338
+ getDeviceLanguage: typeof deviceSettingsCommands.getDeviceLanguage;
339
+ getDeviceCountry: typeof deviceSettingsCommands.getDeviceCountry;
340
+ getDeviceLocale: typeof deviceSettingsCommands.getDeviceLocale;
341
+ ensureCurrentLocale: typeof deviceSettingsCommands.ensureCurrentLocale;
342
+ setWifiState: typeof deviceSettingsCommands.setWifiState;
343
+ setDataState: typeof deviceSettingsCommands.setDataState;
344
+ getDeviceIdleWhitelist: typeof deviceSettingsCommands.getDeviceIdleWhitelist;
345
+ addToDeviceIdleWhitelist: typeof deviceSettingsCommands.addToDeviceIdleWhitelist;
346
+ isAirplaneModeOn: typeof deviceSettingsCommands.isAirplaneModeOn;
347
+ setAirplaneMode: typeof deviceSettingsCommands.setAirplaneMode;
348
+ setBluetoothOn: typeof deviceSettingsCommands.setBluetoothOn;
349
+ setNfcOn: typeof deviceSettingsCommands.setNfcOn;
350
+ broadcastAirplaneMode: typeof deviceSettingsCommands.broadcastAirplaneMode;
351
+ isWifiOn: typeof deviceSettingsCommands.isWifiOn;
352
+ isDataOn: typeof deviceSettingsCommands.isDataOn;
353
+ isAnimationOn: typeof deviceSettingsCommands.isAnimationOn;
354
+ setAnimationScale: typeof deviceSettingsCommands.setAnimationScale;
355
+ getScreenOrientation: typeof deviceSettingsCommands.getScreenOrientation;
353
356
  }
354
357
  //# sourceMappingURL=adb.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"adb.d.ts","sourceRoot":"","sources":["../../lib/adb.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AAQvB,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAG1C,OAAO,KAAK,cAAc,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,eAAe,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,iBAAiB,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,iBAAiB,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,gBAAgB,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,UAAU,MAAM,0BAA0B,CAAC;AACvD,OAAO,KAAK,sBAAsB,MAAM,kBAAkB,CAAC;AAC3D,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAI9D,eAAO,MAAM,gBAAgB,OAAO,CAAC;AACrC,eAAO,MAAM,YAAY;;;;;;;;;;;;;CAUf,CAAC;AAEX,qBAAa,GAAI,YAAW,UAAU;IACpC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,GAAC,SAAS,CAAC;IAC5B,oBAAoB,EAAE,UAA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