Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/rust/tests/
Dserialization.cpp354 vector<ParcelFileDescriptor> file_descriptors; in TEST_F() local
355 file_descriptors.push_back(ParcelFileDescriptor(std::move(out_file))); in TEST_F()
356 file_descriptors.push_back(ParcelFileDescriptor(std::move(in_file))); in TEST_F()
361 data.writeParcelable(file_descriptors[0]); in TEST_F()
362 data.writeParcelable(file_descriptors[1]); in TEST_F()
363 data.writeParcelableVector(file_descriptors); in TEST_F()
379 base::WriteStringToFd("Descriptors", file_descriptors[1].get()); in TEST_F()
383 base::ReadFully(file_descriptors[0].release(), buf.data(), buf.size()); in TEST_F()
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dipc_helper.h138 std::vector<FileHandleType> file_descriptors; variable
145 file_descriptors, channels, impulse_payload,
154 std::vector<FileHandleType> file_descriptors; variable
158 PDX_SERIALIZABLE_MEMBERS(ResponseHeader, ret_code, recv_len, file_descriptors,
/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel.cpp23 } else if (static_cast<size_t>(index) < response.file_descriptors.size()) { in GetLocalFileHandle()
24 *handle = std::move(response.file_descriptors[index]); in GetLocalFileHandle()
49 request.file_descriptors.push_back(std::move(handle)); in PushFileHandle()
50 return request.file_descriptors.size() - 1; in PushFileHandle()
Dservice_endpoint.cpp38 } else if (static_cast<size_t>(index) < request.file_descriptors.size()) { in GetLocalFileHandle()
39 *handle = std::move(request.file_descriptors[index]); in GetLocalFileHandle()
64 response.file_descriptors.push_back(std::move(handle)); in PushFileHandle()
65 return response.file_descriptors.size() - 1; in PushFileHandle()
529 info.fd_count = request.file_descriptors.size(); in ReceiveMessageForChannel()
628 state->response.file_descriptors.clear(); in MessageReply()