MCPcopy Index your code
hub / github.com/callstack/agent-device / hasAnyAndroidTvFeature

Function hasAnyAndroidTvFeature

src/platforms/android/devices.ts:180–187  ·  view source on GitHub ↗
(serial: string)

Source from the content-addressed store, hash-verified

178}
179
180async 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
189async function resolveAndroidTarget(serial: string): Promise<'mobile' | 'tv'> {
190 const characteristicsResult = await runCmd(

Callers 1

resolveAndroidTargetFunction · 0.85

Calls 2

mapWithConcurrencyFunction · 0.85
probeAndroidFeatureFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…