Implement your own HIDL
This note will explain the purpose of HIDL (.hal), how to implment, how to build and how to use those libraries?
HIDL | Android Open Source Project
Purpose:
HIDL is intended to be used for inter-process communication (IPC).
Some HALs are using another IPC methods like JNI or Socket to communicate with processes.

