Clients for a Custom Binderized HAL

Android’s newer binderized HAL, HIDL, is a fundamental shift in the way that OEMs and vendors provide platform-specific support for a device. Not only does this impact the OEM/vendor implementation of a custom HAL, the code that utilizes the backing HIDL is also different than a traditional HAL. Client apps may be written in native C/C++ or Java code but no longer require special vendor-provided libraries to be bundled with the system. Similarly, the platform automatically builds Java-side support, removing the need for a custom JNI layer to take advantage of the HAL implementation.

HIDL client executables are similar in function to pre-Android 8 daemons or Android services that leveraged traditional HAL ...

Get Inside the Android OS: Building, Customizing, Managing and Operating Android System Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.