/external/chromium_org/chrome/browser/usb/ |
usb_device_handle.cc | 123 const int interface_number); 145 const scoped_refptr<UsbDeviceHandle> handle, const int interface_number) 147 interface_number_(interface_number), 296 bool UsbDeviceHandle::ClaimInterface(const int interface_number) { 299 if (ContainsKey(claimed_interfaces_, interface_number)) return true; 302 new InterfaceClaimer(this, interface_number); 305 claimed_interfaces_[interface_number]= claimer; 312 bool UsbDeviceHandle::ReleaseInterface(const int interface_number) { 315 if (!ContainsKey(claimed_interfaces_, interface_number)) return false; 319 claimed_interfaces_[interface_number].get() [all...] |
usb_device_handle.h | 73 virtual bool ClaimInterface(const int interface_number); 74 virtual bool ReleaseInterface(const int interface_number); 76 const int interface_number,
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
wince_usb.c | 494 int interface_number) 497 if (!UkwClaimInterface(priv->dev, interface_number)) { 505 int interface_number) 508 if (!UkwSetInterfaceAlternateSetting(priv->dev, interface_number, 0)) { 511 if (!UkwReleaseInterface(priv->dev, interface_number)) { 519 int interface_number, int altsetting) 522 if (!UkwSetInterfaceAlternateSetting(priv->dev, interface_number, altsetting)) { 554 int interface_number) 558 if (!UkwKernelDriverActive(priv->dev, interface_number, &result)) { 566 int interface_number) [all...] |
windows_usb.c | 719 static int auto_claim(struct libusb_transfer *transfer, int *interface_number, int api_type) 725 int current_interface = *interface_number; 764 *interface_number = current_interface; 778 if (handle_priv->autoclaim_count[transfer_priv->interface_number] > 0) { 779 handle_priv->autoclaim_count[transfer_priv->interface_number]--; 780 if (handle_priv->autoclaim_count[transfer_priv->interface_number] == 0) { 781 r = libusb_release_interface(dev_handle, transfer_priv->interface_number); 783 usbi_dbg("auto-released interface %d", transfer_priv->interface_number); 786 transfer_priv->interface_number, libusb_error_name((enum libusb_error)r)); 1248 int interface_number; local [all...] |
wince_usb.h | 129 uint8_t interface_number; member in struct:wince_transfer_priv
|
windows_usb.h | 292 uint8_t interface_number; member in struct:windows_transfer_priv
|
/development/host/windows/usb/winusb/ |
adb_winusb_interface.cpp | 93 if (!WinUsb_QueryInterfaceSettings(winusb_handle(), interface_number(),
105 if (!WinUsb_QueryPipe(winusb_handle(), interface_number(), endpoint,
259 if (!WinUsb_QueryPipe(winusb_handle(), interface_number(), endpoint_index,
269 info->setting_index = interface_number();
|
adb_winusb_interface.h | 176 UCHAR interface_number() const {
function in class:AdbWinUsbInterfaceObject
|
/external/chromium_org/third_party/libusb/src/libusb/ |
core.c | [all...] |
libusbi.h | 769 int (*claim_interface)(struct libusb_device_handle *handle, int interface_number); 786 int (*release_interface)(struct libusb_device_handle *handle, int interface_number); 803 int interface_number, int altsetting); 850 int interface_number); 866 int interface_number); 883 int interface_number); [all...] |
descriptor.c | 222 int interface_number = -1; local 271 if (interface_number == -1) 272 interface_number = ifp->bInterfaceNumber; 353 ifp->bInterfaceNumber != interface_number) [all...] |
libusb.h | [all...] |
/external/libusb/libusb/ |
core.c | [all...] |
libusb.h | 811 int interface_number, int alternate_setting); [all...] |
/external/chromium_org/chrome/browser/extensions/api/usb/ |
usb_api.cc | 371 int interface_number, 378 descriptor.interface_number = interface_number; 888 bool success = device_handle->ClaimInterface(parameters_->interface_number); 910 bool success = device_handle->ReleaseInterface(parameters_->interface_number); 934 parameters_->interface_number, [all...] |