server_service_aidl

command
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2026 License: CC0-1.0 Imports: 10 Imported by: 0

Documentation

Overview

Register a Go binder service using a generated AIDL stub.

Same functionality as server_service (ping + echo), but uses the generated IPingService proxy and stub from com/example/ipingservice.go instead of raw OnTransaction + WriteString16. The AIDL source is at tools/pkg/3rdparty/examples/aidl/com/example/IPingService.aidl.

Build:

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

Jump to

Keyboard shortcuts

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