(UsbDevice device, int iface,
boolean withSerialNumber)
| 98 | } |
| 99 | |
| 100 | private static String makePortId(UsbDevice device, int iface, |
| 101 | boolean withSerialNumber) { |
| 102 | String id = makeDeviceId(device, withSerialNumber); |
| 103 | |
| 104 | if (iface > 0) |
| 105 | /* a secondary interface on the same device: append the |
| 106 | interface index */ |
| 107 | id += "#" + iface; |
| 108 | |
| 109 | return id; |
| 110 | } |
| 111 | |
| 112 | final class UsbDeviceInterface { |
| 113 | public final UsbDevice device; |
no test coverage detected