/system/core/fastboot/ |
H A D | usb_osx.cpp | 342 IOUSBDevRequest req; local 345 req.bmRequestType = USBmakebmRequestType(kUSBIn, kUSBStandard, kUSBDevice); 346 req.bRequest = kUSBRqGetDescriptor; 347 req.wValue = (kUSBStringDesc << 8) | serialIndex; 349 req.wIndex = 0x0409; 350 req.pData = buffer; 351 req.wLength = sizeof(buffer); 352 kr = (*dev)->DeviceRequest(dev, &req); 354 if (kr == kIOReturnSuccess && req.wLenDone > 0) { 358 count = (req [all...] |
/system/chre/platform/slpi/see/ |
H A D | platform_sensor.cc | 191 for (const auto& req : requests) { 192 if (req.getNanoapp() != nullptr) { 193 postSamplingStatusEvent(req.getNanoapp()->getInstanceId(), 488 SeeSensorRequest req = { local 501 if (req.enable && req.passive && !mPassiveSupported) { 506 bool success = SeeHelperSingleton::get()->makeRequest(req); 517 status.enabled = req.enable; 519 status.latency = req.batchPeriodUs * kOneMicrosecondInNanoseconds;
|
H A D | see_helper.cc | 203 sns_std_attr_req req = {}; local 205 bool success = pb_get_encoded_size(msgLen, sns_std_attr_req_fields, &req); 218 success = pb_encode(&stream, sns_std_attr_req_fields, &req); 248 sns_suid_req req = { local 253 if (!pb_get_encoded_size(msgLen, sns_suid_req_fields, &req)) { 265 success = pb_encode(&stream, sns_suid_req_fields, &req); 291 sns_std_sensor_config req = { local 295 if (!pb_get_encoded_size(msgLen, sns_std_sensor_config_fields, &req)) { 307 success = pb_encode(&stream, sns_std_sensor_config_fields, &req); 350 auto req local 1546 sendSeeReqSync( sns_client *client, sns_client_request_msg *req, Nanoseconds timeoutResp) argument [all...] |
/system/chre/core/ |
H A D | audio_request_manager.cc | 203 for (auto& req : reqList.requests) { 204 if (req.nextEventTimestamp < earliestNextEventTimestamp) { 205 earliestNextEventTimestamp = req.nextEventTimestamp; 206 nextRequest = &req;
|
H A D | wifi_request_manager.cc | 89 PendingRangingRequest& req = mPendingRangingRequests.back(); local 90 req.nanoappInstanceId = nanoapp->getInstanceId(); 91 req.cookie = cookie; 109 success = req.targetList.copy_array(params->targetList, 558 const PendingRangingRequest& req = mPendingRangingRequests.front(); local 564 event->cookie = req.cookie; 568 kSystemInstanceId, req.nanoappInstanceId); 579 const PendingRangingRequest& req = mPendingRangingRequests.front(); local 581 params.targetListLen = static_cast<uint8_t>(req.targetList.size()); 582 params.targetList = req [all...] |
/system/core/debuggerd/client/ |
H A D | debuggerd_client.cpp | 109 InterceptRequest req = {.pid = pid, .dump_type = dump_type}; local 136 if (send_fd(set_timeout(sockfd), &req, sizeof(req), std::move(pipe_write)) != sizeof(req)) {
|
/system/netd/server/ |
H A D | SockDiag.h | 60 inet_diag_req_v2 req; member in struct:android::net::SockDiag::DestroyRequest
|
H A D | SockDiag.cpp | 99 inet_diag_req_v2 req; member in struct:android::net::__anon2099 105 .req = { 278 .req = {
|
/system/core/libion/ |
H A D | ion.c | 69 static int ion_ioctl(int fd, int req, void* arg) { argument 70 int ret = ioctl(fd, req, arg); 72 ALOGE("ioctl %x failed with code %d: %s\n", req, ret, strerror(errno));
|
/system/libvintf/include/vintf/ |
H A D | parse_string.h | 52 std::ostream &operator<<(std::ostream &os, const MatrixHal &req); 86 bool parse(const std::string &s, MatrixHal *req); 108 std::vector<std::string> expandInstances(const MatrixHal& req);
|
/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/bt/stack/gatt/ |
H A D | gatt_main.cc | 632 /* Send L2CAP config req */ 669 /* Send L2CAP config req */ 683 * disconnect req */ 732 /* Send L2CAP disconnect req */ 999 tGATTS_SRV_CHG_REQ req; local 1005 req.srv_chg.bda = bda; 1006 req.srv_chg.srv_changed = false; 1008 (*gatt_cb.cb_info.p_srv_chg_callback)(GATTS_SRV_CHG_CMD_ADD_CLIENT, &req, 1073 tGATTS_SRV_CHG_REQ req; local 1089 req [all...] |
H A D | gatt_utils.cc | 117 tGATTS_SRV_CHG_REQ req; local 118 req.srv_chg.bda = bd_addr; 120 &req, NULL); 149 tGATTS_SRV_CHG_REQ req; local 150 memcpy(&req.srv_chg, p_buf, sizeof(tGATTS_SRV_CHG)); 153 &req, NULL);
|
H A D | gatt_sr.cc | 1080 tGATTS_SRV_CHG_REQ req; local 1089 memcpy(&req.srv_chg, p_buf, sizeof(tGATTS_SRV_CHG)); 1092 &req, NULL);
|
/system/bt/stack/gap/ |
H A D | gap_ble.cc | 242 tGAP_REQUEST& req = clcb.requests.front(); local 243 clcb.p_cback = req.p_cback; 244 uint16_t uuid = req.uuid;
|
/system/chre/platform/slpi/include/chre/platform/slpi/see/ |
H A D | see_helper.h | 338 * @param req A pointer to the sns_client_request_msg to be sent. 344 bool sendSeeReqSync(sns_client *client, sns_client_request_msg *req,
|
/system/core/debuggerd/ |
H A D | debuggerd_test.cpp | 94 InterceptRequest req = {.pid = target_pid, .dump_type = intercept_type}; local 119 if (send_fd(intercept_fd->get(), &req, sizeof(req), std::move(output_pipe_write)) != sizeof(req)) {
|
/system/core/trusty/keymaster/ |
H A D | trusty_keymaster_device.cpp | 758 keymaster_error_t TrustyKeymasterDevice::Send(uint32_t command, const Serializable& req, argument 760 uint32_t req_size = req.SerializedSize(); 766 req.Serialize(send_buf, send_buf + req_size); 772 ALOGV("Sending %d byte request\n", (int)req.SerializedSize());
|
H A D | trusty_keymaster_device_test.cpp | 70 Req req; local 72 req.Deserialize(&in, in + in_size); 74 (device->*method)(req, &rsp);
|
/system/core/adb/ |
H A D | file_sync_client.cpp | 292 SyncRequest* req = reinterpret_cast<SyncRequest*>(&buf[0]); local 293 req->id = id; 294 req->path_length = path_length; 295 char* data = reinterpret_cast<char*>(req + 1);
|
/system/chre/platform/slpi/smgr/ |
H A D | platform_sensor.cc | 839 for (const auto& req : requests) { 840 if (req.getNanoapp() != nullptr) { 841 postSamplingStatusEvent(req.getNanoapp()->getInstanceId(),
|
/system/keymaster/tests/ |
H A D | android_keymaster_test.cpp | 1883 BeginOperationRequest req; local 1884 req.purpose = purpose; 1885 req.SetKeyMaterial(blob_); 1886 req.additional_params = input_set; 1889 keymaster_.BeginOperation(req, &rsp); 1896 FinishOperationRequest req; local 1897 req.op_handle = op_handle_; 1898 req.input.Reinitialize(input.data(), input.size()); 1901 keymaster_.FinishOperation(req, &rsp); 4318 ComputeSharedHmacRequest req; local [all...] |
/system/update_engine/payload_consumer/ |
H A D | delta_performer.cc | 163 for (const auto& req : blkioctl_requests) { 165 if (fd->BlkIoctl(req.number, data_size, part_size - data_size, &error) && 171 << req.name << ")";
|