commit | b48b6e28cb300716b52e6ebdf44d31cbd33a7202 | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Tue Feb 15 12:33:42 2022 -0800 |
committer | Yu Shan <shanyu@google.com> | Thu Feb 24 15:05:08 2022 -0800 |
tree | 8e2c316b8d0d2cb2f8f2bcb52bda27f48b6e4848 | |
parent | a123e7688d386aa99df46ed1ea2f79f1f75cffc7 [diff] [blame] |
Improve getPropConfigs and error logging. This CL improves getPropConfigs to return INVALID_ARG when one of the prop ID is not found according to the AIDL interface definition. This CL also improves logging to print out exception code. This CL also updates service manifest to be consistent with https://source.android.com/devices/architecture/aidl/aidl-hals Test: atest DefaultVehicleHalTest Bug: 219782023, 219612366 Change-Id: I96b091c5cf6641ab7d1df5c644bde7491cbaa5e7
diff --git a/automotive/vehicle/aidl/impl/vhal/vhal-default-service.xml b/automotive/vehicle/aidl/impl/vhal/vhal-default-service.xml index 8d237b8..4d587ee 100644 --- a/automotive/vehicle/aidl/impl/vhal/vhal-default-service.xml +++ b/automotive/vehicle/aidl/impl/vhal/vhal-default-service.xml
@@ -1,11 +1,7 @@ <manifest version="1.0" type="device"> <hal format="aidl"> <name>android.hardware.automotive.vehicle</name> - <transport>hwbinder</transport> <version>1</version> - <interface> - <name>IVehicle</name> - <instance>default</instance> - </interface> + <fqname>IVehicle/default</fqname> </hal> </manifest>