I have an AOSP build with a custom HAL layer service and I would like to know if it is at all possible to call the interface from Java.
The documentation from Google suggests you can (https://source.android.com/devices/architecture/hidl-java#modifying-your-java-source) but it isn't clear in terms of where you get the interface for the #import statement.
On my side I have the C++ code and the .hal file(s) but it isn't clear to me how to actually get to the point of importing these (Android Studio?) for Java to be able to access them.