Home
last modified time | relevance | path

Searched refs:transaction_state (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel.cpp90 TransactionState* transaction_state, int opcode, in SendRequest() argument
94 InitRequest(&transaction_state->request, opcode, send_len, max_recv_len, in SendRequest()
100 return SendData(socket_fd, transaction_state->request, send_vector, in SendRequest()
105 TransactionState* transaction_state, in ReceiveResponse() argument
108 auto status = ReceiveData(socket_fd, &transaction_state->response); in ReceiveResponse()
112 if (transaction_state->response.recv_len > 0) { in ReceiveResponse()
115 if (transaction_state->response.recv_len != max_recv_len) { in ReceiveResponse()
120 size_remaining = transaction_state->response.recv_len; in ReceiveResponse()
178 Status<int> ClientChannel::SendAndReceive(void* transaction_state, int opcode, in SendAndReceive() argument
191 auto* state = static_cast<TransactionState*>(transaction_state); in SendAndReceive()
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/
Dmock_client_channel.h23 Status<int>(void* transaction_state, int opcode,
27 Status<LocalHandle>(void* transaction_state, int opcode,
32 Status<LocalChannelHandle>(void* transaction_state, int opcode,
37 MOCK_METHOD2(PushFileHandle, FileReference(void* transaction_state,
39 MOCK_METHOD2(PushFileHandle, FileReference(void* transaction_state,
42 ChannelReference(void* transaction_state,
45 ChannelReference(void* transaction_state,
48 bool(void* transaction_state, FileReference ref,
51 bool(void* transaction_state, ChannelReference ref,
Dclient_channel.h43 virtual Status<int> SendWithInt(void* transaction_state, int opcode,
48 void* transaction_state, int opcode, const iovec* send_vector,
51 void* transaction_state, int opcode, const iovec* send_vector,
54 virtual FileReference PushFileHandle(void* transaction_state,
56 virtual FileReference PushFileHandle(void* transaction_state,
59 void* transaction_state, const LocalChannelHandle& handle) = 0;
61 void* transaction_state, const BorrowedChannelHandle& handle) = 0;
62 virtual bool GetFileHandle(void* transaction_state, FileReference ref,
64 virtual bool GetChannelHandle(void* transaction_state, ChannelReference ref,
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dclient_channel.h53 Status<int> SendWithInt(void* transaction_state, int opcode,
57 Status<LocalHandle> SendWithFileHandle(void* transaction_state, int opcode,
63 void* transaction_state, int opcode, const iovec* send_vector,
67 FileReference PushFileHandle(void* transaction_state,
69 FileReference PushFileHandle(void* transaction_state,
71 ChannelReference PushChannelHandle(void* transaction_state,
74 void* transaction_state, const BorrowedChannelHandle& handle) override;
75 bool GetFileHandle(void* transaction_state, FileReference ref,
77 bool GetChannelHandle(void* transaction_state, ChannelReference ref,
85 Status<int> SendAndReceive(void* transaction_state, int opcode,