Skip to main content

Module java_host

Module java_host 

Source
Expand description

Java host files outside the core table set: the golden NV0V v2 event-batch test vector (nativeview_abi::EventBatchBuf::to_wire_bytes). Capability-module word tables are generated per-module into packages/modules/<cap>/android/.../generated/Nv<Mod>Tables.java.

Constants§

VECTOR_SURFACE
Surface of every golden event.
VECTOR_TABLE
Table key of the golden module-table event (nv.vector_table).

Functions§

generate_java_host_files
Every file of this module.
golden_events
One event per EventBatchBuf framing: empty, inline payload, UTF-8 text, IME composition, inline key, arena-split key (> NV_EVENT_INLINE_KEY_CAP bytes), pointer with button and capture flags, wheel, named custom, and a module-table event with raw bytes. Host suites write the same list and compare the NV0V v2 frame byte for byte.
java_event_ring_vectors
EventRingVectors.java (test sources): frame() = golden_events().to_wire_bytes().