(UsbDevice removeddevice)
| 337 | } |
| 338 | |
| 339 | private synchronized void removeAvailable(UsbDevice removeddevice) { |
| 340 | Iterator<UsbDeviceInterface> iter = interfaces.iterator(); |
| 341 | while (iter.hasNext()) { |
| 342 | UsbDeviceInterface iface = iter.next(); |
| 343 | if (iface.isDevice(removeddevice)) { |
| 344 | iface.onDisconnect(); |
| 345 | iter.remove(); |
| 346 | } |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | private UsbSerialHelper(Context context) throws IOException { |
| 351 | this.context = context; |
no test coverage detected