Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dfd_utils.cpp170 class FileDescriptorInfo { class
173 static FileDescriptorInfo* CreateFromFd(int fd, fail_fn_t fail_fn);
191 explicit FileDescriptorInfo(int fd);
193 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags,
207 DISALLOW_COPY_AND_ASSIGN(FileDescriptorInfo);
211 FileDescriptorInfo* FileDescriptorInfo::CreateFromFd(int fd, fail_fn_t fail_fn) { in CreateFromFd()
233 return new FileDescriptorInfo(fd); in CreateFromFd()
314 return new FileDescriptorInfo(f_stat, file_path, fd, open_flags, fd_flags, fs_flags, offset); in CreateFromFd()
317 bool FileDescriptorInfo::RefersToSameFile() const { in RefersToSameFile()
327 void FileDescriptorInfo::ReopenOrDetach(fail_fn_t fail_fn) const { in ReopenOrDetach()
[all …]
Dfd_utils.h31 class FileDescriptorInfo; variable
92 explicit FileDescriptorTable(const std::unordered_map<int, FileDescriptorInfo*>& map);
99 std::unordered_map<int, FileDescriptorInfo*> open_fd_map_;