Home
last modified time | relevance | path

Searched refs:pfdMode (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/
DParcelFileDescriptor_host.java57 public static FileDescriptor native_open$ravenwood(File file, int pfdMode) throws IOException { in native_open$ravenwood() argument
58 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()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java511 final int pfdMode = ParcelFileDescriptor.parseMode(mode); in openDocument() local
513 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()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java1282 private static native FileDescriptor native_open$ravenwood(File file, int pfdMode) in native_open$ravenwood() argument