Home
last modified time | relevance | path

Searched refs:Borrow (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dchannel_event_set.h20 BorrowedHandle pollin_event_fd() const { return pollin_event_fd_.Borrow(); } in pollin_event_fd()
21 BorrowedHandle pollhup_event_fd() const { return pollhup_event_fd_.Borrow(); } in pollhup_event_fd()
51 BorrowedHandle event_fd() const { return epoll_fd_.Borrow(); } in event_fd()
53 BorrowedHandle pollin_event_fd() const { return pollin_event_fd_.Borrow(); } in pollin_event_fd()
54 BorrowedHandle pollhup_event_fd() const { return pollhup_event_fd_.Borrow(); } in pollhup_event_fd()
55 BorrowedHandle data_fd() const { return data_fd_.Borrow(); } in data_fd()
/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel_factory.cpp127 status = ReceiveData(socket_.Borrow(), &connection_info); in Connect()
143 status = SendData(socket_.Borrow(), request); in Connect()
148 status = ReceiveData(socket_.Borrow(), &response); in Connect()
Dservice_endpoint.cpp237 BorrowedHandle channel_handle = local_socket.Borrow(); in AcceptConnection()
245 status = SendData(connection_fd.Borrow(), connection_info); in AcceptConnection()
449 remote_socket.Borrow(), channel_data->event_set.pollin_event_fd(), in PushChannel()
476 handle = channel_data->second.data_fd.Borrow(); in GetChannelSocketFd()
501 auto status = ReceiveData(channel_fd.Borrow(), &request); in ReceiveMessageForChannel()
600 auto reenable_status = ReenableEpollEvent(socket_fd_.Borrow()); in MessageReceive()
671 auto ref = state->PushChannelHandle(handle.Borrow()); in MessageReplyChannelHandle()
706 return state->PushFileHandle(handle.Borrow()); in PushFileHandle()
723 return state->PushChannelHandle(handle.Borrow()); in PushChannelHandle()
Dclient_channel.cpp262 return state->PushFileHandle(handle.Borrow()); in PushFileHandle()
274 return state->PushChannelHandle(handle.Borrow()); in PushChannelHandle()
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dbuffer_hub_defs.h91 metadata_handle_(metadata_handle.Borrow()), in BufferTraits()
92 acquire_fence_fd_(acquire_fence_fd.Borrow()), in BufferTraits()
93 release_fence_fd_(release_fence_fd.Borrow()) {} in BufferTraits()
Dbufferhub_rpc.h110 acquire_fence_fd_(acquire_fence_fd.Borrow()), in BufferDescription()
111 release_fence_fd_(release_fence_fd.Borrow()) {} in BufferDescription()
174 return FenceHandle<pdx::BorrowedHandle>(fence_.Borrow()); in borrow()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dfile_handle.h100 FileHandle<FileHandleMode::Borrowed> Borrow() const { in Borrow() function
Dchannel_handle.h96 ChannelHandle<ChannelHandleMode::Borrowed> Borrow() const { in Borrow() function
/frameworks/base/core/tests/PackageInstallerSessions/
DAndroid.bp49 // Borrow an arbitrary test app from another module
/frameworks/native/libs/vr/libbufferhub/
Dconsumer_buffer.cpp179 BorrowedFence(release_fence.Borrow()))); in Release()
Dproducer_buffer.cpp139 BorrowedFence(ready_fence.Borrow()))); in Post()
/frameworks/native/services/vr/bufferhubd/
Dproducer_channel.cpp235 acquire_fence_fd_.Borrow(), in GetBuffer()
236 release_fence_fd_.Borrow()}; in GetBuffer()
/frameworks/native/libs/binder/rust/src/
Dbinder.rs24 use std::borrow::Borrow;
400 impl<I: FromIBinder + ?Sized> Borrow<I> for Strong<I> {