(device: DeviceInfo, appPath: string)
| 805 | } |
| 806 | |
| 807 | async function installAndroidAppFiles(device: DeviceInfo, appPath: string): Promise<void> { |
| 808 | if (isAndroidAppBundlePath(appPath)) { |
| 809 | await installAndroidAppBundle(device, appPath); |
| 810 | return; |
| 811 | } |
| 812 | await installAndroidAdbPackage(appPath, { |
| 813 | device, |
| 814 | replace: true, |
| 815 | }); |
| 816 | } |
| 817 | |
| 818 | async function listInstalledAndroidPackages(device: DeviceInfo): Promise<Set<string>> { |
| 819 | const result = await runAndroidAdb(device, ['shell', 'pm', 'list', 'packages']); |
no test coverage detected