/cts/apps/cts-usb-accessory/ |
cts-usb-accessory.c | 97 struct usb_interface_descriptor *intf = NULL; local 106 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) { 108 intf = (struct usb_interface_descriptor *)desc; 117 if (!intf) { 126 if (usb_device_claim_interface(device, intf->bInterfaceNumber)) {
|
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
accessorychat.c | 105 struct usb_interface_descriptor *intf = NULL; local 113 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) { 115 intf = (struct usb_interface_descriptor *)desc; 124 if (!intf) { 133 if (usb_device_claim_interface(device, intf->bInterfaceNumber)) {
|
/external/javassist/src/main/javassist/bytecode/analysis/ |
MultiType.java | 179 CtClass intf = (CtClass)iter.next(); local 180 map.put(intf.getName(), intf); local 181 getAllInterfaces(intf, map);
|
Type.java | 486 Object intf = i.next(); local 487 typeMap.remove(intf); 488 thisMap.remove(intf); 507 CtClass intf = (CtClass) i.next(); local 510 interfaces = intf.getInterfaces(); 532 CtClass intf = interfaces[i]; local 533 map.put(intf.getName(), intf); local 534 getAllInterfaces(intf, map); 561 CtClass intf = interfaces[i] local 562 map.put(intf.getName(), intf); local [all...] |
/external/bluetooth/bluez/tools/ |
avctrl.c | 82 int err, intf = 2; local 99 if (usb_claim_interface(udev, intf) < 0) { 106 HID_REQ_SET_REPORT, 0x03 << 8, intf, buf, sizeof(buf), 10000); 116 usb_release_interface(udev, intf);
|
dfutool.c | 120 int i, intf, sel = 0, num = 0, try = 5, bus_id = -1, dev_id = -1; local 177 intf = get_interface_number(dfu_dev[sel]); 186 if (usb_claim_interface(udev, intf) < 0) { 192 if (dfu_get_status(udev, intf, &status) < 0) { 198 if (dfu_clear_status(udev, intf) < 0) { 202 if (dfu_abort(udev, intf) < 0) { 206 if (dfu_get_status(udev, intf, &status) < 0) { 235 if (dfu_detach(udev, intf) < 0) { 240 if (dfu_get_status(udev, intf, &status) < 0) { 250 usb_release_interface(udev, intf); [all...] |
/development/samples/USB/AdbTest/src/com/android/adb/ |
AdbTestActivity.java | 61 UsbInterface intf = findAdbInterface(device); local 62 if (setAdbInterface(device, intf)) { 120 private boolean setAdbInterface(UsbDevice device, UsbInterface intf) { 131 if (device != null && intf != null) { 135 if (connection.claimInterface(intf, false)) { 139 mInterface = intf; 140 mAdbDevice = new AdbDevice(this, mDeviceConnection, intf); 165 UsbInterface intf = device.getInterface(i); local 166 if (intf.getInterfaceClass() == 255 && intf.getInterfaceSubclass() == 66 & [all...] |
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
MissileLauncherActivity.java | 120 UsbInterface intf = device.getInterface(0); local 122 if (intf.getEndpointCount() != 1) { 127 UsbEndpoint ep = intf.getEndpoint(0); 136 if (connection != null && connection.claimInterface(intf, true)) {
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
MtpClient.java | 138 UsbInterface intf = device.getInterface(i); local 139 if (intf.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && 140 intf.getInterfaceSubclass() == 1 && 141 intf.getInterfaceProtocol() == 1) {
|
/frameworks/base/services/java/com/android/server/usb/ |
UsbHostManager.java | 122 int intf, endp, ival = 0, eval = 0; local 123 for (intf = 0; intf < numInterfaces; intf++) { 144 interfaces[intf] = new UsbInterface(interfaceId, interfaceClass,
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
MtpClient.java | 151 UsbInterface intf = device.getInterface(i); local 152 if (intf.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && 153 intf.getInterfaceSubclass() == 1 && 154 intf.getInterfaceProtocol() == 1) {
|
/development/ndk/platforms/android-3/include/ |
zconf.h | 55 # define intf z_intf macro 273 typedef int FAR intf; typedef
|
/external/chromium/sdch/open-vcdiff/src/ |
zconf.h | 55 # define intf z_intf macro 273 typedef int FAR intf; typedef
|
/external/qemu/distrib/zlib-1.2.3/ |
zconf.h | 55 # define intf z_intf macro 273 typedef int FAR intf; typedef
|
/external/zlib/ |
zconf.in.h | 55 # define intf z_intf macro 273 typedef int FAR intf; typedef
|
zconf.h | 118 # define intf z_intf macro 345 typedef int FAR intf; typedef
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/ |
zconf.h | 55 # define intf z_intf macro 273 typedef int FAR intf; typedef
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/ |
zconf.h | 55 # define intf z_intf macro 273 typedef int FAR intf; typedef
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/ |
zconf.h | 55 # define intf z_intf macro 273 typedef int FAR intf; typedef
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/ |
zconf.h | 55 # define intf z_intf macro 273 typedef int FAR intf; typedef
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/ |
zconf.h | 55 # define intf z_intf macro 273 typedef int FAR intf; typedef
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/ |
zconf.h | 55 # define intf z_intf macro 273 typedef int FAR intf; typedef
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/ |
zconf.h | 55 # define intf z_intf macro 273 typedef int FAR intf; typedef
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/ |
zconf.h | 55 # define intf z_intf macro 273 typedef int FAR intf; typedef
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/ |
zconf.h | 55 # define intf z_intf macro 273 typedef int FAR intf; typedef
|