Home
last modified time | relevance | path

Searched refs:intf (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpClient.java149 UsbInterface intf = device.getInterface(i); in isCamera() local
150 if (intf.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isCamera()
151 intf.getInterfaceSubclass() == 1 && in isCamera()
152 intf.getInterfaceProtocol() == 1) { in isCamera()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpClient.java152 UsbInterface intf = device.getInterface(i); in isCamera() local
153 if (intf.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isCamera()
154 intf.getInterfaceSubclass() == 1 && in isCamera()
155 intf.getInterfaceProtocol() == 1) { in isCamera()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceHandlerResolver.java305 UsbInterface intf = device.getInterface(i); in matches() local
306 if (matches(intf.getInterfaceClass(), intf.getInterfaceSubclass(), in matches()
307 intf.getInterfaceProtocol())) { in matches()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
DUsbDeviceHandlerResolver.java300 UsbInterface intf = device.getInterface(i); in matches() local
301 if (matches(intf.getInterfaceClass(), intf.getInterfaceSubclass(), in matches()
302 intf.getInterfaceProtocol())) { in matches()