Searched defs:ctrl (Results 1 - 5 of 5) sorted by relevance

/system/netd/
H A DNatController.cpp41 NatController::NatController(SecondaryTableController *ctrl) { argument
42 secondaryTableCtrl = ctrl;
/system/core/fastboot/
H A Dusb_linux.c137 struct usbdevfs_ctrltransfer ctrl; local
144 ctrl.bRequestType = USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE;
145 ctrl.bRequest = USB_REQ_GET_DESCRIPTOR;
146 ctrl.wValue = (USB_DT_STRING << 8) | dev->iSerialNumber;
148 ctrl.wIndex = 0x0409;
149 ctrl.wLength = sizeof(buffer);
150 ctrl.data = buffer;
151 ctrl.timeout = 50;
153 result = ioctl(fd, USBDEVFS_CONTROL, &ctrl);
/system/extras/tests/iptables/qtaguid/
H A DsocketTag.cpp50 int ctrl; local
51 ctrl = open("/proc/net/xt_qtaguid/ctrl", O_RDWR);
52 if (!ctrl) {
53 testPrintE("qtaguid ctrl open failed: %s", strerror(errno));
55 return ctrl;
60 int ctrl; local
65 ctrl = openCtrl();
68 res = write(ctrl, buff, strlen(buff));
70 close(ctrl);
[all...]
/system/core/adb/
H A Dusb_linux.c617 struct usbdevfs_ctrltransfer ctrl; local
624 memset(&ctrl, 0, sizeof(ctrl));
627 ctrl.bRequestType = USB_DIR_IN|USB_TYPE_STANDARD|USB_RECIP_DEVICE;
628 ctrl.bRequest = USB_REQ_GET_DESCRIPTOR;
629 ctrl.wValue = (USB_DT_STRING << 8) | 0;
630 ctrl.wIndex = 0;
631 ctrl.wLength = sizeof(languages);
632 ctrl.data = languages;
633 ctrl
[all...]
/system/core/libusbhost/
H A Dusbhost.c509 struct usbdevfs_ctrltransfer ctrl; local
515 memset(&ctrl, 0, sizeof(ctrl));
516 ctrl.bRequestType = requestType;
517 ctrl.bRequest = request;
518 ctrl.wValue = value;
519 ctrl.wIndex = index;
520 ctrl.wLength = length;
521 ctrl.data = buffer;
522 ctrl
532 struct usbdevfs_bulktransfer ctrl; local
[all...]

Completed in 60 milliseconds