Searched refs:intf (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbDeviceConnection.java | 105 public boolean claimInterface(UsbInterface intf, boolean force) { in claimInterface() argument 106 return native_claim_interface(intf.getId(), force); in claimInterface() 114 public boolean releaseInterface(UsbInterface intf) { in releaseInterface() argument 115 return native_release_interface(intf.getId()); in releaseInterface() 124 public boolean setInterface(UsbInterface intf) { in setInterface() argument 125 return native_set_interface(intf.getId(), intf.getAlternateSetting()); in setInterface()
|
D | UsbInterface.java | 171 … UsbInterface intf = new UsbInterface(id, alternateSetting, name, Class, subClass, protocol); 172 intf.setEndpoints(endpoints); 173 return intf;
|
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
D | accessorychat.c | 105 struct usb_interface_descriptor *intf = NULL; in usb_device_added() local 113 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) { in usb_device_added() 115 intf = (struct usb_interface_descriptor *)desc; in usb_device_added() 124 if (!intf) { in usb_device_added() 133 if (usb_device_claim_interface(device, intf->bInterfaceNumber)) { in usb_device_added()
|
/frameworks/base/libs/usb/tests/accessorytest/ |
D | usb.c | 111 struct usb_interface_descriptor *intf = NULL; in usb_device_added() local 117 while ((desc = usb_descriptor_iter_next(&iter)) != NULL && (!intf || !ep1 || !ep2)) { in usb_device_added() 119 intf = (struct usb_interface_descriptor *)desc; in usb_device_added() 128 if (!intf) { in usb_device_added() 137 if (usb_device_claim_interface(device, intf->bInterfaceNumber)) { in usb_device_added()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | MtpClient.java | 138 UsbInterface intf = device.getInterface(i); in isCamera() local 139 if (intf.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE && in isCamera() 140 intf.getInterfaceSubclass() == 1 && in isCamera() 141 intf.getInterfaceProtocol() == 1) { in isCamera()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pGroup.java | 245 public void setInterface(String intf) { in setInterface() argument 246 mInterface = intf; in setInterface()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 2320 private void startDhcpServer(String intf) { in startDhcpServer() argument 2323 ifcg = mNwService.getInterfaceConfig(intf); in startDhcpServer() 2327 mNwService.setInterfaceConfig(intf, ifcg); in startDhcpServer() 2336 mNwService.tetherInterface(intf); in startDhcpServer() 2339 loge("Error configuring interface " + intf + ", :" + e); in startDhcpServer() 2343 logd("Started Dhcp server on " + intf); in startDhcpServer() 2346 private void stopDhcpServer(String intf) { in stopDhcpServer() argument 2348 mNwService.untetherInterface(intf); in stopDhcpServer() 2351 if (temp.compareTo(intf) != 0) { in stopDhcpServer()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbSettingsManager.java | 252 UsbInterface intf = device.getInterface(i); in matches() local 253 if (matches(intf.getInterfaceClass(), intf.getInterfaceSubclass(), in matches() 254 intf.getInterfaceProtocol())) return true; in matches()
|
/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpClient.java | 263 Context context, StateMachine controller, String intf) { in makeDhcpClient() argument 264 DhcpClient client = new DhcpClient(context, controller, intf); in makeDhcpClient()
|
/frameworks/base/docs/html/guide/topics/connectivity/usb/ |
D | host.jd | 397 UsbInterface intf = device.getInterface(0); 398 UsbEndpoint endpoint = intf.getEndpoint(0); 400 connection.claimInterface(intf, forceClaim);
|