Home
last modified time | relevance | path

Searched refs:payload_size (Results 1 – 25 of 27) sorted by relevance

12

/device/google/cuttlefish/common/libs/security/
Dgatekeeper_channel.cpp29 uint32_t command, bool is_response, size_t payload_size) { in CreateGatekeeperMessage() argument
30 auto memory = std::malloc(payload_size + sizeof(GatekeeperRawMessage)); in CreateGatekeeperMessage()
34 message->payload_size = payload_size; in CreateGatekeeperMessage()
40 keymaster::Eraser(ptr, sizeof(GatekeeperRawMessage) + ptr->payload_size); in operator ()()
63 auto payload_size = message.GetSerializedSize(); in SendMessage() local
64 auto to_send = CreateGatekeeperMessage(command, is_response, payload_size); in SendMessage()
65 message.Serialize(to_send->payload, to_send->payload + payload_size); in SendMessage()
66 auto write_size = payload_size + sizeof(GatekeeperRawMessage); in SendMessage()
87 message_header.payload_size); in ReceiveMessage()
89 read = ReadExact(channel_, message_bytes, message->payload_size); in ReceiveMessage()
[all …]
Dkeymaster_channel.cpp27 AndroidKeymasterCommand command, bool is_response, size_t payload_size) { in CreateKeymasterMessage() argument
28 auto memory = new uint8_t[payload_size + sizeof(keymaster_message)]; in CreateKeymasterMessage()
32 message->payload_size = payload_size; in CreateKeymasterMessage()
38 keymaster::Eraser(ptr, sizeof(keymaster_message) + ptr->payload_size); in operator ()()
61 auto payload_size = message.SerializedSize(); in SendMessage() local
62 auto to_send = CreateKeymasterMessage(command, is_response, payload_size); in SendMessage()
63 message.Serialize(to_send->payload, to_send->payload + payload_size); in SendMessage()
64 auto write_size = payload_size + sizeof(keymaster_message); in SendMessage()
85 message_header.payload_size); in ReceiveMessage()
87 read = ReadExact(channel_, message_bytes, message->payload_size); in ReceiveMessage()
[all …]
Dgatekeeper_channel.h37 uint32_t payload_size; member
65 uint32_t command, bool is_response, size_t payload_size);
Dkeymaster_channel.h36 uint32_t payload_size; member
65 AndroidKeymasterCommand command, bool is_response, size_t payload_size);
/device/google/cuttlefish/guest/hals/camera/
DQemuClient.cpp276 size_t payload_size; in receiveMessage() local
288 payload_size = strtol(payload_size_str, NULL, 16); in receiveMessage()
295 *data = malloc(payload_size); in receiveMessage()
298 payload_size); in receiveMessage()
301 rd_res = qemud_fd_read(mPipeFD, *data, payload_size); in receiveMessage()
302 if (static_cast<size_t>(rd_res) == payload_size) { in receiveMessage()
303 *data_size = payload_size; in receiveMessage()
307 __FUNCTION__, rd_res, payload_size, strerror(errno)); in receiveMessage()
/device/google/bonito/sdm710/original-kernel-headers/sound/
Dvoice_svc.h33 __u32 payload_size; member
43 __u32 payload_size; member
Dlsm_params.h106 __u16 payload_size; member
114 __u16 payload_size; member
Dwcd-dsp-glink.h33 __u32 payload_size; member
/device/google/crosshatch/sdm845/kernel-headers/sound/
Dvoice_svc.h44 __u32 payload_size; member
53 __u32 payload_size; member
Dlsm_params.h86 __u16 payload_size; member
93 __u16 payload_size; member
Dwcd-dsp-glink.h35 __u32 payload_size; member
/device/google/bonito/sdm710/kernel-headers/sound/
Dvoice_svc.h44 __u32 payload_size; member
53 __u32 payload_size; member
Dlsm_params.h106 __u16 payload_size; member
114 __u16 payload_size; member
Dwcd-dsp-glink.h33 __u32 payload_size; member
/device/google/crosshatch/sdm845/original-kernel-headers/sound/
Dvoice_svc.h33 __u32 payload_size; member
43 __u32 payload_size; member
Dlsm_params.h106 __u16 payload_size; member
114 __u16 payload_size; member
Dwcd-dsp-glink.h33 __u32 payload_size; member
/device/generic/goldfish/camera/
DQemuClient.cpp286 size_t payload_size; in receiveMessage() local
297 payload_size = strtol(payload_size_str, NULL, 16); in receiveMessage()
304 *data = malloc(payload_size); in receiveMessage()
307 __FUNCTION__, payload_size); in receiveMessage()
310 if (qemu_pipe_read_fully(mPipeFD, *data, payload_size)) { in receiveMessage()
312 __FUNCTION__, payload_size, strerror(errno)); in receiveMessage()
317 *data_size = payload_size; in receiveMessage()
/device/google/coral-kernel/sm8150/original-kernel-headers/sound/
Dlsm_params.h165 __u16 payload_size; member
173 __u16 payload_size; member
Dwcd-dsp-glink.h33 __u32 payload_size; member
/device/google/coral-kernel/sm8150/kernel-headers/sound/
Dlsm_params.h114 __u16 payload_size; member
121 __u16 payload_size; member
Dwcd-dsp-glink.h35 __u32 payload_size; member
/device/google/cuttlefish/host/commands/secure_env/
Dgatekeeper_responder.cpp33 const uint8_t* buffer_end = request->payload + request->payload_size; in ProcessMessage()
Dkeymaster_responder.cpp33 const uint8_t* end = request->payload + request->payload_size; in ProcessMessage()
/device/google/cuttlefish/guest/hals/gatekeeper/remote/
Dremote_gatekeeper.cpp160 const uint8_t* buffer_end = remote_response->payload + remote_response->payload_size; in Send()

12