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 Merged-In: I246fd6e5bee8138d3ad3b6994665a1d4788c8789 (cherry picked from commit bbfa92e6)
Loading
Please register or sign in to comment