Home
last modified time | relevance | path

Searched refs:FileHandleMode (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/vr/libpdx/private/pdx/
Dfile_handle.h12 enum class FileHandleMode { enum
19 template <FileHandleMode Mode>
54 if (Mode == FileHandleMode::Local) in AsDuplicate()
81 if (IsValid() && Mode == FileHandleMode::Local) in Close()
97 return FileHandle(Mode == FileHandleMode::Local ? dup(fd_) : fd_); in Duplicate()
100 FileHandle<FileHandleMode::Borrowed> Borrow() const { in Borrow()
101 return FileHandle<FileHandleMode::Borrowed>(Get()); in Borrow()
117 using LocalHandle = FileHandle<FileHandleMode::Local>;
124 using RemoteHandle = FileHandle<FileHandleMode::Remote>;
130 using BorrowedHandle = FileHandle<FileHandleMode::Borrowed>;
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dencoding.h503 template <FileHandleMode Mode>
Dserialization.h261 template <FileHandleMode Mode>
332 template <FileHandleMode Mode>
501 template <FileHandleMode Mode>
845 template <FileHandleMode Mode>
906 template <FileHandleMode Mode>