Home
last modified time | relevance | path

Searched refs:FileDescriptorInfo (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/
Dfd_utils.cpp178 class FileDescriptorInfo { class
181 static std::unique_ptr<FileDescriptorInfo> CreateFromFd(int fd, fail_fn_t fail_fn);
200 explicit FileDescriptorInfo(int fd);
203 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags,
217 DISALLOW_COPY_AND_ASSIGN(FileDescriptorInfo);
220 std::unique_ptr<FileDescriptorInfo> FileDescriptorInfo::CreateFromFd(int fd, fail_fn_t fail_fn) { in CreateFromFd()
241 return std::unique_ptr<FileDescriptorInfo>(new FileDescriptorInfo(fd)); in CreateFromFd()
322 return std::unique_ptr<FileDescriptorInfo>( in CreateFromFd()
323 new FileDescriptorInfo(f_stat, file_path, fd, open_flags, fd_flags, fs_flags, offset)); in CreateFromFd()
326 bool FileDescriptorInfo::RefersToSameFile() const { in RefersToSameFile()
[all …]
Dfd_utils.h32 class FileDescriptorInfo; variable
102 explicit FileDescriptorTable(std::unordered_map<int, std::unique_ptr<FileDescriptorInfo>> map);
107 std::unordered_map<int, std::unique_ptr<FileDescriptorInfo>> open_fd_map_;