Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dfd_utils.cpp180 const int open_flags; member in FileDescriptorInfo
191 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags,
307 int open_flags = fs_flags & (kOpenFlags); in CreateFromFd() local
310 return new FileDescriptorInfo(f_stat, file_path, fd, open_flags, fd_flags, fs_flags, offset); in CreateFromFd()
336 const int new_fd = TEMP_FAILURE_RETRY(open(file_path.c_str(), open_flags)); in ReopenOrDetach()
341 open_flags, in ReopenOrDetach()
388 open_flags(0), in FileDescriptorInfo()
396 int fd, int open_flags, int fd_flags, int fs_flags, in FileDescriptorInfo() argument
401 open_flags(open_flags), in FileDescriptorInfo()
/frameworks/native/libs/binder/
DMemoryHeapBase.cpp64 int open_flags = O_RDWR; in MemoryHeapBase() local
66 open_flags |= O_SYNC; in MemoryHeapBase()
68 int fd = open(device, open_flags); in MemoryHeapBase()