Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dfd_utils.cpp153 class FileDescriptorInfo { class
156 static FileDescriptorInfo* CreateFromFd(int fd, fail_fn_t fail_fn);
174 explicit FileDescriptorInfo(int fd);
176 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags,
190 DISALLOW_COPY_AND_ASSIGN(FileDescriptorInfo);
194 FileDescriptorInfo* FileDescriptorInfo::CreateFromFd(int fd, fail_fn_t fail_fn) { in CreateFromFd()
216 return new FileDescriptorInfo(fd); in CreateFromFd()
297 return new FileDescriptorInfo(f_stat, file_path, fd, open_flags, fd_flags, fs_flags, offset); in CreateFromFd()
300 bool FileDescriptorInfo::RefersToSameFile() const { in RefersToSameFile()
310 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_;