Home
last modified time | relevance | path

Searched refs:openFile (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DAppFuseTest.java61 final ParcelFileDescriptor fd = appFuse.openFile( in testOpenFile()
73 appFuse.openFile(INODE, ParcelFileDescriptor.MODE_READ_ONLY); in testOpenFile_fileNotFound()
85 appFuse.openFile(INODE, ParcelFileDescriptor.MODE_READ_WRITE); in testOpenFile_illegalMode()
121 final ParcelFileDescriptor fd = appFuse.openFile( in testReadFile()
157 final ParcelFileDescriptor fd = appFuse.openFile( in testWriteFile()
187 final ParcelFileDescriptor fd = appFuse.openFile( in testWriteFile_writeError()
224 final ParcelFileDescriptor fd = appFuse.openFile( in testWriteFile_flushError()
/frameworks/base/core/java/android/content/
DContentProviderClient.java317 public @Nullable ParcelFileDescriptor openFile(@NonNull Uri url, @NonNull String mode) in openFile() method in ContentProviderClient
319 return openFile(url, mode, null); in openFile()
329 public @Nullable ParcelFileDescriptor openFile(@NonNull Uri url, @NonNull String mode, in openFile() method in ContentProviderClient
342 return mContentProvider.openFile(mPackageName, url, mode, remoteSignal, null); in openFile()
DContentProvider.java363 public ParcelFileDescriptor openFile( in openFile() method in ContentProvider.Transport
371 return ContentProvider.this.openFile( in openFile()
1249 public @Nullable ParcelFileDescriptor openFile(@NonNull Uri uri, @NonNull String mode) in openFile() method in ContentProvider
1319 public @Nullable ParcelFileDescriptor openFile(@NonNull Uri uri, @NonNull String mode, in openFile() method in ContentProvider
1321 return openFile(uri, mode); in openFile()
1377 ParcelFileDescriptor fd = openFile(uri, mode); in openAssetFile()
DIContentProvider.java50 public ParcelFileDescriptor openFile( in openFile() method
DContentProviderNative.java240 fd = openFile(callingPkg, url, mode, signal, callerToken); in onTransact()
578 public ParcelFileDescriptor openFile( in openFile() method in ContentProviderProxy
/frameworks/base/test-runner/src/android/test/mock/
DMockContentProvider.java93 public ParcelFileDescriptor openFile( in openFile() method in MockContentProvider.InversionIContentProvider
96 return MockContentProvider.this.openFile(url, mode); in openFile()
DMockIContentProvider.java64 public ParcelFileDescriptor openFile( in openFile() method in MockIContentProvider
/frameworks/base/services/core/java/com/android/server/am/
DDumpHeapProvider.java77 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile() method in DumpHeapProvider
DActivityManagerService.java11508 pfd = cph.provider.openFile(null, uri, "r", null, token); in openContentUri()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContentProvider.java92 public ParcelFileDescriptor openFile( in openFile() method in BridgeContentProvider
/frameworks/base/core/tests/coretests/src/android/content/
DMemoryFileProvider.java132 public ParcelFileDescriptor openFile(Uri url, String mode) throws FileNotFoundException { in openFile() method in MemoryFileProvider
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DDocumentsProviderHelper.java139 ParcelFileDescriptor file = mClient.openFile(documentUri, "w", null); in writeDocument()
146 ParcelFileDescriptor file = mClient.openFile(documentUri, "r", null); in readDocument()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DAppFuse.java97 public ParcelFileDescriptor openFile(int i, int mode) throws FileNotFoundException { in openFile() method in AppFuse
DMtpDocumentsProvider.java257 return mAppFuse.openFile(Integer.parseInt(documentId), modeFlag); in openDocument()
267 return mAppFuse.openFile(Integer.parseInt(documentId), modeFlag); in openDocument()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java473 srcFile = getClient(src).openFile(src.derivedUri, "r", canceller); in copyFileHelper()
482 dstFile = getClient(dest).openFile(dest.derivedUri, "w", canceller); in copyFileHelper()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java880 public final ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile() method in DocumentsProvider
891 public final ParcelFileDescriptor openFile(Uri uri, String mode, CancellationSignal signal) in openFile() method in DocumentsProvider
/frameworks/support/v4/java/android/support/v4/content/
DFileProvider.java518 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile() method in FileProvider
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java521 final ParcelFileDescriptor fd = provider.openFile(null, mUri, "r", null, null); in onExecute()
/frameworks/base/docs/html/guide/topics/text/
Dcopy-paste.jd1041 {@link android.content.ContentProvider#openFile(Uri, String) openFile()}
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java513 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile() method in SettingsProvider
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6900 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String) throws j…
6901 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String, android.…
6932 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String) throws j…
6933 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String, android.…
24828 …method public final android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String) th…
24829 …method public final android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String, an…
/frameworks/base/api/
Dcurrent.txt7794 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String) throws j…
7795 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String, android.…
7827 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String) throws j…
7828 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String, android.…
31901 …method public final android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String) th…
31902 …method public final android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String, an…
Dtest-current.txt7800 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String) throws j…
7801 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String, android.…
7833 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String) throws j…
7834 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String, android.…
31974 …method public final android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String) th…
31975 …method public final android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String, an…
Dsystem-current.txt8108 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String) throws j…
8109 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String, android.…
8141 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String) throws j…
8142 …method public android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String, android.…
34504 …method public final android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String) th…
34505 …method public final android.os.ParcelFileDescriptor openFile(android.net.Uri, java.lang.String, an…