device_google_zumapro/usb/gadget
RD Babiera f1140a12b1 usb: Runtime search the i2c path
The paths of sysfs nodes are different across kernel versions
and i2c bus assignement. Runtime search the correct ones.

Test: Manual test on device. Confirm that file reads related to
      file path error do not trigger error.
Bug: 318820040
Change-Id: I1217fcea012865cebe12c935917f12903003fd5b
(ported from commit 0b768c8fbe1e59a4b9efa7b5f7b6a017a81d46fb)
Signed-off-by: RD Babiera <rdbabiera@google.com>
2024-01-30 17:56:51 +00:00
..
Android.bp init zumapro from zuma sha 4daedb8feb4d4 2023-03-31 15:10:16 +00:00
android.hardware.usb.gadget-service.rc usb: add all i2c number 2023-08-24 15:45:35 +08:00
android.hardware.usb.gadget-service.xml init zumapro from zuma sha 4daedb8feb4d4 2023-03-31 15:10:16 +00:00
service_gadget.cpp init zumapro from zuma sha 4daedb8feb4d4 2023-03-31 15:10:16 +00:00
UsbGadget.cpp usb: Runtime search the i2c path 2024-01-30 17:56:51 +00:00
UsbGadget.h usb: Runtime search the i2c path 2024-01-30 17:56:51 +00:00