MCPcopy Create free account
hub / github.com/callstack/agent-device / parseAndroidPacketId

Function parseAndroidPacketId

src/daemon/network-log.ts:292–295  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

290}
291
292function parseAndroidPacketId(line: string): string | null {
293 const match = /\bpacket id (\d+)\b/i.exec(line);
294 return match?.[1] ?? null;
295}
296
297function parseAndroidDurationMs(line: string): number | null {
298 const match = /\b(?:duration|elapsed request\/response time, ms)[:= ]+(\d+)\b/i.exec(line);

Callers 2

parseNetworkLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…