Home
last modified time | relevance | path

Searched refs:req (Results 1 – 25 of 29) sorted by relevance

12

/device/linaro/dragonboard/qcom/qrtr/src/
Daddr.c21 } req; in qrtr_set_address() local
50 memset(&req, 0, sizeof(req)); in qrtr_set_address()
51 req.nh.nlmsg_len = NLMSG_SPACE(sizeof(struct ifaddrmsg)); in qrtr_set_address()
52 req.nh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; in qrtr_set_address()
53 req.nh.nlmsg_type = RTM_NEWADDR; in qrtr_set_address()
54 req.ifa.ifa_family = AF_QIPCRTR; in qrtr_set_address()
56 rta = (struct rtattr *)(((char *) &req) + req.nh.nlmsg_len); in qrtr_set_address()
61 req.nh.nlmsg_len += rta->rta_len; in qrtr_set_address()
63 ret = send(sock, &req, req.nh.nlmsg_len, 0); in qrtr_set_address()
/device/google/contexthub/firmware/os/core/
Dsensors.c80 struct SensorsClientRequest *req = slabAllocatorGetNth(mCliSensMatrix, i); in sensorClientRequestFind() local
82 if (req && req->handle == sensorHandle && req->clientTid == clientTid) in sensorClientRequestFind()
83 return req; in sensorClientRequestFind()
389 struct SensorsClientRequest *req = slabAllocatorGetNth(mCliSensMatrix, i); in sensorCalcHwLatency() local
392 if (!req || req->handle != s->handle) in sensorCalcHwLatency()
395 if (smallestLatency > req->latency) in sensorCalcHwLatency()
396 smallestLatency = req->latency; in sensorCalcHwLatency()
421 struct SensorsClientRequest *req = slabAllocatorGetNth(mCliSensMatrix, i); in sensorCalcHwRate() local
424 if (!req || req->handle != s->handle) in sensorCalcHwRate()
428 if (req->rate == removedRate) { in sensorCalcHwRate()
[all …]
DnanohubCommand.c149 struct NanohubAppVersionsRequest *req = rx; in getAppVersion() local
153 if (osAppInfoById(le64toh(unaligned_u64(&req->appId)), &appIdx, &appVer, &appSize)) { in getAppVersion()
163 struct NanohubAppInfoRequest *req = rx; in queryAppInfo() local
168 if (osAppInfoByIndex(le32toh(unaligned_u32(&req->appIdx)), &appId, &appVer, &appSize)) { in queryAppInfo()
302 static bool doStartFirmwareUpload(struct NanohubStartFirmwareUploadRequest *req, bool erase) in doStartFirmwareUpload() argument
313 mDownloadState->size = le32toh(req->size); in doStartFirmwareUpload()
314 mDownloadState->crc = le32toh(req->crc); in doStartFirmwareUpload()
321 struct NanohubStartFirmwareUploadRequest *req = rx; in startFirmwareUpload() local
324 resp->accepted = doStartFirmwareUpload(req, true); in startFirmwareUpload()
634 struct NanohubFirmwareChunkRequest *req = rx; in firmwareChunk() local
[all …]
/device/google/contexthub/contexthubhal/test/
Dmain.cpp273 apps_enable_request_t req; in main() local
274 req.app_name.id = appId; in main()
275 cli.sendMessageToSystem(CONTEXT_HUB_APPS_ENABLE, &req, sizeof(req)); in main()
280 apps_disable_request_t req; in main() local
281 req.app_name.id = appId; in main()
282 cli.sendMessageToSystem(CONTEXT_HUB_APPS_DISABLE, &req, sizeof(req)); in main()
287 load_app_request_t *req = NULL; in main() local
289 req = (load_app_request_t *)loadFile(appFileName, &fileSize); in main()
290 if (!req || fileSize < sizeof(*req) || req->app_binary.magic != NANOAPP_MAGIC) { in main()
295 cli.sendMessageToSystem(CONTEXT_HUB_LOAD_APP, req, fileSize); in main()
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dsap_service.cpp197 RIL_SIM_SAP_CONNECT_REQ req; in connectReq() local
198 memset(&req, 0, sizeof(RIL_SIM_SAP_CONNECT_REQ)); in connectReq()
199 req.max_message_size = maxMsgSize; in connectReq()
202 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_CONNECT_REQ_fields, &req)) { in connectReq()
217 if (!pb_encode(&stream, RIL_SIM_SAP_CONNECT_REQ_fields, &req)) { in connectReq()
238 RIL_SIM_SAP_DISCONNECT_REQ req; in disconnectReq() local
239 memset(&req, 0, sizeof(RIL_SIM_SAP_DISCONNECT_REQ)); in disconnectReq()
242 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_DISCONNECT_REQ_fields, &req)) { in disconnectReq()
258 if (!pb_encode(&stream, RIL_SIM_SAP_DISCONNECT_REQ_fields, &req)) { in disconnectReq()
279 RIL_SIM_SAP_APDU_REQ req; in apduReq() local
[all …]
DRilSapSocket.cpp200 void RilSapSocket::dispatchRequest(MsgHeader *req) { in dispatchRequest() argument
206 free(req); in dispatchRequest()
209 currRequest->token = req->token; in dispatchRequest()
210 currRequest->curr = req; in dispatchRequest()
219 req->token, in dispatchRequest()
220 req->type, in dispatchRequest()
221 req->id, in dispatchRequest()
222 req->error, in dispatchRequest()
226 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest, id); in dispatchRequest()
228 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest); in dispatchRequest()
/device/google/cuttlefish/guest/hals/ril/libril/
Dsap_service.cpp197 RIL_SIM_SAP_CONNECT_REQ req; in connectReq() local
198 memset(&req, 0, sizeof(RIL_SIM_SAP_CONNECT_REQ)); in connectReq()
199 req.max_message_size = maxMsgSize; in connectReq()
202 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_CONNECT_REQ_fields, &req)) { in connectReq()
217 if (!pb_encode(&stream, RIL_SIM_SAP_CONNECT_REQ_fields, &req)) { in connectReq()
238 RIL_SIM_SAP_DISCONNECT_REQ req; in disconnectReq() local
239 memset(&req, 0, sizeof(RIL_SIM_SAP_DISCONNECT_REQ)); in disconnectReq()
242 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_DISCONNECT_REQ_fields, &req)) { in disconnectReq()
258 if (!pb_encode(&stream, RIL_SIM_SAP_DISCONNECT_REQ_fields, &req)) { in disconnectReq()
279 RIL_SIM_SAP_APDU_REQ req; in apduReq() local
[all …]
DRilSapSocket.cpp200 void RilSapSocket::dispatchRequest(MsgHeader *req) { in dispatchRequest() argument
206 free(req); in dispatchRequest()
209 currRequest->token = req->token; in dispatchRequest()
210 currRequest->curr = req; in dispatchRequest()
219 req->token, in dispatchRequest()
220 req->type, in dispatchRequest()
221 req->id, in dispatchRequest()
222 req->error, in dispatchRequest()
226 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest, id); in dispatchRequest()
228 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest); in dispatchRequest()
/device/generic/goldfish/radio/libril/
Dsap_service.cpp197 RIL_SIM_SAP_CONNECT_REQ req; in connectReq() local
198 memset(&req, 0, sizeof(RIL_SIM_SAP_CONNECT_REQ)); in connectReq()
199 req.max_message_size = maxMsgSize; in connectReq()
202 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_CONNECT_REQ_fields, &req)) { in connectReq()
217 if (!pb_encode(&stream, RIL_SIM_SAP_CONNECT_REQ_fields, &req)) { in connectReq()
238 RIL_SIM_SAP_DISCONNECT_REQ req; in disconnectReq() local
239 memset(&req, 0, sizeof(RIL_SIM_SAP_DISCONNECT_REQ)); in disconnectReq()
242 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_DISCONNECT_REQ_fields, &req)) { in disconnectReq()
258 if (!pb_encode(&stream, RIL_SIM_SAP_DISCONNECT_REQ_fields, &req)) { in disconnectReq()
279 RIL_SIM_SAP_APDU_REQ req; in apduReq() local
[all …]
DRilSapSocket.cpp200 void RilSapSocket::dispatchRequest(MsgHeader *req) { in dispatchRequest() argument
206 free(req); in dispatchRequest()
209 currRequest->token = req->token; in dispatchRequest()
210 currRequest->curr = req; in dispatchRequest()
219 req->token, in dispatchRequest()
220 req->type, in dispatchRequest()
221 req->id, in dispatchRequest()
222 req->error, in dispatchRequest()
226 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest, id); in dispatchRequest()
228 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest); in dispatchRequest()
Dril_internal.h46 #define printRequest(token, req) \ argument
47 RLOGD("[%04d]> %s %s", token, requestToString(req), printBuf)
59 #define printRequest(token, req)
/device/google/contexthub/util/nanotool/
Dcontexthub.cpp189 ConfigureSensorRequest req; in EnableSensor() local
191 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in EnableSensor()
192 req.config.sensor_type = static_cast<uint8_t>(spec.sensor_type); in EnableSensor()
193 req.config.command = static_cast<uint8_t>( in EnableSensor()
196 req.config.rate = static_cast<uint32_t>(spec.special_rate); in EnableSensor()
198 req.config.rate = ConfigureSensorRequest::FloatRateToFixedPoint( in EnableSensor()
201 req.config.latency = spec.latency_ns; in EnableSensor()
206 auto result = WriteEvent(req); in EnableSensor()
223 ConfigureSensorRequest req; in DisableSensor() local
225 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in DisableSensor()
[all …]
Dnanomessage.cpp90 Request *req = reinterpret_cast<Request *>(data); in GetBytes() local
91 *req = request; in GetBytes()
/device/linaro/dragonboard/qcom/rmtfs/
Drmtfs.c57 struct rmtfs_open_req req = {}; in rmtfs_open() local
65 ret = qmi_decode_message(&req, &txn, pkt, QMI_REQUEST, in rmtfs_open()
72 rmtfd = storage_open(pkt->node, req.path); in rmtfs_open()
84 req.path, caller_id, resp.result.result, resp.result.error); in rmtfs_open()
105 struct rmtfs_close_req req = {}; in rmtfs_close() local
112 ret = qmi_decode_message(&req, &txn, pkt, QMI_REQUEST, in rmtfs_close()
119 rmtfd = storage_get(pkt->node, req.caller_id); in rmtfs_close()
130 req.caller_id, resp.result.result, resp.result.error); in rmtfs_close()
152 struct rmtfs_iovec_req req = {}; in rmtfs_iovec() local
170 ret = qmi_decode_message(&req, &txn, pkt, QMI_REQUEST, in rmtfs_iovec()
[all …]
/device/google/cuttlefish/guest/hals/keymaster/remote/
Dremote_keymaster.cpp31 void RemoteKeymaster::ForwardCommand(AndroidKeymasterCommand command, const Serializable& req, in ForwardCommand() argument
33 if (!channel_->SendRequest(command, req)) { in ForwardCommand()
55 ConfigureRequest req; in Initialize() local
56 req.os_version = GetOsVersion(); in Initialize()
57 req.os_patchlevel = GetOsPatchlevel(); in Initialize()
60 Configure(req, &rsp); in Initialize()
Dremote_keymaster.h31 AndroidKeymasterCommand command, const Serializable& req, KeymasterResponse* rsp);
/device/google/contexthub/contexthubhal/
DNanohubHidlAdapter.cpp367 struct apps_disable_request_t req; in unloadNanoApp() local
370 msg.message_len = sizeof(req); in unloadNanoApp()
371 msg.message = &req; in unloadNanoApp()
372 req.app_name.id = appId; in unloadNanoApp()
446 struct apps_enable_request_t req; in enableNanoApp() local
449 msg.message_len = sizeof(req); in enableNanoApp()
450 req.app_name.id = appId; in enableNanoApp()
451 msg.message = &req; in enableNanoApp()
477 struct apps_disable_request_t req; in disableNanoApp() local
480 msg.message_len = sizeof(req); in disableNanoApp()
[all …]
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/certs/
Dcreate_certs.sh10 openssl req \
14 openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt
/device/google/cuttlefish/host/frontend/gcastv2/https/certs/
Dcreate_certs.sh10 openssl req \
14 openssl x509 -req -sha256 -days 365 -in server.csr -signkey server.key -out server.crt
/device/linaro/dragonboard/qcom/pd-mapper/
Dpd-mapper.c59 struct servreg_loc_get_domain_list_req req = {}; in handle_get_domain_list() local
67 ret = qmi_decode_message(&req, &txn, pkt, QMI_REQUEST, in handle_get_domain_list()
76 req.name[sizeof(req.name)-1] = '\0'; in handle_get_domain_list()
83 if (!strcmp(pd_map->service, req.name)) { in handle_get_domain_list()
/device/google/coral-sepolicy/vendor/google/
Dproperty_contexts68 ro.vendor.camera.req.fmq.size u:object_r:camera_ro_prop:s0
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dmsm_mdp.h325 struct mdp_blit_req req[]; member
1053 struct mdp_blit_req req[]; member
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dmsm_mdp.h377 struct mdp_blit_req req[]; member
1328 struct mdp_blit_req req[]; member
/device/google/bonito/sdm710/kernel-headers/linux/
Dmsm_mdp.h325 struct mdp_blit_req req[]; member
1053 struct mdp_blit_req req[]; member
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dmsm_mdp.h326 struct mdp_blit_req req[]; member
1054 struct mdp_blit_req req[]; member

12