Searched refs:usbInterface (Results 1 – 3 of 3) sorted by relevance
138 final UsbInterface usbInterface = device.getInterface(i); in isMtpDevice() local139 if ((usbInterface.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isMtpDevice()140 usbInterface.getInterfaceSubclass() == SUBCLASS_STILL_IMAGE_CAPTURE && in isMtpDevice()141 usbInterface.getInterfaceProtocol() == PROTOCOL_PTP)) { in isMtpDevice()144 if (usbInterface.getInterfaceClass() == UsbConstants.USB_SUBCLASS_VENDOR_SPEC && in isMtpDevice()145 usbInterface.getInterfaceSubclass() == SUBCLASS_MTP && in isMtpDevice()146 usbInterface.getInterfaceProtocol() == PROTOCOL_MTP && in isMtpDevice()147 "MTP".equals(usbInterface.getName())) { in isMtpDevice()
298 final UsbInterface usbInterface = device.getInterface(i); in isMtpDevice() local299 if ((usbInterface.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isMtpDevice()300 usbInterface.getInterfaceSubclass() == SUBCLASS_STILL_IMAGE_CAPTURE && in isMtpDevice()301 usbInterface.getInterfaceProtocol() == PROTOCOL_PICTURE_TRANSFER)) { in isMtpDevice()304 if (usbInterface.getInterfaceClass() == UsbConstants.USB_SUBCLASS_VENDOR_SPEC && in isMtpDevice()305 usbInterface.getInterfaceSubclass() == SUBCLASS_MTP && in isMtpDevice()306 usbInterface.getInterfaceProtocol() == PROTOCOL_MTP && in isMtpDevice()307 "MTP".equals(usbInterface.getName())) { in isMtpDevice()
49 UsbInterface usbInterface = device.getInterface(i); in possiblyAndroid() local50 String interfaceName = usbInterface.getName(); in possiblyAndroid()