aidl_bridge

command
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2026 License: CC0-1.0 Imports: 9 Imported by: 0

Documentation

Overview

Expose a bridge service that forwards calls to another binder service.

Demonstrates using a generated AIDL stub to create a "bridge" service that wraps another binder service. The bridge intercepts ping/echo calls and can log, transform, or rate-limit them before forwarding.

This extends the server_service concept by showing how a Go binder service can act as an intermediary (proxy/bridge) between clients and an underlying service.

Build:

GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o build/aidl_bridge ./examples/aidl_bridge/
adb push build/aidl_bridge /data/local/tmp/ && adb shell /data/local/tmp/aidl_bridge

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL