commit | 020dd72d0e9228b56a03f74180208f0489d87d03 | [log] [tgz] |
---|---|---|
author | Prabir Pradhan <prabirmsp@google.com> | Fri Sep 08 20:28:55 2023 +0000 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Tue Sep 12 19:30:25 2023 +0000 |
tree | e3fa9eee9ae03bf68d34f8eb557289388272fef8 | |
parent | a67a1d9ea5ce99bdba4b05841e703657e7b00976 [diff] |
Metrics collector: Log a separate bus for USI styluses For USI styluses, Vendor IDs are assigned by USI, and are different from the Vendor IDs for USB devices. Therefore, to identify a device from its VID/PID, we need to know whether it is reporting USB product/vendor IDs or USI ones. Here, we introduce USI as a new bus enum value for metrics purposes. This way, we can differentiate product identifiers based on the bus through which it is using. Bug: 299645968 Test: atest inputflinger_tests (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:67d09ca888757c66e046c2e2543235eb30639327) Merged-In: I954e5a7c3db7d1ae3d0c6906923848fe5ced84f1 Change-Id: I954e5a7c3db7d1ae3d0c6906923848fe5ced84f1