Searched refs:FileDescriptorInfo (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | fd_utils.cpp | 166 class FileDescriptorInfo { class 169 static FileDescriptorInfo* CreateFromFd(int fd, fail_fn_t fail_fn); 188 explicit FileDescriptorInfo(int fd); 191 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags, 205 DISALLOW_COPY_AND_ASSIGN(FileDescriptorInfo); 208 FileDescriptorInfo* FileDescriptorInfo::CreateFromFd(int fd, fail_fn_t fail_fn) { in CreateFromFd() 229 return new FileDescriptorInfo(fd); in CreateFromFd() 310 return new FileDescriptorInfo(f_stat, file_path, fd, open_flags, fd_flags, fs_flags, offset); in CreateFromFd() 313 bool FileDescriptorInfo::RefersToSameFile() const { in RefersToSameFile() 323 void FileDescriptorInfo::ReopenOrDetach(fail_fn_t fail_fn) const { in ReopenOrDetach() [all …]
|
D | fd_utils.h | 31 class FileDescriptorInfo; variable 101 explicit FileDescriptorTable(const std::unordered_map<int, FileDescriptorInfo*>& map); 106 std::unordered_map<int, FileDescriptorInfo*> open_fd_map_;
|