- Jun 13, 2019
-
- May 23, 2019
-
-
Jack Pham authored
Fix the vintf manifest fragments to refer to the HAL's correct name, "android.hardware.usb", without the trailing ".gadget", which corresponds to the binary name. This allows Android hwbinder to properly instantiate the service. Change-Id: If88bf58bbbc1cf22ee0e873ad930a6fe09a0503a
-
- May 10, 2019
-
-
Jack Pham authored
Normally to enable this component for inclusion in a target's vendor image, the PRODUCT_PACKAGES of the target's makefile must include this module. Additionally, for a HAL it must also be added to the vintf manifest. To support self-containment of this component, vendor_product.mk is defined with the above definitions, and is "picked up" by a target via symlink defined in the top-level manifest. The vintf xml files can live under /vendor/etc/vintf/manifest as vintf fragments. Since USB Gadget HAL is optional, this can be conditionally included. Change-Id: I91d81ccfe45014777c3e10c93d86d1266fe1e409
-
- May 02, 2019
-
-
Jack Pham authored
Introduce a property ro.vendor.usb.use_gadget_hal to be defined in a target's build/default.prop to allow USB HAL to be enabled without USB Gadget HAL. Change-Id: I57eb91138cc968086da0c7475da417be9e44e83b
-
Jack Pham authored
Now that the module supports both the USB Gadget HAL (which handles composition switching) as well as the USB 1.1 HAL (which supports Type-C and dual-role functionality), rename this service by dropping 'gadget' from the executable and service name. Change-Id: Ibb98af880705d739d1569d4b0978ee670d954062
-
Jack Pham authored
Add implementation for IUsb (not to be confused with IUsbGadget) HAL which provides abstraction for querying and notification of USB port status changes. It is primarily meant for Type-C ports that support changing roles dynamically. This implements version 1.1 of IUsb. Unlike the default 1.0 implementation bundled with AOSP, this version supports getting port status using the Type-C connector class interface found in upstream kernel. This code is adopted from https://android.googlesource.com/device/google/wahoo/+/refs/heads/master/usb/ Change-Id: I43c5e0214989d6ce650fbacb23d1bb0b592f2dfc
-
- Sep 12, 2018
-
-
Vijayavardhan Vennapusa authored
Some platforms support RNDIS/RMNET tethering over SW path. So, add required support to add rules for RNDIS/RMNET over SW path for those platforms. Also fix NULL pointer dereference that could be seen on some platforms where /sys/bus/esoc/ path not exist. Change-Id: I5f5721403d16d77ba8e88b466ec4401d7eef4974
-
- Jun 06, 2018
-
-
Jack Pham authored
Add implementation for USB Gadget HAL. This HAL is called by the framework in order to configure the composition of USB xgadget functions, which had previously been handled by init.rc property triggers. The HAL implementation provides improved performance and additional flexibility not offered by Android init syntax. Enablement of this HAL is done in the target-specific makefile and manifest. Change-Id: I909db39f93e13871d72607cc5de6aec98a383798
-
- May 14, 2018
-
-
Git User authored
-