Home
last modified time | relevance | path

Searched refs:ctrl (Results 1 – 8 of 8) sorted by relevance

/system/core/libusbhost/
Dusbhost.c583 struct usbdevfs_ctrltransfer ctrl; in usb_device_control_transfer() local
589 memset(&ctrl, 0, sizeof(ctrl)); in usb_device_control_transfer()
590 ctrl.bRequestType = requestType; in usb_device_control_transfer()
591 ctrl.bRequest = request; in usb_device_control_transfer()
592 ctrl.wValue = value; in usb_device_control_transfer()
593 ctrl.wIndex = index; in usb_device_control_transfer()
594 ctrl.wLength = length; in usb_device_control_transfer()
595 ctrl.data = buffer; in usb_device_control_transfer()
596 ctrl.timeout = timeout; in usb_device_control_transfer()
597 return ioctl(device->fd, USBDEVFS_CONTROL, &ctrl); in usb_device_control_transfer()
[all …]
/system/extras/tests/iptables/qtaguid/
DsocketTag.cpp51 int ctrl; in openCtrl() local
52 ctrl = open("/proc/net/xt_qtaguid/ctrl", O_RDWR); in openCtrl()
53 if (!ctrl) { in openCtrl()
56 return ctrl; in openCtrl()
64 int ctrl; in doCtrlCommand() local
69 ctrl = openCtrl(); in doCtrlCommand()
72 res = write(ctrl, buff, strlen(buff)); in doCtrlCommand()
74 close(ctrl); in doCtrlCommand()
/system/bt/service/
Dgatt_server_old.cpp690 Characteristic &ctrl = internal_->characteristics[control_attribute]; in AddBlob() local
691 ctrl.next_blob.clear(); in AddBlob()
692 ctrl.next_blob.push_back(0); in AddBlob()
693 ctrl.next_blob_pending = true; in AddBlob()
694 ctrl.blob_section = 0; in AddBlob()
695 ctrl.notify = false; in AddBlob()
/system/sepolicy/
Dgenfs_contexts8 genfscon proc /net/xt_qtaguid/ctrl u:object_r:qtaguid_proc:s0
Dmediaserver.te63 # Read/[write] to /proc/net/xt_qtaguid/ctrl and /dev/xt_qtaguid
Dsystem_server.te99 # Read/Write to /proc/net/xt_qtaguid/ctrl and and /dev/xt_qtaguid.
372 # to uart driver and ctrl proc entry
Dapp.te143 # Write to /proc/net/xt_qtaguid/ctrl file.
/system/core/rootdir/
Dinit.rc205 chown root net_bw_acct /proc/net/xt_qtaguid/ctrl