I want to know whether specific HAL or HIDL interface is available on an Android device.
It better if there is a way to get the list of available binderized HAL services, passthrough HALs and their HIDL interfaces.
Try this command.
adb shell lshal
lshal tool lists all binderized HALs and available passthrough HAL implementations (all -impl.so files).