device_google_gs101/usb/usb
Roy Luo 1376a71a65 usb: adjust heuristics for flaky connection warning
The state count requirement is very specific to the case where the
signal integrity is the culprit of flaky connection. However,
there could be other cases such as bad receptacles causing data pins
to disconnect randomly.
Remove the state count requirement to cover more cases.

Bug: 296119135
Test: manually trigger the warnings
Change-Id: Ic2ae376ad6062d9930614381503f44e4a5ac760f
(cherry picked from commit 5e14ba01be9acc31d3df0f506b4287eea0bf9583)
2023-12-26 22:33:58 +00:00
..
Android.bp Revert^2 "usb: introduce UsbDataSessionMonitor class" 2023-12-09 00:22:03 +00:00
android.hardware.usb-service.rc init: update i2c bus numbers and move initialization to ueventd 2023-10-02 16:28:59 +00:00
android.hardware.usb-service.xml usb: update usb hal version to v3 2023-11-14 20:44:30 +00:00
service.cpp Migrate IUsb implementation to AIDL 2022-01-22 01:20:15 +00:00
Usb.cpp Revert^2 "usb: introduce UsbDataSessionMonitor class" 2023-12-09 00:22:03 +00:00
Usb.h Revert^2 "usb: introduce UsbDataSessionMonitor class" 2023-12-09 00:22:03 +00:00
UsbDataSessionMonitor.cpp usb: adjust heuristics for flaky connection warning 2023-12-26 22:33:58 +00:00
UsbDataSessionMonitor.h usb: implement heuristics to flag data compliance warnings 2023-12-26 22:33:49 +00:00