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

Function inferAndroidAvdTarget

src/platforms/android/devices.ts:343–345  ·  view source on GitHub ↗
(avdName: string)

Source from the content-addressed store, hash-verified

341}
342
343function inferAndroidAvdTarget(avdName: string): 'mobile' | 'tv' {
344 return /\b(tv|television)\b/i.test(normalizeAndroidName(avdName)) ? 'tv' : 'mobile';
345}
346
347function findAndroidEmulatorByAvdName(
348 devices: DeviceInfo[],

Callers 1

Calls 1

normalizeAndroidNameFunction · 0.85

Tested by

no test coverage detected