Expand description
smix-adb — Android Debug Bridge (adb) child_process wrapper.
Counterpart of smix_simctl::SimctlClient for Android. Used by
smix_sdk::AndroidDeviceControl (v6.0 c2) to implement the
DeviceControl trait on Android.
Per docs/plan-cold/v6-android-master.md §1 v6.0 c2 — skeleton with
parser unit tests + command dispatch + error envelope. Real-device
invocations need a booted emulator (acceptance gated by ignore
attribute on tests requiring live adb).
§Wire model
Each AdbClient method spawns adb -s <serial> <subcommand> ... via
tokio process, captures stdout+stderr, surfaces non-zero exit / spawn
failure as AdbError variants. No retries — caller-side concern.
Structs§
Enums§
- AdbError
- Failure variants for any
adbinvocation.
Functions§
- parse_
devices_ stdout - Parse
adb devices -lstdout intoAdbDeviceentries.