Searched refs:usbInterface (Results 1 – 5 of 5) sorted by relevance
140 final UsbInterface usbInterface = device.getInterface(i); in isMtpDevice() local141 if ((usbInterface.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isMtpDevice()142 usbInterface.getInterfaceSubclass() == SUBCLASS_STILL_IMAGE_CAPTURE && in isMtpDevice()143 usbInterface.getInterfaceProtocol() == PROTOCOL_PTP)) { in isMtpDevice()146 if (usbInterface.getInterfaceClass() == UsbConstants.USB_SUBCLASS_VENDOR_SPEC && in isMtpDevice()147 usbInterface.getInterfaceSubclass() == SUBCLASS_MTP && in isMtpDevice()148 usbInterface.getInterfaceProtocol() == PROTOCOL_MTP && in isMtpDevice()149 "MTP".equals(usbInterface.getName())) { in isMtpDevice()
326 final UsbInterface usbInterface = device.getInterface(i); in isMtpDevice() local327 if ((usbInterface.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isMtpDevice()328 usbInterface.getInterfaceSubclass() == SUBCLASS_STILL_IMAGE_CAPTURE && in isMtpDevice()329 usbInterface.getInterfaceProtocol() == PROTOCOL_PICTURE_TRANSFER)) { in isMtpDevice()332 if (usbInterface.getInterfaceClass() == UsbConstants.USB_SUBCLASS_VENDOR_SPEC && in isMtpDevice()333 usbInterface.getInterfaceSubclass() == SUBCLASS_MTP && in isMtpDevice()334 usbInterface.getInterfaceProtocol() == PROTOCOL_MTP && in isMtpDevice()335 "MTP".equals(usbInterface.getName())) { in isMtpDevice()
49 UsbInterface usbInterface = device.getInterface(i); in possiblyAndroid() local50 String interfaceName = usbInterface.getName(); in possiblyAndroid()
93 io_service_t usbInterface; in try_interfaces() local113 while ((usbInterface = IOIteratorNext(iterator))) { in try_interfaces()116 usbInterface, in try_interfaces()123 (void) IOObjectRelease(usbInterface); in try_interfaces()
138 io_service_t usbInterface; in AndroidInterfaceAdded() local152 while ((usbInterface = IOIteratorNext(iterator))) { in AndroidInterfaceAdded()154 kr = IOCreatePlugInInterfaceForService(usbInterface, in AndroidInterfaceAdded()158 IOObjectRelease(usbInterface); in AndroidInterfaceAdded()