Expand description
NDK binder primitives for querying Android system services.
Uses dlopen on libbinder_ndk.so to avoid hard-linking against a library
absent from older NDK toolchains or non-Android targets.
All public types are gated on #[cfg(target_os = "android")]. On other
targets every entry point returns CoreError::Binder.
§Transaction code resolution
IActivityManager transaction codes are AIDL-generated and shift with each
AOSP release. Resolution order (no subprocess required):
- Parse
/data/local/tmp/coreshift/tx_code.txtif present (written by fgw). - Look up a known code from the
ro.build.version.sdkproperty table. - Linear probe codes in a narrow SDK-version-dependent window.