app: parse the Shizuku dumps into link.ra_source and sec.arp_watch

Pure-Kotlin parsers over the captures the battery already makes, tested
against the real archived dumps from both devices - including the
Lenovo's 1000000015 route tables (table ids stay strings), the OnePlus's
stray uid=2000 prefix and mid-line hoplimit, and an ip_monitor that only
ever said EXEC_TIMEOUT. ShizukuProbe now returns three tests; a failed
capture is SKIPPED with its reason so no test type silently vanishes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
mrambossek
2026-08-02 13:34:52 +02:00
co-authored by Claude Opus 5
parent 515a6aef04
commit 3214cc877a
6 changed files with 647 additions and 17 deletions
@@ -32,4 +32,8 @@ dependencies {
implementation(libs.shizuku.provider)
implementation(libs.kotlinx.coroutines.android)
implementation(libs.kotlinx.serialization.json)
// JVM unit tests for the pure dump parsers (DumpParsers.kt) against the archived
// vendor fixtures — no device, no Android runtime.
testImplementation(libs.kotlin.test.junit)
testImplementation(libs.junit4)
}