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

Function parseAndroidFeatureListForTv

src/platforms/android/devices.ts:159–163  ·  view source on GitHub ↗
(rawOutput: string)

Source from the content-addressed store, hash-verified

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

Callers 2

devices.test.tsFile · 0.90
resolveAndroidTargetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected