Home
last modified time | relevance | path

Searched refs:usbInterface (Results 1 – 2 of 2) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUsbMicrophoneTester.java44 UsbInterface usbInterface = usbDevice.getInterface(i); in getUSBDeviceListString() local
46 sb.append(" Class: " + usbInterface.getInterfaceClass() + "\n"); in getUSBDeviceListString()
59 UsbInterface usbInterface = usbDevice.getInterface(i); in getIsMicrophoneConnected() local
60 if (usbInterface.getInterfaceClass() == UsbConstants.USB_CLASS_AUDIO) { in getIsMicrophoneConnected()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/mtp/
DMtpHostTestActivity.java373 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())) {