mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
This change introduces two new values to UsbDataStatus enum to denote status of Usb data. Previously, UsbDataStatus enum contained DISABLED_DOCK which indicated that USB data is disabled due to a docking event. Depending on the hardware design, some architectures might only disable USB host mode or USB gadget mode selectively when docked. This change adds enum values to denote them. DISABLED_HOST_DOCK indicates USB host mode disabled due to docking event. DISABLED_DEVICE_DOCK indicates device mode disabled due to docking event. DISABLED_DOCK, DISABLED_HOST_DOCK, DISABLED_DEVICE_DOCK are mutually exclusive. Bug: 250522538 Change-Id: I7767bff94a7e5869a734f45e5bd4dba4d4d5fc6d Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>