Home
last modified time | relevance | path

Searched refs:payload (Results 1 – 25 of 89) sorted by relevance

1234

/device/google/cuttlefish/guest/hals/ril/reference-libril/
DRilSapSocket.cpp226 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()
249 rsp.payload = (pb_bytes_array_t *)calloc(1, sizeof(pb_bytes_array_t) + response_len); in onRequestComplete()
250 if (!rsp.payload) { in onRequestComplete()
254 memcpy(rsp.payload->bytes, response, response_len); in onRequestComplete()
255 rsp.payload->size = response_len; in onRequestComplete()
257 rsp.payload->size = 0; in onRequestComplete()
264 free(rsp.payload); in onRequestComplete()
279 pb_bytes_array_t *payload = (pb_bytes_array_t *)calloc(1, in onUnsolicitedResponse() local
281 if (!payload) { in onUnsolicitedResponse()
[all …]
/device/generic/goldfish/radio/libril/
DRilSapSocket.cpp226 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()
249 rsp.payload = (pb_bytes_array_t *)calloc(1, sizeof(pb_bytes_array_t) + response_len); in onRequestComplete()
250 if (!rsp.payload) { in onRequestComplete()
254 memcpy(rsp.payload->bytes, response, response_len); in onRequestComplete()
255 rsp.payload->size = response_len; in onRequestComplete()
257 rsp.payload->size = 0; in onRequestComplete()
264 free(rsp.payload); in onRequestComplete()
279 pb_bytes_array_t *payload = (pb_bytes_array_t *)calloc(1, in onUnsolicitedResponse() local
281 if (!payload) { in onUnsolicitedResponse()
[all …]
/device/google/cuttlefish/guest/hals/ril/libril/
DRilSapSocket.cpp226 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()
249 rsp.payload = (pb_bytes_array_t *)calloc(1, sizeof(pb_bytes_array_t) + response_len); in onRequestComplete()
250 if (!rsp.payload) { in onRequestComplete()
254 memcpy(rsp.payload->bytes, response, response_len); in onRequestComplete()
255 rsp.payload->size = response_len; in onRequestComplete()
257 rsp.payload->size = 0; in onRequestComplete()
264 free(rsp.payload); in onRequestComplete()
279 pb_bytes_array_t *payload = (pb_bytes_array_t *)calloc(1, in onUnsolicitedResponse() local
281 if (!payload) { in onUnsolicitedResponse()
[all …]
/device/generic/goldfish/sensors/
Dmultihal_sensors_qemu.cpp98 EventPayload* payload = &event.u; in parseQemuSensorEvent() local
99 ahs10::Vec3* vec3 = &payload->vec3; in parseQemuSensorEvent()
100 ahs10::Uncal* uncal = &payload->uncal; in parseQemuSensorEvent()
167 if (sscanf(values, "%f", &payload->scalar) == 1) { in parseQemuSensorEvent()
169 payload->scalar, 0.001)) { in parseQemuSensorEvent()
174 state->lastAmbientTemperatureValue = payload->scalar; in parseQemuSensorEvent()
179 if (sscanf(values, "%f", &payload->scalar) == 1) { in parseQemuSensorEvent()
181 payload->scalar, 0.001)) { in parseQemuSensorEvent()
186 state->lastProximityValue = payload->scalar; in parseQemuSensorEvent()
191 if (sscanf(values, "%f", &payload->scalar) == 1) { in parseQemuSensorEvent()
[all …]
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/assets/js/
Dlogcat.js58 function createAdbMessage(command, arg0, arg1, payload) { argument
59 let arrayBuffer = new ArrayBuffer(24 + payload.length);
64 setU32LE(array, 12, payload.length);
65 setU32LE(array, 16, computeChecksum(payload));
67 array.set(payload, 24);
89 let payload = new Uint8Array(0);
92 A_OKAY, kLocalChannelId, remoteId, payload);
/device/google/coral-kernel/sm8150/kernel-headers/sound/
Dwcd-dsp-glink.h31 __u8 payload[0]; member
36 __u8 payload[0]; member
40 __u8 payload[0]; member
/device/google/bonito/sdm710/kernel-headers/sound/
Dwcd-dsp-glink.h22 __u8 payload[0]; member
34 __u8 payload[0]; member
44 __u8 payload[0]; member
Dvoice_svc.h32 __u8 payload[0]; member
45 __u8 payload[0]; member
54 __u8 payload[0]; member
/device/google/coral-kernel/sm8150/original-kernel-headers/sound/
Dwcd-dsp-glink.h22 __u8 payload[0]; member
34 __u8 payload[0]; member
44 __u8 payload[0]; member
/device/google/crosshatch/sdm845/original-kernel-headers/sound/
Dwcd-dsp-glink.h22 __u8 payload[0]; member
34 __u8 payload[0]; member
44 __u8 payload[0]; member
Dvoice_svc.h19 __u8 payload[0]; member
34 __u8 payload[0]; member
44 __u8 payload[0]; member
Dlsm_params.h107 __u8 payload[0]; member
115 __u8 payload[0]; member
/device/google/crosshatch/sdm845/kernel-headers/sound/
Dwcd-dsp-glink.h31 __u8 payload[0]; member
36 __u8 payload[0]; member
40 __u8 payload[0]; member
Dvoice_svc.h32 __u8 payload[0]; member
45 __u8 payload[0]; member
54 __u8 payload[0]; member
/device/google/bonito/sdm710/original-kernel-headers/sound/
Dwcd-dsp-glink.h22 __u8 payload[0]; member
34 __u8 payload[0]; member
44 __u8 payload[0]; member
Dvoice_svc.h19 __u8 payload[0]; member
34 __u8 payload[0]; member
44 __u8 payload[0]; member
/device/google/bonito/usb/
DUsb.cpp510 static void uevent_event(uint32_t /*epevents*/, struct data *payload) { in uevent_event() argument
515 n = uevent_kernel_multicast_recv(payload->uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event()
527 pthread_mutex_lock(&payload->usb->mPartnerLock); in uevent_event()
528 payload->usb->mPartnerUp = true; in uevent_event()
529 pthread_cond_signal(&payload->usb->mPartnerCV); in uevent_event()
530 pthread_mutex_unlock(&payload->usb->mPartnerLock); in uevent_event()
534 pthread_mutex_lock(&payload->usb->mLock); in uevent_event()
535 if (payload->usb->mCallback_1_0 != NULL) { in uevent_event()
536 sp<IUsbCallback> callback_V1_1 = IUsbCallback::castFrom(payload->usb->mCallback_1_0); in uevent_event()
557 ret = payload->usb->mCallback_1_0->notifyPortStatusChange( in uevent_event()
[all …]
/device/google/wahoo/usb/
DUsb.cpp536 static void uevent_event(uint32_t /*epevents*/, struct data *payload) { in uevent_event() argument
541 n = uevent_kernel_multicast_recv(payload->uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event()
554 pthread_mutex_lock(&payload->usb->mPartnerLock); in uevent_event()
555 payload->usb->mPartnerUp = true; in uevent_event()
556 pthread_cond_signal(&payload->usb->mPartnerCV); in uevent_event()
557 pthread_mutex_unlock(&payload->usb->mPartnerLock); in uevent_event()
561 pthread_mutex_lock(&payload->usb->mLock); in uevent_event()
562 if (payload->usb->mCallback_1_0 != NULL) { in uevent_event()
563 sp<IUsbCallback> callback_V1_1 = IUsbCallback::castFrom(payload->usb->mCallback_1_0); in uevent_event()
584 ret = payload->usb->mCallback_1_0->notifyPortStatusChange( in uevent_event()
[all …]
/device/google/crosshatch/usb/
DUsb.cpp514 static void uevent_event(uint32_t /*epevents*/, struct data *payload) { in uevent_event() argument
519 n = uevent_kernel_multicast_recv(payload->uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event()
531 pthread_mutex_lock(&payload->usb->mPartnerLock); in uevent_event()
532 payload->usb->mPartnerUp = true; in uevent_event()
533 pthread_cond_signal(&payload->usb->mPartnerCV); in uevent_event()
534 pthread_mutex_unlock(&payload->usb->mPartnerLock); in uevent_event()
538 pthread_mutex_lock(&payload->usb->mLock); in uevent_event()
539 if (payload->usb->mCallback_1_0 != NULL) { in uevent_event()
540 sp<IUsbCallback> callback_V1_1 = IUsbCallback::castFrom(payload->usb->mCallback_1_0); in uevent_event()
561 ret = payload->usb->mCallback_1_0->notifyPortStatusChange( in uevent_event()
[all …]
/device/google/coral/usb/
DUsb.cpp609 static void uevent_event(uint32_t /*epevents*/, struct data *payload) { in uevent_event() argument
614 n = uevent_kernel_multicast_recv(payload->uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event()
627 pthread_mutex_lock(&payload->usb->mPartnerLock); in uevent_event()
628 payload->usb->mPartnerUp = true; in uevent_event()
629 pthread_cond_signal(&payload->usb->mPartnerCV); in uevent_event()
630 pthread_mutex_unlock(&payload->usb->mPartnerLock); in uevent_event()
635 queryVersionHelper(payload->usb, &currentPortStatus_1_2); in uevent_event()
638 if (!pthread_mutex_trylock(&payload->usb->mRoleSwitchLock)) { in uevent_event()
653 pthread_mutex_unlock(&payload->usb->mRoleSwitchLock); in uevent_event()
667 struct data payload; in work() local
[all …]
/device/google/cuttlefish/common/libs/security/
Dgatekeeper_channel.cpp65 message.Serialize(to_send->payload, to_send->payload + payload_size); in SendMessage()
88 auto message_bytes = reinterpret_cast<char*>(message->payload); in ReceiveMessage()
Dkeymaster_channel.cpp63 message.Serialize(to_send->payload, to_send->payload + payload_size); in SendMessage()
86 auto message_bytes = reinterpret_cast<char*>(message->payload); in ReceiveMessage()
/device/google/cuttlefish/host/commands/secure_env/
Dgatekeeper_responder.cpp32 const uint8_t* buffer = request->payload; in ProcessMessage()
33 const uint8_t* buffer_end = request->payload + request->payload_size; in ProcessMessage()
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/
DReadme.md26 * {"message_type": "forward", "client_id": <Integer>, "payload": <Any>}
33 * {"message_type": "client_msg", "client_id": <Integer>, "payload": <Any>}
42 * {"message_type": "forward", "payload": <Any>}
51 * {"message_type": "device_msg", "payload": <Any>}
/device/generic/goldfish/wifi/wifi_hal/
Dnetlinkmessage.h48 T* payload() { in payload() function
52 const T* payload() const { in payload() function

1234