summaryrefslogtreecommitdiff
path: root/services/usb/Android.bp
diff options
context:
space:
mode:
author Badhri Jagan Sridharan <badhri@google.com> 2021-11-24 23:41:27 -0800
committer Ricky Niu <rickyniu@google.com> 2022-01-21 16:04:33 +0800
commitbbfa92e69402894dc0ec3906b33489af53c2eb1a (patch)
tree8c9cef3172b1c6cc6eaab7d59fae26b1b35adb94 /services/usb/Android.bp
parent4b3f04314a13aa4791b08cd946564334708de5d3 (diff)
Support IUsb AIDL interface
UsbPortManager is made to support both AIDL & HIDL interface until HIDL is deprecated eventually. UsbPortHal abstract class is defined which the UsbPortManager grabs an instance of from UsbPortHalInstance method to talk to the Hal implementation process. UsbPortHalInstance queries the underlying hal implementation and instantiates UsbPortHal with either UsbPortHidl or UsbPortAidl based on the IUsb interface implemented by HAL implementation. go/iusb-aidl-migrate. Bug: 200993386 Bug: 199357330 Bug: 211677613 Bug: 213312081 Bug: 199358576 Test: Manually tested through UI. CTS-Coverage-Bug: 215019881 Change-Id: I246fd6e5bee8138d3ad3b6994665a1d4788c8789
Diffstat (limited to 'services/usb/Android.bp')
-rw-r--r--services/usb/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/usb/Android.bp b/services/usb/Android.bp
index 01feacd826c5..3b50fa43536c 100644
--- a/services/usb/Android.bp
+++ b/services/usb/Android.bp
@@ -29,6 +29,7 @@ java_library_static {
"android.hardware.usb-V1.1-java",
"android.hardware.usb-V1.2-java",
"android.hardware.usb-V1.3-java",
+ "android.hardware.usb-V1-java",
"android.hardware.usb.gadget-V1.0-java",
"android.hardware.usb.gadget-V1.1-java",
"android.hardware.usb.gadget-V1.2-java",