Searched refs:pfdMode (Results 1 – 3 of 3) sorted by relevance
57 public static FileDescriptor native_open$ravenwood(File file, int pfdMode) throws IOException { in native_open$ravenwood() argument58 if ((pfdMode & MODE_CREATE) != 0 && !file.exists()) { in native_open$ravenwood()63 if ((pfdMode & MODE_READ_WRITE) == MODE_READ_WRITE) { in native_open$ravenwood()65 } else if ((pfdMode & MODE_WRITE_ONLY) == MODE_WRITE_ONLY) { in native_open$ravenwood()67 } else if ((pfdMode & MODE_READ_ONLY) == MODE_READ_ONLY) { in native_open$ravenwood()76 if ((pfdMode & MODE_TRUNCATE) != 0) { in native_open$ravenwood()79 if ((pfdMode & MODE_APPEND) != 0) { in native_open$ravenwood()82 if ((pfdMode & MODE_WORLD_READABLE) != 0) { in native_open$ravenwood()85 if ((pfdMode & MODE_WORLD_WRITEABLE) != 0) { in native_open$ravenwood()
511 final int pfdMode = ParcelFileDescriptor.parseMode(mode); in openDocument() local513 return ParcelFileDescriptor.open(file, pfdMode); in openDocument()514 } else if (pfdMode == ParcelFileDescriptor.MODE_READ_ONLY) { in openDocument()520 file, pfdMode, mHandler, (IOException e) -> { in openDocument()
1282 private static native FileDescriptor native_open$ravenwood(File file, int pfdMode) in native_open$ravenwood() argument