Expand description
Versioned Mobench contracts and boundary validation.
Structs§
- Bound
RunReport V2 - Canonical report after producer identity and provider transport evidence have both been validated.
- Expected
Provider Binding - Provider transport evidence expected for one collected report.
- Expected
Report Identity - Identity and request metadata expected by the report consumer.
- Provider
Report Binding - Authenticated provider evidence attached after a producer envelope is read from one concrete provider transport session.
- Reduced
Provenance Report - Explicitly reduced-provenance data adapted from the legacy v1 shape.
- Report
Count - A bounded count used by report requests and observations.
- Report
Counts - Requested or observed benchmark counts.
- Report
Envelope V2 - Strict v2 report envelope.
- Report
Failure - Structured failure information for a v2 report.
- Report
Identifier - A bounded, path-safe, nonempty component used in report identity.
- Report
Identity - All provenance fields that bind a report to one requested execution.
Enums§
- Android
Bench Frame Error - Errors produced while decoding Android benchmark log frames.
- Legacy
V1Adapter Error - Failure adapting an explicitly requested legacy v1 report.
- Report
Binding Error - Failure while attaching provider transport evidence to a producer report.
- Report
Construction Error - Failure constructing typed report values locally.
- Report
Identifier Error - Why an identity component was rejected.
- Report
Outcome - Outcome of a completed report envelope.
- Report
Validation Error - Strict validation or parsing failure for a v2 report.
Constants§
- MAX_
ANDROID_ BENCH_ PAYLOAD_ BYTES - Maximum accepted JSON payload for one Android benchmark report.
- MAX_
REPORT_ COUNT - Maximum accepted measured or warmup iteration count at runtime boundaries.
- MAX_
REPORT_ FAILURE_ MESSAGE_ BYTES - Maximum UTF-8 byte length of a failure message.
- MAX_
REPORT_ IDENTIFIER_ BYTES - Maximum UTF-8 byte length of a report identity component.
- MAX_
REPORT_ SAMPLES - Maximum accepted number of samples in one report.
- REPORT_
SCHEMA_ V2 - Canonical schema identifier for strict Mobench run reports.
Functions§
- adapt_
legacy_ v1_ json - Parse only the legacy v1 report shape into an explicitly reduced type.
- decode_
android_ bench_ frames - Decode Android benchmark reports from generated logcat framing.