What problem does it solve?
Manually writing native Binder services is error-prone, and this Skill helps you design, review, and debug libbinder-based IPC code for AOSP without missing transaction, parcel, or threading details.
Core Features & Use Cases
- Interface Pattern Guidance: Defines the IInterface, BnInterface, and BpInterface structure for manual Binder APIs.
- Parcel and Transaction Handling: Shows how to serialize data correctly, validate interface tokens, and dispatch onTransact calls safely.
- Service Lifecycle Support: Covers ServiceManager registration, client lookup, thread pool setup, and death notifications for robust runtime behavior.
- Use Cases: Ideal for maintaining existing platform services, implementing vendor native services, and reviewing Binder code for correctness and concurrency risks.
Quick Start
Ask for a native Binder service implementation or review plan for your AOSP service, including the interface, proxy, stub, service registration, and client-side usage.