Skip to main content

Module android_device

Module android_device 

Source
Expand description

On-device recording and diffing over adb.

The cases are generated on the host (same generator as record), but the original Kotlin runs under ART and the result comes back as the same cases.jsonl. Both sides use the generated RustAnythingDriver: it is compiled to Java classes, dexed with d8 together with the original Kotlin jar (record) or the generated JNI wrappers (diff), and started with app_process. This covers logic units; Android UI, lifecycle and SDK-only classes stay outside the profile.

Functions§

diff
Diffs the Android .so built for the connected device’s ABI against the recording.
record
Records the original JVM unit on the device; returns the host’s cases.jsonl.