(rawOutput: string)
| 157 | } |
| 158 | |
| 159 | export function parseAndroidFeatureListForTv(rawOutput: string): boolean { |
| 160 | return /feature:android\.(software\.leanback(_only)?|hardware\.type\.television)\b/i.test( |
| 161 | rawOutput, |
| 162 | ); |
| 163 | } |
| 164 | |
| 165 | async function probeAndroidFeature(serial: string, feature: string): Promise<boolean | null> { |
| 166 | const result = await runCmd( |
no outgoing calls
no test coverage detected