Stop async focus trace
mobile_focus_trace_stopStop an active focus trace to collect focus change events and timing samples, enabling analysis of UI transitions and app launch behavior.
Instructions
Stop an async focus session and return focus change events plus samples (wallClockIso, tMs, optional recordOffsetMs). Prefer changes for flash/launcher hunting. Large traces write samples JSON to an artifact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | Exact ADB serial from mobile_devices_list; never inferred when multiple devices exist | |
| focusSessionId | Yes | ||
| includeAllSamples | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | ||
| changes | Yes | ||
| samples | Yes | ||
| truncated | Yes | ||
| displayIds | Yes | ||
| durationMs | Yes | ||
| changeCount | Yes | ||
| sampleCount | Yes | ||
| startedAtIso | Yes | ||
| stoppedAtIso | Yes | ||
| boundRecordId | No | ||
| droppedSamples | Yes | ||
| focusSessionId | Yes | ||
| sampleIntervalMs | Yes | ||
| responseCompacted | No | ||
| samplesArtifactUri | No |