Searched refs:interface (Results 1 - 15 of 15) sorted by relevance

/system/core/fastboot/
H A Dusb_osx.c61 IOUSBInterfaceInterface190 **interface; member in struct:usb_handle
73 IOUSBInterfaceInterface190 **interface = NULL; local
99 ERR("Couldn't create a device interface iterator: (%08x)\n", kr);
120 // Now create the interface interface for the interface
124 (LPVOID) &interface);
129 if (result || !interface) {
130 ERR("Couldn't create interface interface
[all...]
/system/core/libnetutils/
H A Ddhcp_utils.c36 /* interface suffix on dhcpcd */
66 static int fill_ip_info(const char *interface, argument
78 snprintf(prop_name, sizeof(prop_name), "%s.%s.ipaddress", DHCP_PROP_NAME_PREFIX, interface);
81 snprintf(prop_name, sizeof(prop_name), "%s.%s.gateway", DHCP_PROP_NAME_PREFIX, interface);
84 snprintf(prop_name, sizeof(prop_name), "%s.%s.server", DHCP_PROP_NAME_PREFIX, interface);
93 snprintf(prop_name, sizeof(prop_name), "%s.%s.mask", DHCP_PROP_NAME_PREFIX, interface);
115 snprintf(prop_name, sizeof(prop_name), "%s.%s.dns1", DHCP_PROP_NAME_PREFIX, interface);
118 snprintf(prop_name, sizeof(prop_name), "%s.%s.dns2", DHCP_PROP_NAME_PREFIX, interface);
121 snprintf(prop_name, sizeof(prop_name), "%s.%s.leasetime", DHCP_PROP_NAME_PREFIX, interface);
136 void get_daemon_suffix(const char *interface, cha argument
149 dhcp_do_request(const char *interface, char *ipaddr, char *gateway, uint32_t *prefixLength, char *dns1, char *dns2, char *server, uint32_t *lease) argument
226 dhcp_stop(const char *interface) argument
260 dhcp_release_lease(const char *interface) argument
293 dhcp_do_request_renew(const char *interface, in_addr_t *ipaddr, in_addr_t *gateway, uint32_t *prefixLength, in_addr_t *dns1, in_addr_t *dns2, in_addr_t *server, uint32_t *lease) argument
[all...]
/system/core/adb/
H A Dusb_osx.c42 IOUSBInterfaceInterface **interface; member in struct:usb_handle
78 //* adb interface
88 //* Match based on vendor id, interface subclass and protocol
134 //* Create an intermediate interface plugin
141 DBG("ERR: Unable to create an interface plug-in (%08x)\n", kr);
145 //* This gets us the interface object
149 //* We only needed the plugin to get the interface, so discard it
152 DBG("ERR: Couldn't query the interface (%08x)\n", (int) result);
157 //* device; after getting a plugin, and querying the interface, of
162 DBG("ERR: Couldn't grab device from interface (
296 CheckInterface(IOUSBInterfaceInterface **interface, UInt16 vendor, UInt16 product) argument
[all...]
H A Dusb_libusb.c50 int interface; member in struct:usb_handle
218 libusb_release_interface(h->devh, h->interface);
242 libusb_release_interface(h->devh, h->interface);
249 check_usb_interface(libusb_interface *interface, argument
255 if (interface->num_altsetting == 0) {
256 D("check_usb_interface(): No interface settings\n");
260 libusb_interface_descriptor *idesc = &interface->altsetting[0];
284 D("check_usb_interface(): Forced Android interface protocol v.1\n");
313 if (check_usb_interface(&config->interface[i], desc, uh) != -1) {
314 /* found some interface an
[all...]
H A Dusb_linux.c157 struct usb_interface_descriptor* interface; local
207 // loop through all the descriptors and look for the ADB interface
213 interface = (struct usb_interface_descriptor *)bufptr;
217 D("interface descriptor has wrong size\n");
223 interface->bInterfaceClass, interface->bInterfaceSubClass,
224 interface->bInterfaceProtocol, interface->bNumEndpoints);
226 if (interface->bNumEndpoints == 2 &&
227 is_adb_interface(vid, pid, interface
535 register_device(const char *dev_name, unsigned char ep_in, unsigned char ep_out, int interface, int serial_index, unsigned zero_mask) argument
[all...]
H A DAndroid.mk12 # Default to a virtual (sockets) usb interface
/system/netd/
H A DTetherController.h48 int tetherInterface(const char *interface);
49 int untetherInterface(const char *interface);
H A DTetherController.cpp237 int TetherController::tetherInterface(const char *interface) { argument
238 mInterfaces->push_back(strdup(interface));
242 int TetherController::untetherInterface(const char *interface) { argument
246 if (!strcmp(interface, *it)) {
/system/core/include/usbhost/
H A Dusbhost.h166 /* Claims the specified interface of a USB device */
167 int usb_device_claim_interface(struct usb_device *device, unsigned int interface);
169 /* Releases the specified interface of a USB device */
170 int usb_device_release_interface(struct usb_device *device, unsigned int interface);
172 /* Requests the kernel to connect or disconnect its driver for the specified interface.
177 unsigned int interface, int connect);
/system/media/wilhelm/tests/sandbox/
H A Dengine.c40 printf("Display the ID of each available interface\n");
48 printf("interface[%u] ", index);
75 printf("Create engine with NULL interface pointer\n");
95 printf("Create an engine and require non-sensical volume interface\n");
103 printf("Create an engine and politely request a non-sensical interface with options\n");
114 printf("Get each available interface before realization\n");
116 void *interface = NULL; local
117 // Use the interface ID as returned by slQuerySupportedEngineInterfaces
118 result = (*engineObject)->GetInterface(engineObject, engine_ids[index], &interface);
121 printf("interface availabl
140 void *interface = NULL; local
[all...]
/system/core/libusbhost/
H A Dusbhost.c428 int usb_device_claim_interface(struct usb_device *device, unsigned int interface) argument
430 return ioctl(device->fd, USBDEVFS_CLAIMINTERFACE, &interface);
433 int usb_device_release_interface(struct usb_device *device, unsigned int interface) argument
435 return ioctl(device->fd, USBDEVFS_RELEASEINTERFACE, &interface);
439 unsigned int interface, int connect)
443 ctl.ifno = interface;
438 usb_device_connect_kernel_driver(struct usb_device *device, unsigned int interface, int connect) argument
/system/media/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp194 client.interface(), meta, false /* createEncoder */,
H A Dandroid_AudioSfDecoder.cpp299 client.interface(), meta, false /* createEncoder */,
/system/media/wilhelm/src/itf/
H A DIObject.c332 void *interface = NULL; local
349 // Can't get interface on an unrealized object unless pre-realize is ok
353 // Can't get the MuteSolo interface of an audio player if the channel count is
354 // mono, but _can_ get the MuteSolo interface if the channel count is unknown
360 interface = (char *) thiz + clazz->mInterfaces[index].mOffset;
361 // Note that interface has been gotten,
366 ((size_t *) interface)[0] ^= ~0;
370 // Can't get interface if uninitialized, initialized, suspended,
380 *(void **)pInterface = interface;
578 // Call the deinitializer for each currently initialized interface,
[all...]
/system/core/init/
H A Dbuiltins.c103 static int __ifupdown(const char *interface, int up) argument
108 strlcpy(ifr.ifr_name, interface, IFNAMSIZ);

Completed in 657 milliseconds