/system/keymaster/include/keymaster/ |
H A D | soft_keymaster_device.h | 76 void GetVersion(const GetVersionRequest& req, GetVersionResponse* rsp) { argument 77 impl_->GetVersion(req, rsp);
|
/system/extras/tests/storage/ |
H A D | wipe_blkdev.c | 55 int req; local 60 req = BLKSECDISCARD; 62 req = BLKDISCARD; 65 ret = ioctl(fd, req, &range);
|
/system/core/adb/ |
H A D | file_sync_service.h | 44 } req; member in union:syncmsg
|
H A D | usb_osx.cpp | 203 IOUSBDevRequest req; local 209 req.bmRequestType = 211 req.bRequest = kUSBRqGetDescriptor; 212 req.wValue = (kUSBStringDesc << 8) | 0; 213 req.wIndex = 0; 214 req.pData = languages; 215 req.wLength = sizeof(languages); 216 kr = (*dev)->DeviceRequest(dev, &req); 218 if (kr == kIOReturnSuccess && req.wLenDone > 0) { 220 int langCount = (req [all...] |
/system/core/logd/ |
H A D | libaudit.c | 87 struct audit_message req; local 90 memset(&req, 0, sizeof(req)); 97 req.nlh.nlmsg_type = type; 98 req.nlh.nlmsg_len = NLMSG_SPACE(size); 99 req.nlh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; 117 memcpy(NLMSG_DATA(&req.nlh), data, size); 132 req.nlh.nlmsg_seq = ++sequence; 136 rc = TEMP_FAILURE_RETRY(sendto(fd, &req, req [all...] |
/system/core/libion/ |
H A D | ion.c | 50 static int ion_ioctl(int fd, int req, void *arg) argument 52 int ret = ioctl(fd, req, arg); 54 ALOGE("ioctl %x failed with code %d: %s\n", req,
|
/system/core/fastboot/ |
H A D | usb_osx.c | 337 IOUSBDevRequest req; local 340 req.bmRequestType = USBmakebmRequestType(kUSBIn, kUSBStandard, kUSBDevice); 341 req.bRequest = kUSBRqGetDescriptor; 342 req.wValue = (kUSBStringDesc << 8) | serialIndex; 344 req.wIndex = 0x0409; 345 req.pData = buffer; 346 req.wLength = sizeof(buffer); 347 kr = (*dev)->DeviceRequest(dev, &req); 349 if (kr == kIOReturnSuccess && req.wLenDone > 0) { 353 count = (req [all...] |
/system/bt/stack/gatt/ |
H A D | gatt_main.c | 619 /* Send L2CAP config req */ 657 /* Send L2CAP config req */ 673 /* just in case the peer also accepts our connection - Send L2CAP disconnect req */ 729 /* Send L2CAP disconnect req */ 1021 tGATTS_SRV_CHG_REQ req; local 1028 memcpy(req.srv_chg.bda, bda, BD_ADDR_LEN); 1029 req.srv_chg.srv_changed = FALSE; 1031 (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_ADD_CLIENT, &req, NULL); 1105 tGATTS_SRV_CHG_REQ req; local 1123 req [all...] |
H A D | gatt_sr.c | 1339 tGATTS_SRV_CHG_REQ req; local 1348 memcpy(&req.srv_chg, p_buf, sizeof(tGATTS_SRV_CHG)); 1350 (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_UPDATE_CLIENT,&req, NULL);
|
H A D | gatt_utils.c | 129 tGATTS_SRV_CHG_REQ req; local 137 memcpy(req.srv_chg.bda, bd_addr, BD_ADDR_LEN); 138 (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_REMOVE_CLIENT,&req, NULL); 157 tGATTS_SRV_CHG_REQ req; local 167 memcpy(&req.srv_chg, p_buf, sizeof(tGATTS_SRV_CHG)); 169 (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_UPDATE_CLIENT,&req, NULL);
|
/system/bt/btif/src/ |
H A D | btif_av.c | 442 btif_av_sink_config_req_t req; local 444 memcpy(&req, p_data, sizeof(req)); 446 BTIF_TRACE_WARNING("BTIF_AV_SINK_CONFIG_REQ_EVT %d %d", req.sample_rate, 447 req.channel_count); 450 req.sample_rate, req.channel_count); 709 BTIF_TRACE_DEBUG("%s: Moved to opened by Other Incoming Conn req", __func__);
|
H A D | btif_core.c | 1009 btif_storage_req_t req; local 1017 memset(&(req.read_req.bd_addr), 0, sizeof(bt_bdaddr_t)); 1018 req.read_req.type = type; 1022 (char*)&req, sizeof(btif_storage_req_t), NULL); 1038 btif_storage_req_t req; local 1128 memset(&(req.write_req.bd_addr), 0, sizeof(bt_bdaddr_t)); 1129 memcpy(&(req.write_req.prop), property, sizeof(bt_property_t)); 1133 (char*)&req, 1154 btif_storage_req_t req; local 1159 memcpy(&(req 1178 btif_storage_req_t req; local 1204 btif_storage_req_t req; local [all...] |
/system/core/libnetutils/ |
H A D | ifc_utils.c | 265 } req; local 299 memset(&req, 0, sizeof(req)); 302 req.n.nlmsg_len = NLMSG_LENGTH(sizeof(req.r)); 303 req.n.nlmsg_type = action; 304 req.n.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; 305 req.n.nlmsg_pid = getpid(); 308 req.r.ifa_family = ss.ss_family; 309 req [all...] |
/system/core/libusbhost/ |
H A D | usbhost.c | 638 struct usb_request *req = calloc(1, sizeof(struct usb_request)); local 639 if (!req) { 644 req->dev = dev; 645 req->max_packet_size = __le16_to_cpu(ep_desc->wMaxPacketSize); 646 req->private_data = urb; 647 req->endpoint = urb->endpoint; 648 urb->usercontext = req; 650 return req; 653 void usb_request_free(struct usb_request *req) argument 655 free(req 659 usb_request_queue(struct usb_request *req) argument 682 struct usb_request *req = NULL; local 704 usb_request_cancel(struct usb_request *req) argument [all...] |
/system/core/sdcard/ |
H A D | sdcard.c | 65 * - don't forget that FORGET can forget multiple references (req->nlookup) 805 const struct fuse_in_header *hdr, const struct fuse_forget_in *req) 811 TRACE("[%d] FORGET #%"PRIu64" @ %"PRIx64" (%s)\n", handler->token, req->nlookup, 814 __u64 n = req->nlookup; 824 const struct fuse_in_header *hdr, const struct fuse_getattr_in *req) 832 req->getattr_flags, req->fh, hdr->nodeid, node ? node->name : "?"); 846 const struct fuse_in_header *hdr, const struct fuse_setattr_in *req) 855 req->fh, req 804 handle_forget(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header *hdr, const struct fuse_forget_in *req) argument 823 handle_getattr(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header *hdr, const struct fuse_getattr_in *req) argument 845 handle_setattr(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header *hdr, const struct fuse_setattr_in *req) argument 908 handle_mknod(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_mknod_in* req, const char* name) argument 937 handle_mkdir(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_mkdir_in* req, const char* name) argument 1081 handle_rename(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_rename_in* req, const char* old_name, const char* new_name) argument 1172 handle_open(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_open_in* req) argument 1210 handle_read(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_read_in* req) argument 1237 handle_write(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_write_in* req, const void* buffer) argument 1294 handle_release(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_release_in* req) argument 1305 handle_fsync(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_fsync_in* req) argument 1337 handle_opendir(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_open_in* req) argument 1374 handle_readdir(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_read_in* req) argument 1403 handle_releasedir(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_release_in* req) argument 1414 handle_init(struct fuse* fuse, struct fuse_handler* handler, const struct fuse_in_header* hdr, const struct fuse_init_in* req) argument 1468 const struct fuse_forget_in *req = data; local 1473 const struct fuse_getattr_in *req = data; local 1478 const struct fuse_setattr_in *req = data; local 1485 const struct fuse_mknod_in *req = data; local 1491 const struct fuse_mkdir_in *req = data; local 1507 const struct fuse_rename_in *req = data; local 1515 const struct fuse_open_in *req = data; local 1520 const struct fuse_read_in *req = data; local 1525 const struct fuse_write_in *req = data; local 1535 const struct fuse_release_in *req = data; local 1541 const struct fuse_fsync_in *req = data; local 1554 const struct fuse_open_in *req = data; local 1559 const struct fuse_read_in *req = data; local 1564 const struct fuse_release_in *req = data; local 1569 const struct fuse_init_in *req = data; local [all...] |