usb: add gadget hal

* Copy from hardware/interfaces/usb/gadget/1.2/default with udc
  path changed and service renamed for Raspberry Pi.
This commit is contained in:
Konsta
2023-09-20 15:25:28 +03:00
parent 1ac293a581
commit 3f4462dd77
10 changed files with 566 additions and 64 deletions

View File

@@ -245,7 +245,8 @@ PRODUCT_PACKAGES += \
# USB
PRODUCT_PACKAGES += \
android.hardware.usb-service.example
android.hardware.usb-service.example \
android.hardware.usb.gadget@1.2-service.rpi
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \