Home
last modified time | relevance | path

Searched refs:O_ACCMODE (Results 1 – 14 of 14) sorted by relevance

/aosp12/bionic/libc/kernel/uapi/linux/
H A Ddma-heap.h23 #define DMA_HEAP_VALID_FD_FLAGS (O_CLOEXEC | O_ACCMODE)
/aosp12/frameworks/base/core/java/android/os/
H A DFileUtils.java28 import static android.system.OsConstants.O_ACCMODE;
1377 if ((mode & O_ACCMODE) == O_RDWR) { in translateModePosixToString()
1379 } else if ((mode & O_ACCMODE) == O_WRONLY) { in translateModePosixToString()
1381 } else if ((mode & O_ACCMODE) == O_RDONLY) { in translateModePosixToString()
1398 if ((mode & O_ACCMODE) == O_RDWR) { in translateModePosixToPfd()
1400 } else if ((mode & O_ACCMODE) == O_WRONLY) { in translateModePosixToPfd()
1402 } else if ((mode & O_ACCMODE) == O_RDONLY) { in translateModePosixToPfd()
/aosp12/bionic/libc/kernel/uapi/asm-generic/
H A Dfcntl.h24 #define O_ACCMODE 00000003 macro
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/util/
H A DFileUtils.java26 import static android.system.OsConstants.O_ACCMODE;
234 if ((mode & O_ACCMODE) == O_RDWR) { in translateModePosixToString()
236 } else if ((mode & O_ACCMODE) == O_WRONLY) { in translateModePosixToString()
238 } else if ((mode & O_ACCMODE) == O_RDONLY) { in translateModePosixToString()
257 if ((mode & O_ACCMODE) == O_RDWR) { in translateModePosixToPfd()
259 } else if ((mode & O_ACCMODE) == O_WRONLY) { in translateModePosixToPfd()
261 } else if ((mode & O_ACCMODE) == O_RDONLY) { in translateModePosixToPfd()
/aosp12/art/libartbase/base/
H A Dos_linux.cc63 bool read_only = ((flags & O_ACCMODE) == O_RDONLY); in OpenFileWithFlags()
/aosp12/bionic/tests/headers/posix/
H A Dfcntl_h.c73 MACRO(O_ACCMODE); in fcntl_h()
/aosp12/system/libbase/
H A Dlogging.cpp109 if ((flags != -1) && ((flags & O_ACCMODE) == O_WRONLY)) return fd; in OpenKmsg()
/aosp12/packages/modules/Virtualization/authfs/src/
H A Dfusefs.rs95 if (flags & libc::O_ACCMODE as u32) == mode as u32 { in check_access_mode()
/aosp12/system/extras/libfec/
H A Dfec_read.cpp321 if ((f->mode & O_ACCMODE) == O_RDONLY && expect_zeros) { in verity_read()
/aosp12/bionic/libc/stdio/
H A Dstdio.cpp279 int tmp = fd_flags & O_ACCMODE; in fdopen()
280 if (tmp != O_RDWR && (tmp != (mode_flags & O_ACCMODE))) { in fdopen()
/aosp12/art/libartbase/base/unix_file/
H A Dfd_file.cc294 read_only_mode_ = ((flags & O_ACCMODE) == O_RDONLY); in Open()
/aosp12/system/update_engine/payload_consumer/
H A Dpartition_writer.cc94 bool read_only = (mode & O_ACCMODE) == O_RDONLY; in OpenFile()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt27888 field public static final int O_ACCMODE;