Home
last modified time | relevance | path

Searched refs:PushFileHandle (Results 1 – 22 of 22) sorted by relevance

/frameworks/native/libs/vr/libpdx/private/pdx/
Dmock_message_writer.h12 MOCK_METHOD1(PushFileHandle,
14 MOCK_METHOD1(PushFileHandle,
16 MOCK_METHOD1(PushFileHandle,
Dmessage_writer.h13 virtual Status<FileReference> PushFileHandle(const LocalHandle& handle) = 0;
14 virtual Status<FileReference> PushFileHandle(
16 virtual Status<FileReference> PushFileHandle(const RemoteHandle& handle) = 0;
Dmock_service_endpoint.h43 MOCK_METHOD2(PushFileHandle,
46 MOCK_METHOD2(PushFileHandle,
49 MOCK_METHOD2(PushFileHandle,
Dservice_endpoint.h112 virtual Status<FileReference> PushFileHandle(Message* message,
114 virtual Status<FileReference> PushFileHandle(
116 virtual Status<FileReference> PushFileHandle(Message* message,
Dutility.h155 Status<FileReference> PushFileHandle(const LocalHandle& handle) override {
159 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override {
163 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override {
283 Status<FileReference> PushFileHandle(const LocalHandle& handle) override {
293 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override {
303 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override {
Dmock_client_channel.h37 MOCK_METHOD2(PushFileHandle, FileReference(void* transaction_state,
39 MOCK_METHOD2(PushFileHandle, FileReference(void* transaction_state,
Dclient_channel.h54 virtual FileReference PushFileHandle(void* transaction_state,
56 virtual FileReference PushFileHandle(void* transaction_state,
Dclient.h257 Status<FileReference> PushFileHandle(const LocalHandle& handle) override;
258 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override;
259 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override;
Dservice.h158 Status<FileReference> PushFileHandle(const LocalHandle& handle) override;
159 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override;
160 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override;
/frameworks/native/libs/vr/libpdx/
Dclient.cpp230 Status<FileReference> Transaction::PushFileHandle(const LocalHandle& handle) { in PushFileHandle() function in android::pdx::Transaction
232 return client_.GetChannel()->PushFileHandle(state_, handle); in PushFileHandle()
236 Status<FileReference> Transaction::PushFileHandle( in PushFileHandle() function in android::pdx::Transaction
239 return client_.GetChannel()->PushFileHandle(state_, handle); in PushFileHandle()
243 Status<FileReference> Transaction::PushFileHandle(const RemoteHandle& handle) { in PushFileHandle() function in android::pdx::Transaction
Dclient_tests.cpp308 PushFileHandle(kTransactionState, A<const LocalHandle&>())) in TEST_F()
324 PushFileHandle(kTransactionState, A<const LocalHandle&>())) in TEST_F()
519 PushFileHandle(kTransactionState, A<const LocalHandle&>())) in TEST_F()
521 EXPECT_EQ(1, transaction_.PushFileHandle(LocalHandle{-1}).get()); in TEST_F()
524 PushFileHandle(kTransactionState, A<const BorrowedHandle&>())) in TEST_F()
526 EXPECT_EQ(2, transaction_.PushFileHandle(BorrowedHandle{-1}).get()); in TEST_F()
528 EXPECT_EQ(3, transaction_.PushFileHandle(RemoteHandle{3}).get()); in TEST_F()
Dservice.cpp154 Status<FileReference> Message::PushFileHandle(const LocalHandle& handle) { in PushFileHandle() function in android::pdx::Message
157 return svc->endpoint()->PushFileHandle(this, handle); in PushFileHandle()
163 Status<FileReference> Message::PushFileHandle(const BorrowedHandle& handle) { in PushFileHandle() function in android::pdx::Message
166 return svc->endpoint()->PushFileHandle(this, handle); in PushFileHandle()
172 Status<FileReference> Message::PushFileHandle(const RemoteHandle& handle) { in PushFileHandle() function in android::pdx::Message
175 return svc->endpoint()->PushFileHandle(this, handle); in PushFileHandle()
Dservice_tests.cpp569 PushFileHandle(message_.get(), Matcher<const LocalHandle&>( in TEST_F()
573 EXPECT_EQ(12, message_->PushFileHandle(handle).get()); in TEST_F()
574 EXPECT_EQ(EIO, message_->PushFileHandle(handle).error()); in TEST_F()
583 PushFileHandle(message_.get(), Matcher<const BorrowedHandle&>( in TEST_F()
587 EXPECT_EQ(13, message_->PushFileHandle(handle).get()); in TEST_F()
588 EXPECT_EQ(EACCES, message_->PushFileHandle(handle).error()); in TEST_F()
596 PushFileHandle(message_.get(), Matcher<const RemoteHandle&>( in TEST_F()
600 EXPECT_EQ(kFakeFd, message_->PushFileHandle(handle).get()); in TEST_F()
601 EXPECT_EQ(EIO, message_->PushFileHandle(handle).error()); in TEST_F()
/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel.cpp46 FileReference PushFileHandle(BorrowedHandle handle) { in PushFileHandle() function
259 FileReference ClientChannel::PushFileHandle(void* transaction_state, in PushFileHandle() function in android::pdx::uds::ClientChannel
262 return state->PushFileHandle(handle.Borrow()); in PushFileHandle()
265 FileReference ClientChannel::PushFileHandle(void* transaction_state, in PushFileHandle() function in android::pdx::uds::ClientChannel
268 return state->PushFileHandle(handle.Duplicate()); in PushFileHandle()
Dservice_endpoint.cpp61 Status<FileReference> PushFileHandle(BorrowedHandle handle) { in PushFileHandle() function
662 auto ref = state->PushFileHandle(BorrowedHandle{static_cast<int>(push_fd)}); in MessageReplyFd()
703 Status<FileReference> Endpoint::PushFileHandle(Message* message, in PushFileHandle() function in android::pdx::uds::Endpoint
706 return state->PushFileHandle(handle.Borrow()); in PushFileHandle()
709 Status<FileReference> Endpoint::PushFileHandle(Message* message, in PushFileHandle() function in android::pdx::uds::Endpoint
712 return state->PushFileHandle(handle.Duplicate()); in PushFileHandle()
715 Status<FileReference> Endpoint::PushFileHandle(Message* /*message*/, in PushFileHandle() function in android::pdx::uds::Endpoint
Dipc_helper.cpp241 Status<FileReference> SendPayload::PushFileHandle(const LocalHandle& handle) { in PushFileHandle() function in android::pdx::uds::SendPayload
251 Status<FileReference> SendPayload::PushFileHandle( in PushFileHandle() function in android::pdx::uds::SendPayload
262 Status<FileReference> SendPayload::PushFileHandle(const RemoteHandle& handle) { in PushFileHandle() function in android::pdx::uds::SendPayload
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dservice_endpoint.h65 Status<FileReference> PushFileHandle(Message* message,
67 Status<FileReference> PushFileHandle(Message* message,
69 Status<FileReference> PushFileHandle(Message* message,
Dclient_channel.h67 FileReference PushFileHandle(void* transaction_state,
69 FileReference PushFileHandle(void* transaction_state,
Dipc_helper.h70 Status<FileReference> PushFileHandle(const LocalHandle& handle) override;
71 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override;
72 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override;
/frameworks/native/libs/vr/libpdx/fuzz/
Dhelpers.h221 Status<FileReference> PushFileHandle(Message* message, in PushFileHandle() function
228 Status<FileReference> PushFileHandle(Message* message, in PushFileHandle() function
235 Status<FileReference> PushFileHandle(Message* message, in PushFileHandle() function
Dmessage_fuzzer.cpp101 message.PushFileHandle(b_handle); in LLVMFuzzerTestOneInput()
102 message.PushFileHandle(r_handle); in LLVMFuzzerTestOneInput()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dserialization.h911 writer->GetOutputResourceMapper()->PushFileHandle(fd);