(appBundleId: string)
| 21 | import { sleep } from '../utils/timeouts.ts'; |
| 22 | |
| 23 | export function assertAndroidPackageArgSafe(appBundleId: string): void { |
| 24 | if (!/^[a-zA-Z0-9._:-]+$/.test(appBundleId)) { |
| 25 | throw new AppError('INVALID_ARGS', `Invalid Android package name for logs: ${appBundleId}`); |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | export async function resolveAndroidPid( |
| 30 | deviceId: string, |
no outgoing calls
no test coverage detected