Home
last modified time | relevance | path

Searched refs:openForNativeRead (Results 1 – 15 of 15) sorted by relevance

/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/backends/
DAndroidFileBackend.java172 public Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() method in AndroidFileBackend
175 return remoteBackend.openForNativeRead(uri); in openForNativeRead()
177 return super.openForNativeRead(uri); in openForNativeRead()
DContentResolverBackend.java100 public Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() method in ContentResolverBackend
DAssetFileBackend.java70 public Pair<Uri, Closeable> openForNativeRead(Uri uri) throws UnsupportedFileStorageOperation { in openForNativeRead() method in AssetFileBackend
DBlobStoreBackend.java94 public Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() method in BlobStoreBackend
DJavaFileBackend.java65 public Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() method in JavaFileBackend
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/spi/
DForwardingBackend.java71 public Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() method in ForwardingBackend
72 return delegate().openForNativeRead(rewriteUri(uri)); in openForNativeRead()
DBackend.java61 default Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() method
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
DFileStorageTestBase.java133 when(fileBackend.openForNativeRead(any())) in initMocksAndCreateFileStorage()
135 when(cnsBackend.openForNativeRead(any())) in initMocksAndCreateFileStorage()
DFakeFileBackend.java163 public Pair<Uri, Closeable> openForNativeRead(Uri uri) throws IOException { in openForNativeRead() method in FakeFileBackend
165 return delegate.openForNativeRead(uri); in openForNativeRead()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/common/testing/
DFakeFileBackendTest.java70 assertThrows(FakeIOException.class, () -> backend.openForNativeRead(uri)); in throwsExceptions_forRead()
74 Pair<Uri, Closeable> nativeOpen = backend.openForNativeRead(uri); in throwsExceptions_forRead()
/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/openers/
DNativeReadOpener.java50 Pair<Uri, Closeable> result = openContext.backend().openForNativeRead(openContext.encodedUri()); in open()
DParcelFileDescriptorOpener.java42 Pair<Uri, Closeable> result = openContext.backend().openForNativeRead(openContext.encodedUri()); in open()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/openers/
DNativeReadOpenerTest.java62 when(fileBackend.openForNativeRead(any())) in initStorage()
/external/mobile-data-download/javatests/com/google/android/libraries/mobiledatadownload/file/backends/
DAndroidFileBackendTest.java237 when(remoteBackend.openForNativeRead(any(Uri.class))) in openForNativeRead_remoteAuthorityShouldUseRemoteBackend()
247 verify(remoteBackend).openForNativeRead(uri); in openForNativeRead_remoteAuthorityShouldUseRemoteBackend()
DBlobStoreBackendTest.java84 Pair<Uri, Closeable> closeableUri = backend.openForNativeRead(uriForRead); in nativeReadAfterWrite_succeeds()