Searched refs:O_ACCMODE (Results 1 – 7 of 7) sorted by relevance
30 import static android.system.OsConstants.O_ACCMODE;82 boolean readable = (mode & O_ACCMODE) != O_WRONLY; in newFileChannel()83 boolean writable = (mode & O_ACCMODE) != O_RDONLY; in newFileChannel()
837 public static final int O_ACCMODE; field in OsConstants838 static { O_ACCMODE = 0; }
153 if (getfl >= 0 && (getfl & O_ACCMODE) == O_RDONLY) { in FileDispatcherImpl_force0()
271 if ((flags & O_ACCMODE) != O_RDONLY) { in open()
492 public static final int O_ACCMODE = placeholder(); field in OsConstants
415 initConstant(env, c, "O_ACCMODE", O_ACCMODE); in OsConstants_initConstants()
421 field public static final int O_ACCMODE;