Skip to content

feat(adb): add adb devices command wrapper (#5) - #41

Merged
SamratB8 merged 1 commit into
devfrom
feature/adb-devices-wrapper
Jul 15, 2026
Merged

feat(adb): add adb devices command wrapper (#5)#41
SamratB8 merged 1 commit into
devfrom
feature/adb-devices-wrapper

Conversation

@SamratB8

Copy link
Copy Markdown
Collaborator

Summary

Adds a thin adb devices command wrapper to WinDroid.Adb.

Changes

  • added AdbDeviceService
  • added GetDevicesAsync
  • uses the existing ProcessRunner
  • accepts a caller-supplied resolved ADB path
  • passes exactly one argument: devices
  • forwards timeout and cancellation unchanged
  • returns the raw CommandResult unchanged

Validation

  • Debug build: 0 warnings, 0 errors
  • Release build: 0 warnings, 0 errors
  • git diff --check: clean
  • scratch harness: 14/14 checks passed
  • fake ADB confirmed the exact argument list was ["devices"]
  • stdout and stderr were preserved verbatim
  • timeout, cancellation, startup failure, and non-zero exits flowed through unchanged

No device parsing, device models, UI work, dependency-injection registration, retries, logging, or Issue #6 behavior were included.

Closes #5.

@SamratB8
SamratB8 merged commit 6099fe5 into dev Jul 15, 2026
2 checks passed
@SamratB8
SamratB8 deleted the feature/adb-devices-wrapper branch July 15, 2026 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant