(deviceId: string)
| 16 | } |
| 17 | |
| 18 | export function androidDeviceForSerial(deviceId: string): DeviceInfo { |
| 19 | return { |
| 20 | platform: 'android', |
| 21 | id: deviceId, |
| 22 | name: deviceId, |
| 23 | kind: deviceId.startsWith('emulator-') ? 'emulator' : 'device', |
| 24 | booted: true, |
| 25 | }; |
| 26 | } |
| 27 | |
| 28 | export function isClipboardShellUnsupported(stdout: string, stderr: string): boolean { |
| 29 | const haystack = `${stdout}\n${stderr}`.toLowerCase(); |
no test coverage detected