exynos9610: USB HAL: Use 1.1 IUsb intead of 1.0 IUsb
authorBadhri Jagan Sridharan <Badhri@google.com>
Wed, 28 Jun 2017 00:03:49 +0000 (17:03 -0700)
committerJan Altensen <info@stricted.net>
Sun, 1 Nov 2020 02:06:27 +0000 (03:06 +0100)
Use 1.1 IUsb in order to make register the service as 1.1 compatible.
This enables lshal to recognize the hal service as 1.1 implementation.

Bug: 62917546
Test: Manually verified lshal output
android.hardware.usb@1.0::IUsb/default   0/1             782     6024 568
android.hardware.usb@1.1::IUsb/default   0/1             782     6024 568

Change-Id: I9b0817841dbcc345a1d854ee4a5193797181ea3f

hidl/usb/Usb.h
hidl/usb/service.cpp

index bfa63aecef85a1c0ea4941b539b08062a204bc47..dfd48ca52dad2f30d5ca6908c05856c5d2e3d6b4 100644 (file)
@@ -25,7 +25,7 @@ using ::android::hardware::usb::V1_0::PortRoleType;
 using ::android::hardware::usb::V1_0::PortDataRole;
 using ::android::hardware::usb::V1_0::PortPowerRole;
 using ::android::hardware::usb::V1_0::Status;
-using ::android::hardware::usb::V1_0::IUsb;
+using ::android::hardware::usb::V1_1::IUsb;
 using ::android::hardware::usb::V1_1::IUsbCallback;
 using ::android::hardware::usb::V1_1::PortMode_1_1;
 using ::android::hardware::usb::V1_1::PortStatus_1_1;
index 495d76f597ddeb3523cdfaeff9dd01530069b6d4..5fffc4cefe622123d0d971e83bab5dfc16d23145 100644 (file)
@@ -26,7 +26,7 @@ using android::hardware::configureRpcThreadpool;
 using android::hardware::joinRpcThreadpool;
 
 // Generated HIDL files
-using android::hardware::usb::V1_0::IUsb;
+using android::hardware::usb::V1_1::IUsb;
 using android::hardware::usb::V1_1::implementation::Usb;
 
 using android::status_t;