Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dfd_utils.cpp128 class FileDescriptorInfo { class
132 static FileDescriptorInfo* CreateFromFd(int fd, std::string* error_msg);
150 FileDescriptorInfo(int fd);
152 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags,
166 DISALLOW_COPY_AND_ASSIGN(FileDescriptorInfo);
170 FileDescriptorInfo* FileDescriptorInfo::CreateFromFd(int fd, std::string* error_msg) { in CreateFromFd()
195 return new FileDescriptorInfo(fd); in CreateFromFd()
269 return new FileDescriptorInfo(f_stat, file_path, fd, open_flags, fd_flags, fs_flags, offset); in CreateFromFd()
272 bool FileDescriptorInfo::Restat() const { in Restat()
282 bool FileDescriptorInfo::ReopenOrDetach(std::string* error_msg) const { in ReopenOrDetach()
[all …]
Dfd_utils.h31 class FileDescriptorInfo; variable
89 FileDescriptorTable(const std::unordered_map<int, FileDescriptorInfo*>& map);
96 std::unordered_map<int, FileDescriptorInfo*> open_fd_map_;