Searched refs:usbInterface (Results 1 – 2 of 2) sorted by relevance
44 UsbInterface usbInterface = usbDevice.getInterface(i); in getUSBDeviceListString() local46 sb.append(" Class: " + usbInterface.getInterfaceClass() + "\n"); in getUSBDeviceListString()59 UsbInterface usbInterface = usbDevice.getInterface(i); in getIsMicrophoneConnected() local60 if (usbInterface.getInterfaceClass() == UsbConstants.USB_CLASS_AUDIO) { in getIsMicrophoneConnected()
373 final UsbInterface usbInterface = device.getInterface(i);374 if ((usbInterface.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE &&375 usbInterface.getInterfaceSubclass() == SUBCLASS_STILL_IMAGE_CAPTURE &&376 usbInterface.getInterfaceProtocol() == PROTOCOL_PICTURE_TRANSFER)) {379 if (usbInterface.getInterfaceClass() == UsbConstants.USB_SUBCLASS_VENDOR_SPEC &&380 usbInterface.getInterfaceSubclass() == SUBCLASS_MTP &&381 usbInterface.getInterfaceProtocol() == PROTOCOL_MTP &&382 "MTP".equals(usbInterface.getName())) {