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

Function isAndroidBooted

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

Source from the content-addressed store, hash-verified

413}
414
415async function isAndroidBooted(serial: string): Promise<boolean> {
416 try {
417 const result = await readAndroidBootProp(serial);
418 return result.stdout.trim() === '1';
419 } catch {
420 return false;
421 }
422}
423
424export async function ensureAndroidEmulatorBooted(params: {
425 avdName: string;

Callers 1

listAndroidDevicesFunction · 0.85

Calls 1

readAndroidBootPropFunction · 0.85

Tested by

no test coverage detected