Searched refs:intf (Results 1 - 10 of 10) sorted by relevance
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbDeviceConnection.java | 121 * @param intf the interface to claim 125 public boolean claimInterface(UsbInterface intf, boolean force) { argument 126 return native_claim_interface(intf.getId(), force); 134 public boolean releaseInterface(UsbInterface intf) { argument 135 return native_release_interface(intf.getId()); 144 public boolean setInterface(UsbInterface intf) { argument 145 return native_set_interface(intf.getId(), intf.getAlternateSetting());
|
H A D | UsbInterface.java | 175 UsbInterface intf = new UsbInterface(id, alternateSetting, name, Class, subClass, protocol); 176 intf.setEndpoints(endpoints); 177 return intf;
|
H A D | DeviceFilter.java | 193 UsbInterface intf = device.getInterface(i); 194 if (matches(intf.getInterfaceClass(), intf.getInterfaceSubclass(), 195 intf.getInterfaceProtocol())) return true;
|
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
H A D | 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)) {
|
/frameworks/av/media/mtp/ |
H A D | MtpDescriptors.h | 42 struct usb_interface_descriptor intf; member in struct:android::func_desc 49 struct usb_interface_descriptor intf; member in struct:android::ss_func_desc
|
H A D | MtpDescriptors.cpp | 120 .intf = mtp_interface_desc, 127 .intf = mtp_interface_desc, 134 .intf = mtp_interface_desc, 144 .intf = ptp_interface_desc, 151 .intf = ptp_interface_desc, 158 .intf = ptp_interface_desc,
|
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | usb.c | 111 struct usb_interface_descriptor *intf = NULL; local 117 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) { 119 intf = (struct usb_interface_descriptor *)desc; 128 if (!intf) { 137 if (usb_device_claim_interface(device, intf->bInterfaceNumber)) {
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
H A D | MtpClient.java | 138 UsbInterface intf = device.getInterface(i); 139 if (intf.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && 140 intf.getInterfaceSubclass() == 1 && 141 intf.getInterfaceProtocol() == 1) {
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pGroup.java | 245 public void setInterface(String intf) { argument 246 mInterface = intf;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
H A D | WifiP2pServiceImpl.java | 2574 private void startDhcpServer(String intf) { argument 2577 ifcg = mNwService.getInterfaceConfig(intf); 2581 mNwService.setInterfaceConfig(intf, ifcg); 2590 mNwService.tetherInterface(intf); 2593 loge("Error configuring interface " + intf + ", :" + e); 2597 logd("Started Dhcp server on " + intf); 2600 private void stopDhcpServer(String intf) { argument 2602 mNwService.untetherInterface(intf); 2605 if (temp.compareTo(intf) != 0) {
|
Completed in 100 milliseconds