(serial: string)
| 178 | } |
| 179 | |
| 180 | async function hasAnyAndroidTvFeature(serial: string): Promise<boolean> { |
| 181 | const featureChecks = await mapWithConcurrency( |
| 182 | ANDROID_TV_FEATURES, |
| 183 | ANDROID_FEATURE_PROBE_CONCURRENCY, |
| 184 | async (feature) => await probeAndroidFeature(serial, feature), |
| 185 | ); |
| 186 | return featureChecks.some((value) => value === true); |
| 187 | } |
| 188 | |
| 189 | async function resolveAndroidTarget(serial: string): Promise<'mobile' | 'tv'> { |
| 190 | const characteristicsResult = await runCmd( |
no test coverage detected
searching dependent graphs…