Searched refs:open_flags (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | fd_utils.cpp | 167 const int open_flags; member in FileDescriptorInfo 176 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags, 294 int open_flags = fs_flags & (kOpenFlags); in CreateFromFd() local 297 return new FileDescriptorInfo(f_stat, file_path, fd, open_flags, fd_flags, fs_flags, offset); in CreateFromFd() 318 const int new_fd = TEMP_FAILURE_RETRY(open(file_path.c_str(), open_flags)); in ReopenOrDetach() 323 open_flags, in ReopenOrDetach() 370 open_flags(0), in FileDescriptorInfo() 378 int fd, int open_flags, int fd_flags, int fs_flags, in FileDescriptorInfo() argument 383 open_flags(open_flags), in FileDescriptorInfo()
|
/frameworks/native/libs/binder/ |
D | MemoryHeapBase.cpp | 64 int open_flags = O_RDWR; in MemoryHeapBase() local 66 open_flags |= O_SYNC; in MemoryHeapBase() 68 int fd = open(device, open_flags); in MemoryHeapBase()
|