platform_hardware_interfaces/automotive/can/1.0/Android.bp
Tomasz Wasilczyk a90619662b Improve error handling with separate ICanErrorListener
Error handling highlights:
- moved onError from ICanMessageListener to ICanErrorListener
- added isFatal callback argument to request client disconnect
- don't down interface that's already down

Also:
- don't crash if it's not possible to unregister ICanBus
- don't crash while trying to down interface that failed
- make hidl-utils available to vendor libraries

Bug: 143779011
Test: implemented a VHAL service prototype that communicates with this HAL
Change-Id: I98d054da9da0ead5ef952aebc086e052ac996212
2019-11-06 14:52:07 -08:00

21 lines
463 B
Text

// This file is autogenerated by hidl-gen -Landroidbp.
hidl_interface {
name: "android.hardware.automotive.can@1.0",
root: "android.hardware",
vndk: {
enabled: true,
},
srcs: [
"types.hal",
"ICanBus.hal",
"ICanController.hal",
"ICanErrorListener.hal",
"ICanMessageListener.hal",
"ICloseHandle.hal",
],
interfaces: [
"android.hidl.base@1.0",
],
gen_java: true,
}