Home
last modified time | relevance | path

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

12

/system/nfc/src/fuzzers/ce/
Dmain.cc19 auto& ctrl = Packets[0]; in Fuzz_FixPackets() local
20 if (ctrl.size() != 2) { in Fuzz_FixPackets()
21 ctrl.resize(2); in Fuzz_FixPackets()
22 ctrl[0] = (Seed >> 16) & 0xFF; in Fuzz_FixPackets()
23 ctrl[1] = (Seed >> 24) & 0xFF; in Fuzz_FixPackets()
26 uint8_t FuzzType = ctrl[0] % Fuzz_TypeMax; in Fuzz_FixPackets()
27 uint8_t FuzzSubType = ctrl[1]; in Fuzz_FixPackets()
49 auto& ctrl = Packets[0]; in Fuzz_RunPackets() local
50 if (ctrl.size() < 2) { in Fuzz_RunPackets()
54 uint8_t FuzzType = ctrl[0] % Fuzz_TypeMax; in Fuzz_RunPackets()
[all …]
/system/nfc/src/fuzzers/rw/
Dmain.cc27 auto& ctrl = Packets[0]; in Fuzz_FixPackets() local
28 if (ctrl.size() != 2) { in Fuzz_FixPackets()
29 ctrl.resize(2); in Fuzz_FixPackets()
30 ctrl[0] = (Seed >> 16) & 0xFF; in Fuzz_FixPackets()
31 ctrl[1] = (Seed >> 24) & 0xFF; in Fuzz_FixPackets()
34 uint8_t FuzzType = ctrl[0] % Fuzz_TypeMax; in Fuzz_FixPackets()
35 uint8_t FuzzSubType = ctrl[1]; in Fuzz_FixPackets()
71 auto& ctrl = Packets[0]; in Fuzz_RunPackets() local
72 if (ctrl.size() < 2) { in Fuzz_RunPackets()
76 uint8_t FuzzType = ctrl[0] % Fuzz_TypeMax; in Fuzz_RunPackets()
[all …]
/system/netd/server/
DXfrmControllerTest.cpp143 XfrmController ctrl; in TEST_F() local
149 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(sockFd, 1001, getuid()); in TEST_F()
158 XfrmController ctrl; in TEST_F() local
160 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(unique_fd(), 1001, getuid()); in TEST_F()
165 XfrmController ctrl; in TEST_F() local
168 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(sockFd, 1001, 1001); in TEST_F()
173 XfrmController ctrl; in TEST_F() local
176 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(fd, 1001, getuid()); in TEST_F()
181 XfrmController ctrl; in TEST_F() local
187 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(sockFd, 1001, getuid()); in TEST_F()
[all …]
/system/core/libusbhost/
Dusbhost.c654 struct usbdevfs_ctrltransfer ctrl; in usb_device_control_transfer() local
660 memset(&ctrl, 0, sizeof(ctrl)); in usb_device_control_transfer()
661 ctrl.bRequestType = requestType; in usb_device_control_transfer()
662 ctrl.bRequest = request; in usb_device_control_transfer()
663 ctrl.wValue = value; in usb_device_control_transfer()
664 ctrl.wIndex = index; in usb_device_control_transfer()
665 ctrl.wLength = length; in usb_device_control_transfer()
666 ctrl.data = buffer; in usb_device_control_transfer()
667 ctrl.timeout = timeout; in usb_device_control_transfer()
668 return ioctl(device->fd, USBDEVFS_CONTROL, &ctrl); in usb_device_control_transfer()
[all …]
/system/extras/tests/iptables/qtaguid/
DsocketTag.cpp57 int ctrl; in openCtrl() local
58 ctrl = open("/proc/net/xt_qtaguid/ctrl", O_RDWR); in openCtrl()
59 if (!ctrl) { in openCtrl()
62 return ctrl; in openCtrl()
70 int ctrl; in doCtrlCommand() local
75 ctrl = openCtrl(); in doCtrlCommand()
78 res = write(ctrl, buff, strlen(buff)); in doCtrlCommand()
80 close(ctrl); in doCtrlCommand()
/system/core/trusty/utils/trusty-ut-ctrl/
DAndroid.bp20 name: "trusty-ut-ctrl",
23 srcs: ["ut-ctrl.c"],
/system/bt/service/
Dgatt_server_old.cc181 bluetooth::gatt::Characteristic& ctrl = in ServiceAddedCallback() local
183 ctrl.next_blob.clear(); in ServiceAddedCallback()
184 ctrl.next_blob.push_back(0); in ServiceAddedCallback()
185 ctrl.next_blob_pending = true; in ServiceAddedCallback()
186 ctrl.blob_section = 0; in ServiceAddedCallback()
187 ctrl.notify = false; in ServiceAddedCallback()
/system/sepolicy/prebuilts/api/26.0/public/
Dupdate_engine.te7 # Read/[write] to /proc/net/xt_qtaguid/ctrl and /dev/xt_qtaguid to tag network
Dmediaserver.te66 # Read/[write] to /proc/net/xt_qtaguid/ctrl and /dev/xt_qtaguid
/system/sepolicy/prebuilts/api/27.0/public/
Dupdate_engine.te7 # Read/[write] to /proc/net/xt_qtaguid/ctrl and /dev/xt_qtaguid to tag network
Dmediaserver.te66 # Read/[write] to /proc/net/xt_qtaguid/ctrl and /dev/xt_qtaguid
/system/sepolicy/prebuilts/api/28.0/public/
Dupdate_engine.te7 # Read/[write] to /proc/net/xt_qtaguid/ctrl and /dev/xt_qtaguid to tag network
Dmediaserver.te63 # Read/[write] to /proc/net/xt_qtaguid/ctrl and /dev/xt_qtaguid
Dnetd.te37 # Allow netd to write to qtaguid ctrl file. This is the same privilege level that normal apps have
/system/extras/simpleperf/scripts/purgatorio/
DREADME.md32 [launch camera here, then press ctrl + c]
47 …UI. Multiple sections of the graph can be aggregated by holding down the [ctrl] button during sele…
/system/sepolicy/prebuilts/api/26.0/private/
Dgenfs_contexts12 genfscon proc /net/xt_qtaguid/ctrl u:object_r:qtaguid_proc:s0
Dsystem_server.te120 # Read/Write to /proc/net/xt_qtaguid/ctrl and and /dev/xt_qtaguid.
476 # to uart driver and ctrl proc entry
/system/core/trusty/storage/proxy/
Drpmb.c98 uint8_t ctrl; member
/system/sepolicy/prebuilts/api/31.0/public/
Dnetd.te44 # Allow netd to write to qtaguid ctrl file.
/system/sepolicy/public/
Dnetd.te44 # Allow netd to write to qtaguid ctrl file.
/system/sepolicy/prebuilts/api/30.0/public/
Dnetd.te42 # Allow netd to write to qtaguid ctrl file.
/system/sepolicy/prebuilts/api/29.0/public/
Dnetd.te42 # Allow netd to write to qtaguid ctrl file.
/system/sepolicy/prebuilts/api/27.0/private/
Dgenfs_contexts12 genfscon proc /net/xt_qtaguid/ctrl u:object_r:qtaguid_proc:s0
Dsystem_server.te126 # Read/Write to /proc/net/xt_qtaguid/ctrl and and /dev/xt_qtaguid.
505 # to uart driver and ctrl proc entry
/system/sepolicy/prebuilts/api/28.0/private/
Dsystem_server.te127 # Read/Write to /proc/net/xt_qtaguid/ctrl and and /dev/xt_qtaguid.
556 # to uart driver and ctrl proc entry

12