Gates P1–P7, provisional
Updates as tests run. P3 and P5 need the rink. Native capture if any of P1–P5 fails (spec A3).
1 · Cameras P1
Asks for camera permission, then lists every camera with its full getCapabilities(). Back cameras go into the picker used by the other tests.
2 · Preview fps P2
Opens each back camera at 1920×1080 @ 60 fps (min 50, then ideal-only fallback) and counts real frames for 10 s with requestVideoFrameCallback.
3 · 3× zoom P1
On the selected camera: snapshot at zoom 1, apply zoom 3, read it back, snapshot again, measure fps at 3×. Aim at something detailed ~15–50 ft away, then judge the 3× snapshot.
4 · Recording P2 · P6 · V3
Records 10 s per MIME type at 12 Mbps (timeslice 1 s). Then plays each clip back at 0.5× counting frames, checks finite duration and seeking, and tests two frame-step methods. Takes ~35 s per type.
5 · Torch P4 · C8
Toggle the LED, run the start/stop blink patterns with exposure and focus locked, and compare getSettings() before and after each blink (spec A4). Tries a torch-only constraint and a full re-apply of the locked set.
6 · Torch during recording data only
Records 9 s, blinks once at 3 s and twice at 6 s, then looks for frame gaps and settings changes around each blink. The app itself never does this (A4); this is just data.
7 · Exposure & banding P5 · rink
Applies manual exposureTime ≈ 83 (×100 µs = 1/120 s) at 60 fps and reads it back. At the rink, tap “Full-screen preview”, look at the ice under the lights, and record what you see for each state.
8 · Clicker key logger P3 · C5 · rink
Full-screen, keeps the screen awake. Press the clicker 20 times from the chosen distance, then walk back and save. Exit only with the on-screen button.
9 · Sharing P7 · V7
Checks navigator.canShare for MP4 + .json and MP4 + .txt (uses your last recorded MP4 if there is one). The share buttons open the real share sheet; try Quick Share to the tablet.
10 · Screen, sensors, storage C7 · V1 · V8
Screen Wake Lock, GravitySensor, DeviceOrientationEvent, DeviceMotionEvent, storage.persist() / estimate(), and fullscreen + landscape lock.
Run everything (home)
Runs 1, 2, 3, 4, 5, 6, 7 (readback only), 9 (canShare) and 10 in order. About 4 minutes; keep the phone still and pointed at something. The key logger, banding and share sheet stay manual.