platform_hardware_interfaces/usb
Haotien Hsu f3a68a04fc Test: Don't check results when no type-c ports
For those devices without type-c ports, the queryPortStatus test is
always failed.Because there are no PortStatus for the callbacks.
Adding an additional condition branch to skip the results checking when
there are no PortStatus.

Bug: 281643316
(https://partnerissuetracker.corp.google.com/issues/281643316)
Signed-off-by: Haotien Hsu <haotienh@nvidia.com>
(cherry picked from https://android-review.googlesource.com/q/commit:392d530a649b709187fe8bf53512ef234051662f)
Merged-In: Ibf599038b542d5d81a2af9ab2097f2f868be0447
Change-Id: Ibf599038b542d5d81a2af9ab2097f2f868be0447
2023-06-22 20:15:45 +00:00
..
1.0 Create Apex com.android.hardware.usb for usb 1.0 2021-12-03 21:11:47 +00:00
1.1 Test: Don't check results when no type-c ports 2023-06-22 20:15:45 +00:00
1.2 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
1.3 [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces 2021-02-23 14:26:20 -08:00
aidl Freeze AIDL APIs for TM 2022-04-16 07:03:24 +09:00
gadget Enable MS OS descriptors for adb. 2021-12-23 14:36:15 -08:00