HomeSort by relevance Sort by last modified time
    Searched refs:usbDevice (Results 1 - 4 of 4) sorted by null

  /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
MtpClient.java 25 import android.hardware.usb.UsbDevice;
67 UsbDevice usbDevice = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE);
68 String deviceName = usbDevice.getDeviceName();
75 mtpDevice = openDeviceLocked(usbDevice);
95 mtpDevice = openDeviceLocked(usbDevice);
129 * Tests to see if a {@link android.hardware.usb.UsbDevice}
135 static public boolean isCamera(UsbDevice device) {
165 * Opens the {@link android.hardware.usb.UsbDevice} for an MTP or PT
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
MtpClient.java 26 import android.hardware.usb.UsbDevice;
75 UsbDevice usbDevice = (UsbDevice)intent.getParcelableExtra(UsbManager.EXTRA_DEVICE);
76 String deviceName = usbDevice.getDeviceName();
83 mtpDevice = openDeviceLocked(usbDevice);
106 mtpDevice = openDeviceLocked(usbDevice);
143 * Tests to see if a {@link android.hardware.usb.UsbDevice}
149 static public boolean isCamera(UsbDevice device) {
179 * Opens the {@link android.hardware.usb.UsbDevice} for an MTP or PT
    [all...]
  /system/core/adb/
usb_osx.c 121 io_service_t usbDevice;
163 kr = (*iface)->GetDevice(iface, &usbDevice);
164 if (kIOReturnSuccess != kr || !usbDevice) {
172 kr = IOCreatePlugInInterfaceForService(usbDevice,
177 (void)IOObjectRelease(usbDevice);
  /external/libusb/libusb/os/
darwin_usb.c 154 io_service_t usbDevice;
162 while ((usbDevice = IOIteratorNext(deviceIterator))) {
163 result = IOCreatePlugInInterfaceForService(usbDevice, kIOUSBDeviceUserClientTypeID,
172 if (!usbDevice)
175 (void)IOObjectRelease(usbDevice);
    [all...]

Completed in 3157 milliseconds