Home
last modified time | relevance | path

Searched refs:PushFileHandle (Results 1 – 20 of 20) 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,
Dmock_client_channel.h36 MOCK_METHOD2(PushFileHandle, FileReference(void* transaction_state,
38 MOCK_METHOD2(PushFileHandle, FileReference(void* transaction_state,
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 {
Dclient_channel.h52 virtual FileReference PushFileHandle(void* transaction_state,
54 virtual FileReference PushFileHandle(void* transaction_state,
Dclient.h256 Status<FileReference> PushFileHandle(const LocalHandle& handle) override;
257 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override;
258 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override;
Dservice.h149 Status<FileReference> PushFileHandle(const LocalHandle& handle) override;
150 Status<FileReference> PushFileHandle(const BorrowedHandle& handle) override;
151 Status<FileReference> PushFileHandle(const RemoteHandle& handle) override;
/frameworks/native/libs/vr/libpdx/
Dclient.cpp226 Status<FileReference> Transaction::PushFileHandle(const LocalHandle& handle) { in PushFileHandle() function in android::pdx::Transaction
228 return client_.GetChannel()->PushFileHandle(state_, handle); in PushFileHandle()
232 Status<FileReference> Transaction::PushFileHandle( in PushFileHandle() function in android::pdx::Transaction
235 return client_.GetChannel()->PushFileHandle(state_, handle); in PushFileHandle()
239 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.cpp567 PushFileHandle(message_.get(), Matcher<const LocalHandle&>( in TEST_F()
571 EXPECT_EQ(12, message_->PushFileHandle(handle).get()); in TEST_F()
572 EXPECT_EQ(EIO, message_->PushFileHandle(handle).error()); in TEST_F()
581 PushFileHandle(message_.get(), Matcher<const BorrowedHandle&>( in TEST_F()
585 EXPECT_EQ(13, message_->PushFileHandle(handle).get()); in TEST_F()
586 EXPECT_EQ(EACCES, message_->PushFileHandle(handle).error()); in TEST_F()
594 PushFileHandle(message_.get(), Matcher<const RemoteHandle&>( in TEST_F()
598 EXPECT_EQ(kFakeFd, message_->PushFileHandle(handle).get()); in TEST_F()
599 EXPECT_EQ(EIO, message_->PushFileHandle(handle).error()); in TEST_F()
/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel.cpp45 FileReference PushFileHandle(BorrowedHandle handle) { in PushFileHandle() function
258 FileReference ClientChannel::PushFileHandle(void* transaction_state, in PushFileHandle() function in android::pdx::uds::ClientChannel
261 return state->PushFileHandle(handle.Borrow()); in PushFileHandle()
264 FileReference ClientChannel::PushFileHandle(void* transaction_state, in PushFileHandle() function in android::pdx::uds::ClientChannel
267 return state->PushFileHandle(handle.Duplicate()); in PushFileHandle()
Dservice_endpoint.cpp61 Status<FileReference> PushFileHandle(BorrowedHandle handle) { in PushFileHandle() function
658 auto ref = state->PushFileHandle(BorrowedHandle{static_cast<int>(push_fd)}); in MessageReplyFd()
699 Status<FileReference> Endpoint::PushFileHandle(Message* message, in PushFileHandle() function in android::pdx::uds::Endpoint
702 return state->PushFileHandle(handle.Borrow()); in PushFileHandle()
705 Status<FileReference> Endpoint::PushFileHandle(Message* message, in PushFileHandle() function in android::pdx::uds::Endpoint
708 return state->PushFileHandle(handle.Duplicate()); in PushFileHandle()
711 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.h64 FileReference PushFileHandle(void* transaction_state,
66 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/private/pdx/rpc/
Dserialization.h909 writer->GetOutputResourceMapper()->PushFileHandle(fd);